Skip to content

Commit 8e41f8e

Browse files
committed
fix: stabilize weapp tailwindcss regressions
1 parent 1b59304 commit 8e41f8e

23 files changed

Lines changed: 359 additions & 301 deletions

File tree

demo/taro-vite-react-tailwindcss-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build:swan": "taro build --type swan",
3030
"build:alipay": "taro build --type alipay",
3131
"build:tt": "taro build --type tt",
32-
"build:h5": "taro build --type h5",
32+
"build:h5": "node ../../scripts/taro-build-runner.mjs build --type h5",
3333
"build:rn": "taro build --type rn",
3434
"build:qq": "taro build --type qq",
3535
"build:jd": "taro build --type jd",

demo/taro-vite-react-tailwindcss-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:swan": "taro build --type swan",
2020
"build:alipay": "taro build --type alipay",
2121
"build:tt": "taro build --type tt",
22-
"build:h5": "cross-env BROWSERSLIST_ENV=production taro build --type h5",
22+
"build:h5": "cross-env BROWSERSLIST_ENV=production node ../../scripts/taro-build-runner.mjs build --type h5",
2323
"build:rn": "taro build --type rn",
2424
"build:qq": "taro build --type qq",
2525
"build:jd": "taro build --type jd",

demo/taro-vite-vue3-tailwindcss-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build:swan": "taro build --type swan",
3030
"build:alipay": "taro build --type alipay",
3131
"build:tt": "taro build --type tt",
32-
"build:h5": "taro build --type h5",
32+
"build:h5": "node ../../scripts/taro-build-runner.mjs build --type h5",
3333
"build:rn": "taro build --type rn",
3434
"build:qq": "taro build --type qq",
3535
"build:jd": "taro build --type jd",

demo/taro-vite-vue3-tailwindcss-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:swan": "taro build --type swan",
2020
"build:alipay": "taro build --type alipay",
2121
"build:tt": "taro build --type tt",
22-
"build:h5": "cross-env BROWSERSLIST_ENV=production taro build --type h5",
22+
"build:h5": "cross-env BROWSERSLIST_ENV=production node ../../scripts/taro-build-runner.mjs build --type h5",
2323
"build:rn": "taro build --type rn",
2424
"build:qq": "taro build --type qq",
2525
"build:jd": "taro build --type jd",

demo/taro-webpack-react-tailwindcss-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build:swan": "taro build --type swan",
1616
"build:alipay": "taro build --type alipay",
1717
"build:tt": "taro build --type tt",
18-
"build:h5": "taro build --type h5",
18+
"build:h5": "node ../../scripts/taro-build-runner.mjs build --type h5",
1919
"build:rn": "taro build --type rn",
2020
"build:qq": "taro build --type qq",
2121
"build:jd": "taro build --type jd",

demo/taro-webpack-react-tailwindcss-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:swan": "taro build --type swan",
2020
"build:alipay": "taro build --type alipay",
2121
"build:tt": "taro build --type tt",
22-
"build:h5": "cross-env BROWSERSLIST_ENV=production taro build --type h5",
22+
"build:h5": "cross-env BROWSERSLIST_ENV=production node ../../scripts/taro-build-runner.mjs build --type h5",
2323
"build:rn": "taro build --type rn",
2424
"build:qq": "taro build --type qq",
2525
"build:jd": "taro build --type jd",

demo/taro-webpack-vue3-tailwindcss-v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build:swan": "taro build --type swan",
1616
"build:alipay": "taro build --type alipay",
1717
"build:tt": "taro build --type tt",
18-
"build:h5": "taro build --type h5",
18+
"build:h5": "node ../../scripts/taro-build-runner.mjs build --type h5",
1919
"build:rn": "taro build --type rn",
2020
"build:qq": "taro build --type qq",
2121
"build:jd": "taro build --type jd",

demo/taro-webpack-vue3-tailwindcss-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:swan": "taro build --type swan",
2020
"build:alipay": "taro build --type alipay",
2121
"build:tt": "taro build --type tt",
22-
"build:h5": "cross-env BROWSERSLIST_ENV=production taro build --type h5",
22+
"build:h5": "cross-env BROWSERSLIST_ENV=production node ../../scripts/taro-build-runner.mjs build --type h5",
2323
"build:rn": "taro build --type rn",
2424
"build:qq": "taro build --type qq",
2525
"build:jd": "taro build --type jd",

e2e/__snapshots__/apps-generator-mode/compare/report.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,7 @@
30793079
],
30803080
"status": "passed",
30813081
"generator": {
3082-
"bytes": 16795,
3082+
"bytes": 16689,
30833083
"selectors": [
30843084
".-m-_b20px_B",
30853085
"._2xl_ctext-_bred_B",

e2e/__snapshots__/apps-generator-mode/compare/report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This report is generated by `pnpm e2e:apps-generator`. It builds each retained d
99
| gulp-tailwindcss-v3 | demo | passed | `gulp-tailwindcss-v3/dist/app.wxss` (+4) | 21987 | 48 | no | no | no | no | yes |
1010
| gulp-tailwindcss-v4 | demo | passed | `gulp-tailwindcss-v4/dist/app.wxss` (+4) | 11519 | 56 | no | no | no | no | yes |
1111
| mpx-tailwindcss-v3 | demo | passed | `mpx-tailwindcss-v3/dist/wx/app.wxss` (+20) | 191111 | 2879 | no | no | no | no | yes |
12-
| mpx-tailwindcss-v4 | demo | passed | `mpx-tailwindcss-v4/dist/wx/app.wxss` (+3) | 16795 | 68 | no | no | no | no | yes |
12+
| mpx-tailwindcss-v4 | demo | passed | `mpx-tailwindcss-v4/dist/wx/app.wxss` (+3) | 16689 | 68 | no | no | no | no | yes |
1313
| taro-webpack-react-tailwindcss-v3 | demo | passed | `taro-webpack-react-tailwindcss-v3/dist/app.wxss` (+7) | 82702 | 96 | no | no | no | no | yes |
1414
| taro-webpack-react-tailwindcss-v4 | demo | passed | `taro-webpack-react-tailwindcss-v4/dist/app.wxss` (+3) | 384447 | 2470 | no | no | no | no | yes |
1515
| taro-vite-react-tailwindcss-v3 | demo | passed | `taro-vite-react-tailwindcss-v3/dist/app.wxss` (+4) | 9761 | 29 | no | no | no | no | yes |

0 commit comments

Comments
 (0)