@weapp-tailwindcss/postcss 3.1.8 → 3.1.9

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.js CHANGED
@@ -64258,6 +64258,9 @@ const postcssWeappTailwindcssPostPlugin = (options) => {
64258
64258
  };
64259
64259
  p.OnceExit = (root) => {
64260
64260
  if (enableMainChunkTransforms) {
64261
+ root.walkDecls((decl) => {
64262
+ normalizeTailwindcssV4Declaration(decl);
64263
+ });
64261
64264
  root.walkDecls((decl) => {
64262
64265
  normalizeMiniProgramPrefixedDeclaration(decl);
64263
64266
  });
package/dist/index.mjs CHANGED
@@ -64244,6 +64244,9 @@ const postcssWeappTailwindcssPostPlugin = (options) => {
64244
64244
  };
64245
64245
  p.OnceExit = (root) => {
64246
64246
  if (enableMainChunkTransforms) {
64247
+ root.walkDecls((decl) => {
64248
+ normalizeTailwindcssV4Declaration(decl);
64249
+ });
64247
64250
  root.walkDecls((decl) => {
64248
64251
  normalizeMiniProgramPrefixedDeclaration(decl);
64249
64252
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/postcss",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "@weapp-tailwindcss/postcss",
5
5
  "author": "ice breaker <1324318532@qq.com>",
6
6
  "license": "MIT",
@@ -64,7 +64,7 @@
64
64
  "node": "^20.19.0 || >=22.12.0"
65
65
  },
66
66
  "dependencies": {
67
- "@tailwindcss-mangle/engine": "0.1.2",
67
+ "@tailwindcss-mangle/engine": "0.1.3",
68
68
  "@weapp-core/escape": "~8.0.0",
69
69
  "autoprefixer": "^10.5.2",
70
70
  "lru-cache": "11.5.1",
@@ -76,8 +76,8 @@
76
76
  "postcss-rule-unit-converter": "^0.2.2",
77
77
  "postcss-selector-parser": "~7.1.4",
78
78
  "postcss-value-parser": "^4.2.0",
79
- "@weapp-tailwindcss/postcss-calc": "^1.0.2",
80
79
  "@weapp-tailwindcss/shared": "2.0.0",
80
+ "@weapp-tailwindcss/postcss-calc": "^1.0.2",
81
81
  "tailwindcss-config": "2.0.1"
82
82
  },
83
83
  "devDependencies": {
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "scripts": {
94
94
  "dev": "tsdown --watch --sourcemap",
95
- "build": "tsdown && pnpm run build:types",
95
+ "build": "tsdown && tsc -p tsconfig.build.json",
96
96
  "build:types": "tsc -p tsconfig.build.json",
97
97
  "test": "vitest run",
98
98
  "bench": "vitest bench",