@weapp-tailwindcss/cli 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -88,7 +88,7 @@ function createDefu(merger) {
|
|
|
88
88
|
}
|
|
89
89
|
const defu = createDefu();
|
|
90
90
|
|
|
91
|
-
const version = "1.0.
|
|
91
|
+
const version = "1.0.7";
|
|
92
92
|
|
|
93
93
|
const debug = createDebug__default("weapp-tw-cli");
|
|
94
94
|
|
|
@@ -657,7 +657,8 @@ async function getTasks(options) {
|
|
|
657
657
|
return function JsTask() {
|
|
658
658
|
const pipes = [];
|
|
659
659
|
if (loadTs && gulpTs) {
|
|
660
|
-
pipes.push(gulpTs())
|
|
660
|
+
pipes.push(gulpTs().on("error", () => {
|
|
661
|
+
}));
|
|
661
662
|
}
|
|
662
663
|
pipes.push(transformJs({
|
|
663
664
|
babelParserOptions: !enableTs && isTs ? {
|
|
@@ -724,7 +725,7 @@ async function getTasks(options) {
|
|
|
724
725
|
if (postcssOptions) {
|
|
725
726
|
pipes.push(postcssrc__default(postcssOptions?.plugins, postcssOptions?.options));
|
|
726
727
|
}
|
|
727
|
-
if (x === "scss") {
|
|
728
|
+
if (x === "scss" && !enableSass) {
|
|
728
729
|
pipes.push(transformWxss({
|
|
729
730
|
postcssOptions: {
|
|
730
731
|
options: {
|
package/dist/index.mjs
CHANGED
|
@@ -71,7 +71,7 @@ function createDefu(merger) {
|
|
|
71
71
|
}
|
|
72
72
|
const defu = createDefu();
|
|
73
73
|
|
|
74
|
-
const version = "1.0.
|
|
74
|
+
const version = "1.0.7";
|
|
75
75
|
|
|
76
76
|
const debug = createDebug("weapp-tw-cli");
|
|
77
77
|
|
|
@@ -640,7 +640,8 @@ async function getTasks(options) {
|
|
|
640
640
|
return function JsTask() {
|
|
641
641
|
const pipes = [];
|
|
642
642
|
if (loadTs && gulpTs) {
|
|
643
|
-
pipes.push(gulpTs())
|
|
643
|
+
pipes.push(gulpTs().on("error", () => {
|
|
644
|
+
}));
|
|
644
645
|
}
|
|
645
646
|
pipes.push(transformJs({
|
|
646
647
|
babelParserOptions: !enableTs && isTs ? {
|
|
@@ -707,7 +708,7 @@ async function getTasks(options) {
|
|
|
707
708
|
if (postcssOptions) {
|
|
708
709
|
pipes.push(postcssrc(postcssOptions?.plugins, postcssOptions?.options));
|
|
709
710
|
}
|
|
710
|
-
if (x === "scss") {
|
|
711
|
+
if (x === "scss" && !enableSass) {
|
|
711
712
|
pipes.push(transformWxss({
|
|
712
713
|
postcssOptions: {
|
|
713
714
|
options: {
|