weapp-tailwindcss 3.3.4-alpha.0 → 3.3.5

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/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var process = require('node:process');
4
4
  var semver = require('semver');
5
- var options = require('./options-B7DqzgQ8.js');
5
+ var options = require('./options-a5qXPOAM.js');
6
6
  var index = require('./index-DwZHOkK3.js');
7
7
  require('magic-string');
8
8
  require('./replace.js');
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';
2
2
  import semver from 'semver';
3
- import { g as getOptions } from './options-623pQbPS.mjs';
3
+ import { g as getOptions } from './options-EVe-3wGC.mjs';
4
4
  import { W as WEAPP_TW_REQUIRED_NODE_VERSION } from './index-BPzIdybK.mjs';
5
5
  import 'magic-string';
6
6
  import './replace.mjs';
package/dist/core.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import type { UserDefinedOptions } from "./types";
1
+ import type { CreateJsHandlerOptions, IStyleHandlerOptions, ITemplateHandlerOptions, UserDefinedOptions } from "./types";
2
2
  export declare function createContext(options?: UserDefinedOptions): {
3
- transformWxss: (rawCss: string) => Promise<string>;
4
- transformWxml: (rawWxml: string) => Promise<string>;
3
+ transformWxss: (rawCss: string, options?: Partial<IStyleHandlerOptions>) => Promise<string>;
4
+ transformWxml: (rawWxml: string, options?: ITemplateHandlerOptions) => Promise<string>;
5
5
  transformJs: (rawJs: string, options?: {
6
6
  runtimeSet?: Set<string>;
7
- }) => Promise<string>;
7
+ } & CreateJsHandlerOptions) => Promise<string>;
8
8
  };
package/dist/core.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var options = require('./options-B7DqzgQ8.js');
5
+ var options = require('./options-a5qXPOAM.js');
6
6
  require('magic-string');
7
7
  require('./replace.js');
8
8
  require('@weapp-core/escape');
@@ -35,11 +35,11 @@ function createContext(options$1 = {}) {
35
35
  const { templateHandler, styleHandler, patch, jsHandler, twPatcher } = opts;
36
36
  let runtimeSet = new Set();
37
37
  patch === null || patch === void 0 ? void 0 : patch();
38
- function transformWxss(rawCss) {
38
+ function transformWxss(rawCss, options$1) {
39
39
  return options.__awaiter(this, void 0, void 0, function* () {
40
- const code = yield styleHandler(rawCss, {
40
+ const code = yield styleHandler(rawCss, Object.assign({
41
41
  isMainChunk: true,
42
- });
42
+ }, options$1));
43
43
  return code;
44
44
  });
45
45
  }
@@ -49,14 +49,14 @@ function createContext(options$1 = {}) {
49
49
  = options && options.runtimeSet
50
50
  ? options.runtimeSet
51
51
  : twPatcher.getClassSet();
52
- const { code } = yield jsHandler(rawJs, runtimeSet);
52
+ const { code } = yield jsHandler(rawJs, runtimeSet, options);
53
53
  return code;
54
54
  });
55
55
  }
56
- function transformWxml(rawWxml) {
57
- const code = templateHandler(rawWxml, {
56
+ function transformWxml(rawWxml, options) {
57
+ const code = templateHandler(rawWxml, Object.assign({
58
58
  runtimeSet,
59
- });
59
+ }, options));
60
60
  return code;
61
61
  }
62
62
  return {
package/dist/core.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-623pQbPS.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-EVe-3wGC.mjs';
2
2
  import 'magic-string';
3
3
  import './replace.mjs';
4
4
  import '@weapp-core/escape';
@@ -31,11 +31,11 @@ function createContext(options = {}) {
31
31
  const { templateHandler, styleHandler, patch, jsHandler, twPatcher } = opts;
32
32
  let runtimeSet = new Set();
33
33
  patch === null || patch === void 0 ? void 0 : patch();
34
- function transformWxss(rawCss) {
34
+ function transformWxss(rawCss, options) {
35
35
  return __awaiter(this, void 0, void 0, function* () {
36
- const code = yield styleHandler(rawCss, {
36
+ const code = yield styleHandler(rawCss, Object.assign({
37
37
  isMainChunk: true,
38
- });
38
+ }, options));
39
39
  return code;
40
40
  });
41
41
  }
@@ -45,14 +45,14 @@ function createContext(options = {}) {
45
45
  = options && options.runtimeSet
46
46
  ? options.runtimeSet
47
47
  : twPatcher.getClassSet();
48
- const { code } = yield jsHandler(rawJs, runtimeSet);
48
+ const { code } = yield jsHandler(rawJs, runtimeSet, options);
49
49
  return code;
50
50
  });
51
51
  }
52
- function transformWxml(rawWxml) {
53
- const code = templateHandler(rawWxml, {
52
+ function transformWxml(rawWxml, options) {
53
+ const code = templateHandler(rawWxml, Object.assign({
54
54
  runtimeSet,
55
- });
55
+ }, options));
56
56
  return code;
57
57
  }
58
58
  return {
package/dist/escape.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from '@weapp-core/escape';
2
2
  export { jsStringEscape } from '@ast-core/escape';
3
+ export declare function decodeUnicode(s: string): string;
4
+ export declare function decodeUnicode2(input: string): any;
package/dist/gulp.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-CzTwkO1i.js');
6
- require('./options-B7DqzgQ8.js');
5
+ var index = require('./index-DB9QgUa3.js');
6
+ require('./options-a5qXPOAM.js');
7
7
  require('magic-string');
8
8
  require('./replace.js');
9
9
  require('@weapp-core/escape');
package/dist/gulp.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { c as createPlugins } from './index-fnkBzr0E.mjs';
2
- import './options-623pQbPS.mjs';
1
+ export { c as createPlugins } from './index-CIIWZLy7.mjs';
2
+ import './options-EVe-3wGC.mjs';
3
3
  import 'magic-string';
4
4
  import './replace.mjs';
5
5
  import '@weapp-core/escape';
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-623pQbPS.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-EVe-3wGC.mjs';
2
2
  import { v as vitePluginName } from './index-BPzIdybK.mjs';
3
3
  import { g as getGroupedEntries } from './defaults-DUZZvtdg.mjs';
4
4
  import { c as createDebug } from './index-BEIjgKpF.mjs';
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-623pQbPS.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-EVe-3wGC.mjs';
2
2
  import stream from 'node:stream';
3
3
  import { Buffer } from 'node:buffer';
4
4
  import { c as createDebug } from './index-BEIjgKpF.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var options = require('./options-B7DqzgQ8.js');
3
+ var options = require('./options-a5qXPOAM.js');
4
4
  var stream = require('node:stream');
5
5
  var node_buffer = require('node:buffer');
6
6
  var index = require('./index-HC-Qkn0i.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var options = require('./options-B7DqzgQ8.js');
3
+ var options = require('./options-a5qXPOAM.js');
4
4
  var index = require('./index-DwZHOkK3.js');
5
5
  var defaults = require('./defaults-syv_N3uk.js');
6
6
  var index$1 = require('./index-HC-Qkn0i.js');
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var v5 = require('./v5-B_M1SQUm.js');
6
- var index = require('./index-kBvY5Jba.js');
7
- var index$1 = require('./index-CzTwkO1i.js');
8
- require('./options-B7DqzgQ8.js');
5
+ var v5 = require('./v5-B-T2TD9C.js');
6
+ var index = require('./index-o6B8-Dgr.js');
7
+ var index$1 = require('./index-DB9QgUa3.js');
8
+ require('./options-a5qXPOAM.js');
9
9
  require('magic-string');
10
10
  require('./replace.js');
11
11
  require('@weapp-core/escape');
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { U as UnifiedWebpackPluginV5 } from './v5-C4BtnBDn.mjs';
2
- export { U as UnifiedViteWeappTailwindcssPlugin } from './index-DZAayQkp.mjs';
3
- export { c as createPlugins } from './index-fnkBzr0E.mjs';
4
- import './options-623pQbPS.mjs';
1
+ export { U as UnifiedWebpackPluginV5 } from './v5-DCkl8s2F.mjs';
2
+ export { U as UnifiedViteWeappTailwindcssPlugin } from './index-BExhXAqi.mjs';
3
+ export { c as createPlugins } from './index-CIIWZLy7.mjs';
4
+ import './options-EVe-3wGC.mjs';
5
5
  import 'magic-string';
6
6
  import './replace.mjs';
7
7
  import '@weapp-core/escape';
@@ -7,8 +7,6 @@ interface ReplaceNode {
7
7
  start?: number | null;
8
8
  end?: number | null;
9
9
  }
10
- export declare function decodeUnicode(s: string): string;
11
- export declare function decodeUnicode2(input: string): any;
12
10
  export declare function toUnicodeEscapedString(str: string): string;
13
11
  export declare function toUnicodeEscapedString2(str: string): string;
14
12
  export declare function replaceHandleValue(str: string, node: ReplaceNode, options: IJsHandlerOptions, ms: MagicString, offset?: number): string;
@@ -1,4 +1,7 @@
1
1
  import type { CreateJsHandlerOptions, IJsHandlerOptions, JsHandlerResult } from "../types";
2
2
  export declare function jsHandler(rawSource: string, options: IJsHandlerOptions): JsHandlerResult;
3
3
  export declare function jsHandlerAsync(rawSource: string, options: IJsHandlerOptions): Promise<JsHandlerResult>;
4
- export declare function createJsHandler(options: CreateJsHandlerOptions): (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions) => JsHandlerResult | Promise<JsHandlerResult>;
4
+ export declare function createJsHandler(options: CreateJsHandlerOptions): {
5
+ (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions): JsHandlerResult | Promise<JsHandlerResult>;
6
+ sync: (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions) => JsHandlerResult;
7
+ };
@@ -52,6 +52,15 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
52
52
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
53
53
  };
54
54
 
55
+ function decodeUnicode2(input) {
56
+ try {
57
+ return JSON.parse(`"${input}"`);
58
+ }
59
+ catch (_error) {
60
+ return input;
61
+ }
62
+ }
63
+
55
64
  const validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
56
65
  function isValidSelector(selector = '') {
57
66
  return validateFilterRE.test(selector);
@@ -61,14 +70,6 @@ function splitCode(code, allowDoubleQuotes = false) {
61
70
  return code.split(splitter).filter(element => isValidSelector(element));
62
71
  }
63
72
 
64
- function decodeUnicode2(input) {
65
- try {
66
- return JSON.parse(`"${input}"`);
67
- }
68
- catch (error) {
69
- return input;
70
- }
71
- }
72
73
  function replaceHandleValue(str, node, options, ms, offset = 0) {
73
74
  const { classNameSet: set, escapeMap, mangleContext: ctx, needEscaped = false, jsPreserveClass, arbitraryValues, always, unescapeUnicode, } = options;
74
75
  const allowDoubleQuotes = arbitraryValues === null || arbitraryValues === void 0 ? void 0 : arbitraryValues.allowDoubleQuotes;
@@ -258,7 +259,7 @@ function jsHandlerAsync(rawSource, options) {
258
259
  }
259
260
  function createJsHandler(options) {
260
261
  const { mangleContext, arbitraryValues, escapeMap, jsPreserveClass, generateMap, jsAstTool, babelParserOptions } = options;
261
- return (rawSource, set, options) => {
262
+ function _jsHandler(rawSource, set, options) {
262
263
  const opts = defuOverrideArray(options, {
263
264
  classNameSet: set,
264
265
  escapeMap,
@@ -273,34 +274,56 @@ function createJsHandler(options) {
273
274
  return jsHandlerAsync(rawSource, opts);
274
275
  }
275
276
  return jsHandler(rawSource, opts);
276
- };
277
+ }
278
+ function sync(rawSource, set, options) {
279
+ const opts = defuOverrideArray(options, {
280
+ classNameSet: set,
281
+ escapeMap,
282
+ arbitraryValues,
283
+ mangleContext,
284
+ jsPreserveClass,
285
+ generateMap,
286
+ jsAstTool,
287
+ babelParserOptions,
288
+ });
289
+ return jsHandler(rawSource, opts);
290
+ }
291
+ _jsHandler.sync = sync;
292
+ return _jsHandler;
277
293
  }
278
294
 
279
295
  function generateCode(match, options = {}) {
280
296
  try {
281
- const ms = new MagicString(match);
282
- const ast = parseExpression(match);
283
- traverse(ast, {
284
- StringLiteral(path) {
285
- var _a;
286
- if (t.isMemberExpression(path.parent)) {
287
- return;
288
- }
289
- if (t.isBinaryExpression(path.parent) && t.isConditionalExpression((_a = path.parentPath) === null || _a === void 0 ? void 0 : _a.parent)) {
290
- return;
291
- }
292
- const n = path.node;
293
- replaceHandleValue(n.value, n, {
294
- mangleContext: options.mangleContext,
295
- escapeMap: options.escapeMap,
296
- classNameSet: options.runtimeSet,
297
- needEscaped: true,
298
- always: true,
299
- }, ms, 1);
300
- },
301
- noScope: true,
302
- });
303
- return ms.toString();
297
+ const { jsHandler, runtimeSet } = options;
298
+ if (jsHandler && jsHandler.sync && runtimeSet) {
299
+ const { code } = jsHandler.sync(match, runtimeSet);
300
+ return code;
301
+ }
302
+ else {
303
+ const ms = new MagicString(match);
304
+ const ast = parseExpression(match);
305
+ traverse(ast, {
306
+ StringLiteral(path) {
307
+ var _a, _b;
308
+ if (t.isMemberExpression(path.parent)) {
309
+ return;
310
+ }
311
+ if (t.isBinaryExpression(path.parent) && (t.isConditionalExpression((_a = path.parentPath) === null || _a === void 0 ? void 0 : _a.parent) || t.isLogicalExpression((_b = path.parentPath) === null || _b === void 0 ? void 0 : _b.parent))) {
312
+ return;
313
+ }
314
+ const n = path.node;
315
+ replaceHandleValue(n.value, n, {
316
+ mangleContext: options.mangleContext,
317
+ escapeMap: options.escapeMap,
318
+ classNameSet: options.runtimeSet,
319
+ needEscaped: true,
320
+ always: true,
321
+ }, ms, 1);
322
+ },
323
+ noScope: true,
324
+ });
325
+ return ms.toString();
326
+ }
304
327
  }
305
328
  catch (_a) {
306
329
  return match;
@@ -84,6 +84,15 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
84
84
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
85
85
  };
86
86
 
87
+ function decodeUnicode2(input) {
88
+ try {
89
+ return JSON.parse(`"${input}"`);
90
+ }
91
+ catch (_error) {
92
+ return input;
93
+ }
94
+ }
95
+
87
96
  const validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
88
97
  function isValidSelector(selector = '') {
89
98
  return validateFilterRE.test(selector);
@@ -93,14 +102,6 @@ function splitCode(code, allowDoubleQuotes = false) {
93
102
  return code.split(splitter).filter(element => isValidSelector(element));
94
103
  }
95
104
 
96
- function decodeUnicode2(input) {
97
- try {
98
- return JSON.parse(`"${input}"`);
99
- }
100
- catch (error) {
101
- return input;
102
- }
103
- }
104
105
  function replaceHandleValue(str, node, options, ms, offset = 0) {
105
106
  const { classNameSet: set, escapeMap, mangleContext: ctx, needEscaped = false, jsPreserveClass, arbitraryValues, always, unescapeUnicode, } = options;
106
107
  const allowDoubleQuotes = arbitraryValues === null || arbitraryValues === void 0 ? void 0 : arbitraryValues.allowDoubleQuotes;
@@ -290,7 +291,7 @@ function jsHandlerAsync(rawSource, options) {
290
291
  }
291
292
  function createJsHandler(options) {
292
293
  const { mangleContext, arbitraryValues, escapeMap, jsPreserveClass, generateMap, jsAstTool, babelParserOptions } = options;
293
- return (rawSource, set, options) => {
294
+ function _jsHandler(rawSource, set, options) {
294
295
  const opts = defaults.defuOverrideArray(options, {
295
296
  classNameSet: set,
296
297
  escapeMap,
@@ -305,34 +306,56 @@ function createJsHandler(options) {
305
306
  return jsHandlerAsync(rawSource, opts);
306
307
  }
307
308
  return jsHandler(rawSource, opts);
308
- };
309
+ }
310
+ function sync(rawSource, set, options) {
311
+ const opts = defaults.defuOverrideArray(options, {
312
+ classNameSet: set,
313
+ escapeMap,
314
+ arbitraryValues,
315
+ mangleContext,
316
+ jsPreserveClass,
317
+ generateMap,
318
+ jsAstTool,
319
+ babelParserOptions,
320
+ });
321
+ return jsHandler(rawSource, opts);
322
+ }
323
+ _jsHandler.sync = sync;
324
+ return _jsHandler;
309
325
  }
310
326
 
311
327
  function generateCode(match, options = {}) {
312
328
  try {
313
- const ms = new MagicString__default["default"](match);
314
- const ast = parser.parseExpression(match);
315
- traverse(ast, {
316
- StringLiteral(path) {
317
- var _a;
318
- if (t__namespace.isMemberExpression(path.parent)) {
319
- return;
320
- }
321
- if (t__namespace.isBinaryExpression(path.parent) && t__namespace.isConditionalExpression((_a = path.parentPath) === null || _a === void 0 ? void 0 : _a.parent)) {
322
- return;
323
- }
324
- const n = path.node;
325
- replaceHandleValue(n.value, n, {
326
- mangleContext: options.mangleContext,
327
- escapeMap: options.escapeMap,
328
- classNameSet: options.runtimeSet,
329
- needEscaped: true,
330
- always: true,
331
- }, ms, 1);
332
- },
333
- noScope: true,
334
- });
335
- return ms.toString();
329
+ const { jsHandler, runtimeSet } = options;
330
+ if (jsHandler && jsHandler.sync && runtimeSet) {
331
+ const { code } = jsHandler.sync(match, runtimeSet);
332
+ return code;
333
+ }
334
+ else {
335
+ const ms = new MagicString__default["default"](match);
336
+ const ast = parser.parseExpression(match);
337
+ traverse(ast, {
338
+ StringLiteral(path) {
339
+ var _a, _b;
340
+ if (t__namespace.isMemberExpression(path.parent)) {
341
+ return;
342
+ }
343
+ if (t__namespace.isBinaryExpression(path.parent) && (t__namespace.isConditionalExpression((_a = path.parentPath) === null || _a === void 0 ? void 0 : _a.parent) || t__namespace.isLogicalExpression((_b = path.parentPath) === null || _b === void 0 ? void 0 : _b.parent))) {
344
+ return;
345
+ }
346
+ const n = path.node;
347
+ replaceHandleValue(n.value, n, {
348
+ mangleContext: options.mangleContext,
349
+ escapeMap: options.escapeMap,
350
+ classNameSet: options.runtimeSet,
351
+ needEscaped: true,
352
+ always: true,
353
+ }, ms, 1);
354
+ },
355
+ noScope: true,
356
+ });
357
+ return ms.toString();
358
+ }
336
359
  }
337
360
  catch (_a) {
338
361
  return match;
package/dist/types.d.ts CHANGED
@@ -124,7 +124,10 @@ export interface UserDefinedOptions {
124
124
  postcssOptions?: PostcssOptions;
125
125
  cssRemoveHoverPseudoClass?: boolean;
126
126
  }
127
- export type JsHandler = (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions) => JsHandlerResult | Promise<JsHandlerResult>;
127
+ export interface JsHandler {
128
+ (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions): JsHandlerResult | Promise<JsHandlerResult>;
129
+ sync: (rawSource: string, set: Set<string>, options?: CreateJsHandlerOptions) => JsHandlerResult;
130
+ }
128
131
  export interface IMangleScopeContext {
129
132
  rawOptions: UserDefinedOptions['mangle'];
130
133
  runtimeSet: Set<string>;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var options = require('./options-B7DqzgQ8.js');
3
+ var options = require('./options-a5qXPOAM.js');
4
4
  var path = require('node:path');
5
5
  var fs = require('node:fs');
6
6
  var index = require('./index-DwZHOkK3.js');
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-623pQbPS.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-EVe-3wGC.mjs';
2
2
  import path from 'node:path';
3
3
  import fs from 'node:fs';
4
4
  import { b as pluginName } from './index-BPzIdybK.mjs';
package/dist/vite.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-kBvY5Jba.js');
6
- require('./options-B7DqzgQ8.js');
5
+ var index = require('./index-o6B8-Dgr.js');
6
+ require('./options-a5qXPOAM.js');
7
7
  require('magic-string');
8
8
  require('./replace.js');
9
9
  require('@weapp-core/escape');
package/dist/vite.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { U as UnifiedViteWeappTailwindcssPlugin } from './index-DZAayQkp.mjs';
2
- import './options-623pQbPS.mjs';
1
+ export { U as UnifiedViteWeappTailwindcssPlugin } from './index-BExhXAqi.mjs';
2
+ import './options-EVe-3wGC.mjs';
3
3
  import 'magic-string';
4
4
  import './replace.mjs';
5
5
  import '@weapp-core/escape';
package/dist/webpack.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var v5 = require('./v5-B_M1SQUm.js');
6
- require('./options-B7DqzgQ8.js');
5
+ var v5 = require('./v5-B-T2TD9C.js');
6
+ require('./options-a5qXPOAM.js');
7
7
  require('magic-string');
8
8
  require('./replace.js');
9
9
  require('@weapp-core/escape');
package/dist/webpack.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { U as UnifiedWebpackPluginV5 } from './v5-C4BtnBDn.mjs';
2
- import './options-623pQbPS.mjs';
1
+ export { U as UnifiedWebpackPluginV5 } from './v5-DCkl8s2F.mjs';
2
+ import './options-EVe-3wGC.mjs';
3
3
  import 'magic-string';
4
4
  import './replace.mjs';
5
5
  import '@weapp-core/escape';
package/dist/webpack4.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var options = require('./options-B7DqzgQ8.js');
5
+ var options = require('./options-a5qXPOAM.js');
6
6
  var path = require('node:path');
7
7
  var fs = require('node:fs');
8
8
  var webpackSources = require('webpack-sources');
package/dist/webpack4.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-623pQbPS.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-EVe-3wGC.mjs';
2
2
  import path from 'node:path';
3
3
  import fs from 'node:fs';
4
4
  import { ConcatSource, RawSource } from 'webpack-sources';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weapp-tailwindcss",
3
- "version": "3.3.4-alpha.0",
3
+ "version": "3.3.5",
4
4
  "description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
5
5
  "author": "SonOfMagic <qq1324318532@gmail.com>",
6
6
  "license": "MIT",
@@ -137,10 +137,10 @@
137
137
  "debug": "4.3.5",
138
138
  "htmlparser2": "9.1.0",
139
139
  "loader-utils": "2.0.4",
140
- "lru-cache": "10.2.2",
140
+ "lru-cache": "10.3.1",
141
141
  "magic-string": "0.30.10",
142
142
  "md5": "2.3.0",
143
- "postcss": "8.4.38",
143
+ "postcss": "8.4.39",
144
144
  "postcss-rem-to-responsive-pixel": "^6.0.1",
145
145
  "postcss-selector-parser": "6.1.0",
146
146
  "semver": "7.6.2",