weapp-tailwindcss 4.0.10 → 4.0.11

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.
@@ -3,7 +3,7 @@
3
3
  var _chunkLSSLYD6Bjs = require('./chunk-LSSLYD6B.js');
4
4
 
5
5
 
6
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
6
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
7
7
 
8
8
  // src/bundlers/gulp/index.ts
9
9
  var _buffer = require('buffer');
@@ -11,7 +11,7 @@ var _stream = require('stream'); var _stream2 = _interopRequireDefault(_stream);
11
11
  var debug = _chunkLSSLYD6Bjs.createDebug.call(void 0, );
12
12
  var Transform = _stream2.default.Transform;
13
13
  function createPlugins(options = {}) {
14
- const opts = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, options);
14
+ const opts = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, options);
15
15
  const { templateHandler, styleHandler, jsHandler, setMangleRuntimeSet, cache, twPatcher } = opts;
16
16
  let runtimeSet = /* @__PURE__ */ new Set();
17
17
  twPatcher.patch();
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-L7PW3J3N.mjs";
7
7
  import {
8
8
  getCompilerContext
9
- } from "./chunk-DG3FKHPO.mjs";
9
+ } from "./chunk-OL4UJCXZ.mjs";
10
10
  import {
11
11
  getGroupedEntries
12
12
  } from "./chunk-JXBLHLFR.mjs";
@@ -84,40 +84,42 @@ function UnifiedViteWeappTailwindcssPlugin(options = {}) {
84
84
  let noCachedCount = 0;
85
85
  for (const element of groupedEntries.js) {
86
86
  const [file, originalSource] = element;
87
- const rawSource = originalSource.code;
88
- const hash = cache.computeHash(rawSource);
89
- cache.calcHashValueChanged(file, hash);
90
- await cache.process(
91
- file,
92
- () => {
93
- const source = cache.get(file);
94
- if (source) {
95
- originalSource.code = source;
96
- debug("js cache hit: %s", file);
97
- } else {
98
- return false;
87
+ if (originalSource.type === "chunk") {
88
+ const rawSource = originalSource.code;
89
+ const hash = cache.computeHash(rawSource);
90
+ cache.calcHashValueChanged(file, hash);
91
+ await cache.process(
92
+ file,
93
+ () => {
94
+ const source = cache.get(file);
95
+ if (source) {
96
+ originalSource.code = source;
97
+ debug("js cache hit: %s", file);
98
+ } else {
99
+ return false;
100
+ }
101
+ },
102
+ async () => {
103
+ const mapFilename = `${file}.map`;
104
+ const hasMap = Boolean(bundle[mapFilename]);
105
+ const { code, map } = await jsHandler(rawSource, runtimeSet, {
106
+ generateMap: hasMap
107
+ });
108
+ originalSource.code = code;
109
+ onUpdate(file, rawSource, code);
110
+ debug("js handle: %s", file);
111
+ noCachedCount++;
112
+ if (hasMap && map) {
113
+ ;
114
+ bundle[mapFilename].source = map.toString();
115
+ }
116
+ return {
117
+ key: file,
118
+ source: code
119
+ };
99
120
  }
100
- },
101
- async () => {
102
- const mapFilename = `${file}.map`;
103
- const hasMap = Boolean(bundle[mapFilename]);
104
- const { code, map } = await jsHandler(rawSource, runtimeSet, {
105
- generateMap: hasMap
106
- });
107
- originalSource.code = code;
108
- onUpdate(file, rawSource, code);
109
- debug("js handle: %s", file);
110
- noCachedCount++;
111
- if (hasMap && map) {
112
- ;
113
- bundle[mapFilename].source = map.toString();
114
- }
115
- return {
116
- key: file,
117
- source: code
118
- };
119
- }
120
- );
121
+ );
122
+ }
121
123
  }
122
124
  debug("js handle finish, total: %d, no-cached: %d", groupedEntries.js.length, noCachedCount);
123
125
  }
@@ -6,7 +6,7 @@ var _chunkLSSLYD6Bjs = require('./chunk-LSSLYD6B.js');
6
6
  var _chunkEHEK77ROjs = require('./chunk-EHEK77RO.js');
7
7
 
8
8
 
9
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
9
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
10
10
 
11
11
 
12
12
 
@@ -18,7 +18,7 @@ var _path = require('path'); var _path2 = _interopRequireDefault(_path);
18
18
  var debug = _chunkLSSLYD6Bjs.createDebug.call(void 0, );
19
19
  var UnifiedWebpackPluginV5 = class {
20
20
  constructor(options = {}) {
21
- this.options = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, options);
21
+ this.options = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, options);
22
22
  this.appType = this.options.appType;
23
23
  }
24
24
  apply(compiler) {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-L7PW3J3N.mjs";
7
7
  import {
8
8
  getCompilerContext
9
- } from "./chunk-DG3FKHPO.mjs";
9
+ } from "./chunk-OL4UJCXZ.mjs";
10
10
  import {
11
11
  getGroupedEntries,
12
12
  removeExt
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-3AUX4FGE.mjs";
4
4
  import {
5
5
  getCompilerContext
6
- } from "./chunk-DG3FKHPO.mjs";
6
+ } from "./chunk-OL4UJCXZ.mjs";
7
7
 
8
8
  // src/bundlers/gulp/index.ts
9
9
  import { Buffer } from "node:buffer";
@@ -6,7 +6,7 @@ var _chunkLSSLYD6Bjs = require('./chunk-LSSLYD6B.js');
6
6
  var _chunkEHEK77ROjs = require('./chunk-EHEK77RO.js');
7
7
 
8
8
 
9
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
9
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
10
10
 
11
11
 
12
12
  var _chunkO335YLYHjs = require('./chunk-O335YLYH.js');
@@ -14,7 +14,7 @@ var _chunkO335YLYHjs = require('./chunk-O335YLYH.js');
14
14
  // src/bundlers/vite/index.ts
15
15
  var debug = _chunkLSSLYD6Bjs.createDebug.call(void 0, );
16
16
  function UnifiedViteWeappTailwindcssPlugin(options = {}) {
17
- const opts = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, options);
17
+ const opts = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, options);
18
18
  const {
19
19
  disabled,
20
20
  onEnd,
@@ -84,40 +84,42 @@ function UnifiedViteWeappTailwindcssPlugin(options = {}) {
84
84
  let noCachedCount = 0;
85
85
  for (const element of groupedEntries.js) {
86
86
  const [file, originalSource] = element;
87
- const rawSource = originalSource.code;
88
- const hash = cache.computeHash(rawSource);
89
- cache.calcHashValueChanged(file, hash);
90
- await cache.process(
91
- file,
92
- () => {
93
- const source = cache.get(file);
94
- if (source) {
95
- originalSource.code = source;
96
- debug("js cache hit: %s", file);
97
- } else {
98
- return false;
87
+ if (originalSource.type === "chunk") {
88
+ const rawSource = originalSource.code;
89
+ const hash = cache.computeHash(rawSource);
90
+ cache.calcHashValueChanged(file, hash);
91
+ await cache.process(
92
+ file,
93
+ () => {
94
+ const source = cache.get(file);
95
+ if (source) {
96
+ originalSource.code = source;
97
+ debug("js cache hit: %s", file);
98
+ } else {
99
+ return false;
100
+ }
101
+ },
102
+ async () => {
103
+ const mapFilename = `${file}.map`;
104
+ const hasMap = Boolean(bundle[mapFilename]);
105
+ const { code, map } = await jsHandler(rawSource, runtimeSet, {
106
+ generateMap: hasMap
107
+ });
108
+ originalSource.code = code;
109
+ onUpdate(file, rawSource, code);
110
+ debug("js handle: %s", file);
111
+ noCachedCount++;
112
+ if (hasMap && map) {
113
+ ;
114
+ bundle[mapFilename].source = map.toString();
115
+ }
116
+ return {
117
+ key: file,
118
+ source: code
119
+ };
99
120
  }
100
- },
101
- async () => {
102
- const mapFilename = `${file}.map`;
103
- const hasMap = Boolean(bundle[mapFilename]);
104
- const { code, map } = await jsHandler(rawSource, runtimeSet, {
105
- generateMap: hasMap
106
- });
107
- originalSource.code = code;
108
- onUpdate(file, rawSource, code);
109
- debug("js handle: %s", file);
110
- noCachedCount++;
111
- if (hasMap && map) {
112
- ;
113
- bundle[mapFilename].source = map.toString();
114
- }
115
- return {
116
- key: file,
117
- source: code
118
- };
119
- }
120
- );
121
+ );
122
+ }
121
123
  }
122
124
  debug("js handle finish, total: %d, no-cached: %d", groupedEntries.js.length, noCachedCount);
123
125
  }
@@ -259,26 +259,78 @@ var NodePathWalker = class {
259
259
  this.walkTemplateLiteral(right);
260
260
  }
261
261
  }
262
+ walkLogicalExpression(path2) {
263
+ const left = path2.get("left");
264
+ if (left.isStringLiteral()) {
265
+ this.walkStringLiteral(left);
266
+ } else if (left.isBinaryExpression()) {
267
+ this.walkBinaryExpression(left);
268
+ } else if (left.isTemplateLiteral()) {
269
+ this.walkTemplateLiteral(left);
270
+ } else if (left.isLogicalExpression()) {
271
+ this.walkLogicalExpression(left);
272
+ }
273
+ const right = path2.get("right");
274
+ if (right.isStringLiteral()) {
275
+ this.walkStringLiteral(right);
276
+ } else if (right.isBinaryExpression(right)) {
277
+ this.walkBinaryExpression(right);
278
+ } else if (right.isTemplateLiteral()) {
279
+ this.walkTemplateLiteral(right);
280
+ } else if (right.isLogicalExpression()) {
281
+ this.walkLogicalExpression(right);
282
+ }
283
+ }
284
+ walkObjectExpression(path2) {
285
+ const props = path2.get("properties");
286
+ for (const prop of props) {
287
+ if (prop.isObjectProperty()) {
288
+ const key = prop.get("key");
289
+ if (key) {
290
+ if (key.isStringLiteral()) {
291
+ this.walkStringLiteral(key);
292
+ } else if (key.isTemplateLiteral()) {
293
+ this.walkTemplateLiteral(key);
294
+ }
295
+ }
296
+ }
297
+ }
298
+ }
299
+ walkArrayExpression(path2) {
300
+ const elements = path2.get("elements");
301
+ for (const element of elements) {
302
+ this.composeWalk(element);
303
+ }
304
+ }
305
+ composeWalk(arg) {
306
+ if (arg.isIdentifier()) {
307
+ const binding = arg.scope.getBinding(arg.node.name);
308
+ if (binding) {
309
+ if (binding.path.isVariableDeclarator()) {
310
+ this.walkVariableDeclarator(binding.path);
311
+ }
312
+ }
313
+ } else if (arg.isTemplateLiteral()) {
314
+ this.walkTemplateLiteral(arg);
315
+ } else if (arg.isStringLiteral()) {
316
+ this.walkStringLiteral(arg);
317
+ } else if (arg.isBinaryExpression()) {
318
+ this.walkBinaryExpression(arg);
319
+ } else if (arg.isLogicalExpression()) {
320
+ this.walkLogicalExpression(arg);
321
+ } else if (arg.isObjectExpression()) {
322
+ this.walkObjectExpression(arg);
323
+ } else if (arg.isArrayExpression()) {
324
+ this.walkArrayExpression(arg);
325
+ }
326
+ }
262
327
  walkCallExpression(path2) {
263
328
  const calleePath = path2.get("callee");
264
329
  if (calleePath.isIdentifier() && regExpTest(this.ignoreCallExpressionIdentifiers, calleePath.node.name, {
265
330
  exact: true
266
331
  })) {
267
332
  for (const arg of path2.get("arguments")) {
268
- if (arg.isIdentifier()) {
269
- const binding = arg.scope.getBinding(arg.node.name);
270
- if (binding) {
271
- if (binding.path.isVariableDeclarator()) {
272
- this.walkVariableDeclarator(binding.path);
273
- }
274
- }
275
- } else if (arg.isTemplateLiteral()) {
276
- this.walkTemplateLiteral(arg);
277
- } else if (arg.isStringLiteral()) {
278
- this.walkStringLiteral(arg);
279
- } else if (arg.isBinaryExpression()) {
280
- this.walkBinaryExpression(arg);
281
- }
333
+ this.composeWalk(arg);
282
334
  }
283
335
  }
284
336
  }
@@ -262,26 +262,78 @@ var NodePathWalker = class {
262
262
  this.walkTemplateLiteral(right);
263
263
  }
264
264
  }
265
+ walkLogicalExpression(path2) {
266
+ const left = path2.get("left");
267
+ if (left.isStringLiteral()) {
268
+ this.walkStringLiteral(left);
269
+ } else if (left.isBinaryExpression()) {
270
+ this.walkBinaryExpression(left);
271
+ } else if (left.isTemplateLiteral()) {
272
+ this.walkTemplateLiteral(left);
273
+ } else if (left.isLogicalExpression()) {
274
+ this.walkLogicalExpression(left);
275
+ }
276
+ const right = path2.get("right");
277
+ if (right.isStringLiteral()) {
278
+ this.walkStringLiteral(right);
279
+ } else if (right.isBinaryExpression(right)) {
280
+ this.walkBinaryExpression(right);
281
+ } else if (right.isTemplateLiteral()) {
282
+ this.walkTemplateLiteral(right);
283
+ } else if (right.isLogicalExpression()) {
284
+ this.walkLogicalExpression(right);
285
+ }
286
+ }
287
+ walkObjectExpression(path2) {
288
+ const props = path2.get("properties");
289
+ for (const prop of props) {
290
+ if (prop.isObjectProperty()) {
291
+ const key = prop.get("key");
292
+ if (key) {
293
+ if (key.isStringLiteral()) {
294
+ this.walkStringLiteral(key);
295
+ } else if (key.isTemplateLiteral()) {
296
+ this.walkTemplateLiteral(key);
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+ walkArrayExpression(path2) {
303
+ const elements = path2.get("elements");
304
+ for (const element of elements) {
305
+ this.composeWalk(element);
306
+ }
307
+ }
308
+ composeWalk(arg) {
309
+ if (arg.isIdentifier()) {
310
+ const binding = arg.scope.getBinding(arg.node.name);
311
+ if (binding) {
312
+ if (binding.path.isVariableDeclarator()) {
313
+ this.walkVariableDeclarator(binding.path);
314
+ }
315
+ }
316
+ } else if (arg.isTemplateLiteral()) {
317
+ this.walkTemplateLiteral(arg);
318
+ } else if (arg.isStringLiteral()) {
319
+ this.walkStringLiteral(arg);
320
+ } else if (arg.isBinaryExpression()) {
321
+ this.walkBinaryExpression(arg);
322
+ } else if (arg.isLogicalExpression()) {
323
+ this.walkLogicalExpression(arg);
324
+ } else if (arg.isObjectExpression()) {
325
+ this.walkObjectExpression(arg);
326
+ } else if (arg.isArrayExpression()) {
327
+ this.walkArrayExpression(arg);
328
+ }
329
+ }
265
330
  walkCallExpression(path2) {
266
331
  const calleePath = path2.get("callee");
267
332
  if (calleePath.isIdentifier() && _chunkO335YLYHjs.regExpTest.call(void 0, this.ignoreCallExpressionIdentifiers, calleePath.node.name, {
268
333
  exact: true
269
334
  })) {
270
335
  for (const arg of path2.get("arguments")) {
271
- if (arg.isIdentifier()) {
272
- const binding = arg.scope.getBinding(arg.node.name);
273
- if (binding) {
274
- if (binding.path.isVariableDeclarator()) {
275
- this.walkVariableDeclarator(binding.path);
276
- }
277
- }
278
- } else if (arg.isTemplateLiteral()) {
279
- this.walkTemplateLiteral(arg);
280
- } else if (arg.isStringLiteral()) {
281
- this.walkStringLiteral(arg);
282
- } else if (arg.isBinaryExpression()) {
283
- this.walkBinaryExpression(arg);
284
- }
336
+ this.composeWalk(arg);
285
337
  }
286
338
  }
287
339
  }
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var _chunkEHEK77ROjs = require('./chunk-EHEK77RO.js');
4
4
 
5
5
 
6
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
6
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
7
7
  require('./chunk-PLMJW644.js');
8
8
  require('./chunk-JC63TIBU.js');
9
9
  require('./chunk-O335YLYH.js');
@@ -27,7 +27,7 @@ if (_semver2.default.lt(_process2.default.versions.node, _chunkEHEK77ROjs.WEAPP_
27
27
  }
28
28
  var command = args[0];
29
29
  if (command === "patch") {
30
- const ctx = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, );
30
+ const ctx = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, );
31
31
  ctx.twPatcher.patch();
32
32
  } else if (command === "init") {
33
33
  _init.init.call(void 0, );
package/dist/cli.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-L7PW3J3N.mjs";
4
4
  import {
5
5
  getCompilerContext
6
- } from "./chunk-DG3FKHPO.mjs";
6
+ } from "./chunk-OL4UJCXZ.mjs";
7
7
  import "./chunk-Q67IXIAH.mjs";
8
8
  import "./chunk-RGDWO3OF.mjs";
9
9
  import "./chunk-JXBLHLFR.mjs";
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
3
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
4
4
  require('./chunk-PLMJW644.js');
5
5
  require('./chunk-JC63TIBU.js');
6
6
  require('./chunk-O335YLYH.js');
@@ -9,7 +9,7 @@ require('./chunk-MY2HTM7P.js');
9
9
  // src/core.ts
10
10
  var _shared = require('@weapp-tailwindcss/shared');
11
11
  function createContext(options = {}) {
12
- const opts = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, options);
12
+ const opts = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, options);
13
13
  const { templateHandler, styleHandler, jsHandler, twPatcher } = opts;
14
14
  let runtimeSet = /* @__PURE__ */ new Set();
15
15
  twPatcher.patch();
package/dist/core.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-DG3FKHPO.mjs";
3
+ } from "./chunk-OL4UJCXZ.mjs";
4
4
  import "./chunk-Q67IXIAH.mjs";
5
5
  import "./chunk-RGDWO3OF.mjs";
6
6
  import "./chunk-JXBLHLFR.mjs";
package/dist/gulp.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkR5IBZGSPjs = require('./chunk-R5IBZGSP.js');
3
+ var _chunk3QGYVLHWjs = require('./chunk-3QGYVLHW.js');
4
4
  require('./chunk-LSSLYD6B.js');
5
- require('./chunk-RBDVFVMM.js');
5
+ require('./chunk-T7PCCJBL.js');
6
6
  require('./chunk-PLMJW644.js');
7
7
  require('./chunk-JC63TIBU.js');
8
8
  require('./chunk-O335YLYH.js');
9
9
  require('./chunk-MY2HTM7P.js');
10
10
 
11
11
 
12
- exports.createPlugins = _chunkR5IBZGSPjs.createPlugins;
12
+ exports.createPlugins = _chunk3QGYVLHWjs.createPlugins;
package/dist/gulp.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createPlugins
3
- } from "./chunk-IKTYHPAH.mjs";
3
+ } from "./chunk-HVXW2GUE.mjs";
4
4
  import "./chunk-3AUX4FGE.mjs";
5
- import "./chunk-DG3FKHPO.mjs";
5
+ import "./chunk-OL4UJCXZ.mjs";
6
6
  import "./chunk-Q67IXIAH.mjs";
7
7
  import "./chunk-RGDWO3OF.mjs";
8
8
  import "./chunk-JXBLHLFR.mjs";
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-O2IOQ3BD.js');
2
2
 
3
3
 
4
- var _chunk664BQSLQjs = require('./chunk-664BQSLQ.js');
4
+ var _chunkAJ25FS5Cjs = require('./chunk-AJ25FS5C.js');
5
5
 
6
6
 
7
- var _chunkR5IBZGSPjs = require('./chunk-R5IBZGSP.js');
7
+ var _chunk3QGYVLHWjs = require('./chunk-3QGYVLHW.js');
8
8
 
9
9
 
10
- var _chunkOQECSZJWjs = require('./chunk-OQECSZJW.js');
10
+ var _chunkOIPONPHPjs = require('./chunk-OIPONPHP.js');
11
11
  require('./chunk-LSSLYD6B.js');
12
12
  require('./chunk-EHEK77RO.js');
13
- require('./chunk-RBDVFVMM.js');
13
+ require('./chunk-T7PCCJBL.js');
14
14
  require('./chunk-PLMJW644.js');
15
15
  require('./chunk-JC63TIBU.js');
16
16
  require('./chunk-O335YLYH.js');
@@ -19,4 +19,4 @@ require('./chunk-MY2HTM7P.js');
19
19
 
20
20
 
21
21
 
22
- exports.UnifiedViteWeappTailwindcssPlugin = _chunkOQECSZJWjs.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunk664BQSLQjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunkR5IBZGSPjs.createPlugins;
22
+ exports.UnifiedViteWeappTailwindcssPlugin = _chunkOIPONPHPjs.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunkAJ25FS5Cjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunk3QGYVLHWjs.createPlugins;
package/dist/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  import "./chunk-YAN7TO2B.mjs";
2
2
  import {
3
3
  UnifiedWebpackPluginV5
4
- } from "./chunk-JEGC52L5.mjs";
4
+ } from "./chunk-CFOS3UUF.mjs";
5
5
  import {
6
6
  createPlugins
7
- } from "./chunk-IKTYHPAH.mjs";
7
+ } from "./chunk-HVXW2GUE.mjs";
8
8
  import {
9
9
  UnifiedViteWeappTailwindcssPlugin
10
- } from "./chunk-4VKZNOEN.mjs";
10
+ } from "./chunk-3WQDHEZ6.mjs";
11
11
  import "./chunk-3AUX4FGE.mjs";
12
12
  import "./chunk-L7PW3J3N.mjs";
13
- import "./chunk-DG3FKHPO.mjs";
13
+ import "./chunk-OL4UJCXZ.mjs";
14
14
  import "./chunk-Q67IXIAH.mjs";
15
15
  import "./chunk-RGDWO3OF.mjs";
16
16
  import "./chunk-JXBLHLFR.mjs";
package/dist/vite.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOQECSZJWjs = require('./chunk-OQECSZJW.js');
3
+ var _chunkOIPONPHPjs = require('./chunk-OIPONPHP.js');
4
4
  require('./chunk-LSSLYD6B.js');
5
5
  require('./chunk-EHEK77RO.js');
6
- require('./chunk-RBDVFVMM.js');
6
+ require('./chunk-T7PCCJBL.js');
7
7
  require('./chunk-PLMJW644.js');
8
8
  require('./chunk-JC63TIBU.js');
9
9
  require('./chunk-O335YLYH.js');
10
10
  require('./chunk-MY2HTM7P.js');
11
11
 
12
12
 
13
- exports.UnifiedViteWeappTailwindcssPlugin = _chunkOQECSZJWjs.UnifiedViteWeappTailwindcssPlugin;
13
+ exports.UnifiedViteWeappTailwindcssPlugin = _chunkOIPONPHPjs.UnifiedViteWeappTailwindcssPlugin;
package/dist/vite.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  UnifiedViteWeappTailwindcssPlugin
3
- } from "./chunk-4VKZNOEN.mjs";
3
+ } from "./chunk-3WQDHEZ6.mjs";
4
4
  import "./chunk-3AUX4FGE.mjs";
5
5
  import "./chunk-L7PW3J3N.mjs";
6
- import "./chunk-DG3FKHPO.mjs";
6
+ import "./chunk-OL4UJCXZ.mjs";
7
7
  import "./chunk-Q67IXIAH.mjs";
8
8
  import "./chunk-RGDWO3OF.mjs";
9
9
  import "./chunk-JXBLHLFR.mjs";
package/dist/webpack.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk664BQSLQjs = require('./chunk-664BQSLQ.js');
3
+ var _chunkAJ25FS5Cjs = require('./chunk-AJ25FS5C.js');
4
4
  require('./chunk-LSSLYD6B.js');
5
5
  require('./chunk-EHEK77RO.js');
6
- require('./chunk-RBDVFVMM.js');
6
+ require('./chunk-T7PCCJBL.js');
7
7
  require('./chunk-PLMJW644.js');
8
8
  require('./chunk-JC63TIBU.js');
9
9
  require('./chunk-O335YLYH.js');
10
10
  require('./chunk-MY2HTM7P.js');
11
11
 
12
12
 
13
- exports.UnifiedWebpackPluginV5 = _chunk664BQSLQjs.UnifiedWebpackPluginV5;
13
+ exports.UnifiedWebpackPluginV5 = _chunkAJ25FS5Cjs.UnifiedWebpackPluginV5;
package/dist/webpack.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  UnifiedWebpackPluginV5
3
- } from "./chunk-JEGC52L5.mjs";
3
+ } from "./chunk-CFOS3UUF.mjs";
4
4
  import "./chunk-3AUX4FGE.mjs";
5
5
  import "./chunk-L7PW3J3N.mjs";
6
- import "./chunk-DG3FKHPO.mjs";
6
+ import "./chunk-OL4UJCXZ.mjs";
7
7
  import "./chunk-Q67IXIAH.mjs";
8
8
  import "./chunk-RGDWO3OF.mjs";
9
9
  import "./chunk-JXBLHLFR.mjs";
package/dist/webpack4.js CHANGED
@@ -6,7 +6,7 @@ var _chunkLSSLYD6Bjs = require('./chunk-LSSLYD6B.js');
6
6
  var _chunkEHEK77ROjs = require('./chunk-EHEK77RO.js');
7
7
 
8
8
 
9
- var _chunkRBDVFVMMjs = require('./chunk-RBDVFVMM.js');
9
+ var _chunkT7PCCJBLjs = require('./chunk-T7PCCJBL.js');
10
10
  require('./chunk-PLMJW644.js');
11
11
  require('./chunk-JC63TIBU.js');
12
12
 
@@ -22,7 +22,7 @@ var _webpacksources = require('webpack-sources');
22
22
  var debug = _chunkLSSLYD6Bjs.createDebug.call(void 0, );
23
23
  var UnifiedWebpackPluginV4 = class {
24
24
  constructor(options = {}) {
25
- this.options = _chunkRBDVFVMMjs.getCompilerContext.call(void 0, options);
25
+ this.options = _chunkT7PCCJBLjs.getCompilerContext.call(void 0, options);
26
26
  this.appType = this.options.appType;
27
27
  }
28
28
  apply(compiler) {
package/dist/webpack4.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-L7PW3J3N.mjs";
7
7
  import {
8
8
  getCompilerContext
9
- } from "./chunk-DG3FKHPO.mjs";
9
+ } from "./chunk-OL4UJCXZ.mjs";
10
10
  import "./chunk-Q67IXIAH.mjs";
11
11
  import "./chunk-RGDWO3OF.mjs";
12
12
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weapp-tailwindcss",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
5
5
  "author": "ice breaker <1324318532@qq.com>",
6
6
  "license": "MIT",
@@ -159,7 +159,7 @@
159
159
  "@weapp-tailwindcss/init": "1.0.1",
160
160
  "@weapp-tailwindcss/logger": "1.0.0",
161
161
  "@weapp-tailwindcss/mangle": "1.0.2",
162
- "@weapp-tailwindcss/postcss": "1.0.5",
162
+ "@weapp-tailwindcss/postcss": "1.0.6",
163
163
  "@weapp-tailwindcss/shared": "1.0.1"
164
164
  },
165
165
  "scripts": {
package/preflight.css CHANGED
@@ -7,8 +7,7 @@
7
7
  *,
8
8
  ::after,
9
9
  ::before,
10
- ::backdrop,
11
- ::file-selector-button {
10
+ ::backdrop {
12
11
  box-sizing: border-box; /* 1 */
13
12
  margin: 0; /* 2 */
14
13
  padding: 0; /* 2 */