weapp-tailwindcss 3.3.1 → 3.3.2-alpha.0

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.
@@ -11,6 +11,6 @@ export declare const traverse: {
11
11
  node: (node: import("@babel/types").Node, opts: import("@babel/traverse").TraverseOptions<import("@babel/types").Node>, scope?: import("@babel/traverse").Scope | undefined, state?: any, path?: import("@babel/traverse").NodePath<import("@babel/types").Node> | undefined, skipKeys?: Record<string, boolean> | undefined) => void;
12
12
  clearNode: (node: import("@babel/types").Node, opts?: import("@babel/types").RemovePropertiesOptions | undefined) => void;
13
13
  removeProperties: (tree: import("@babel/types").Node, opts?: import("@babel/types").RemovePropertiesOptions | undefined) => import("@babel/types").Node;
14
- hasType: (tree: import("@babel/types").Node, type: "File" | "ArrayExpression" | "AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression", denylistTypes?: string[] | undefined) => boolean;
14
+ hasType: (tree: import("@babel/types").Node, type: "AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression", denylistTypes?: string[] | undefined) => boolean;
15
15
  cache: typeof import("@babel/traverse").cache;
16
16
  };
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ import type { Buffer } from 'node:buffer';
2
3
  import { LRUCache } from 'lru-cache';
3
4
  import type { sources } from 'webpack';
4
5
  export interface HashMapValue {
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-6jN9OATi.js');
5
+ var options = require('./options-CWTucIUE.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-Dzp45zNb.mjs';
3
+ import { g as getOptions } from './options-BknKvI1z.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.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var options = require('./options-6jN9OATi.js');
5
+ var options = require('./options-CWTucIUE.js');
6
6
  require('magic-string');
7
7
  require('./replace.js');
8
8
  require('@weapp-core/escape');
@@ -32,10 +32,9 @@ require('md5');
32
32
 
33
33
  function createContext(options$1 = {}) {
34
34
  const opts = options.getOptions(options$1);
35
- const { templateHandler, styleHandler, patch, jsHandler, tailwindcssBasedir } = opts;
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
- const twPatcher = options.createTailwindcssPatcher(tailwindcssBasedir);
39
38
  function transformWxss(rawCss) {
40
39
  return options.__awaiter(this, void 0, void 0, function* () {
41
40
  const code = yield styleHandler(rawCss, {
package/dist/core.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Dzp45zNb.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-BknKvI1z.mjs';
2
2
  import 'magic-string';
3
3
  import './replace.mjs';
4
4
  import '@weapp-core/escape';
@@ -28,10 +28,9 @@ import 'md5';
28
28
 
29
29
  function createContext(options = {}) {
30
30
  const opts = getOptions(options);
31
- const { templateHandler, styleHandler, patch, jsHandler, tailwindcssBasedir } = opts;
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
- const twPatcher = createTailwindcssPatcher(tailwindcssBasedir);
35
34
  function transformWxss(rawCss) {
36
35
  return __awaiter(this, void 0, void 0, function* () {
37
36
  const code = yield styleHandler(rawCss, {
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-BUKdNfgQ.js');
6
- require('./options-6jN9OATi.js');
5
+ var index = require('./index-CaB13TS1.js');
6
+ require('./options-CWTucIUE.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-Cs_Dzdmq.mjs';
2
- import './options-Dzp45zNb.mjs';
1
+ export { c as createPlugins } from './index-C1HZVhiY.mjs';
2
+ import './options-BknKvI1z.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-Dzp45zNb.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-BknKvI1z.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-6jN9OATi.js');
3
+ var options = require('./options-CWTucIUE.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-6jN9OATi.js');
3
+ var options = require('./options-CWTucIUE.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');
@@ -1,4 +1,4 @@
1
- import { g as getOptions, _ as __awaiter } from './options-Dzp45zNb.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-BknKvI1z.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';
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-iC-oTPvp.js');
6
- var index = require('./index-Bo1YmwH_.js');
7
- var index$1 = require('./index-BUKdNfgQ.js');
8
- require('./options-6jN9OATi.js');
5
+ var v5 = require('./v5-DAH0FUHq.js');
6
+ var index = require('./index-DRT-eOAe.js');
7
+ var index$1 = require('./index-CaB13TS1.js');
8
+ require('./options-CWTucIUE.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-BpDhu0Ad.mjs';
2
- export { U as UnifiedViteWeappTailwindcssPlugin } from './index-xZOevFHu.mjs';
3
- export { c as createPlugins } from './index-Cs_Dzdmq.mjs';
4
- import './options-Dzp45zNb.mjs';
1
+ export { U as UnifiedWebpackPluginV5 } from './v5-DOhHWLjR.mjs';
2
+ export { U as UnifiedViteWeappTailwindcssPlugin } from './index-DpII6RJo.mjs';
3
+ export { c as createPlugins } from './index-C1HZVhiY.mjs';
4
+ import './options-BknKvI1z.mjs';
5
5
  import 'magic-string';
6
6
  import './replace.mjs';
7
7
  import '@weapp-core/escape';
@@ -52,7 +52,7 @@ 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
- const validateFilterRE = /[\w%-?\u00A0-\uFFFF-]/;
55
+ const validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
56
56
  function isValidSelector(selector = '') {
57
57
  return validateFilterRE.test(selector);
58
58
  }
@@ -802,4 +802,4 @@ function getOptions(opts) {
802
802
  return result;
803
803
  }
804
804
 
805
- export { __awaiter as _, createTailwindcssPatcher as c, getOptions as g };
805
+ export { __awaiter as _, getOptions as g };
@@ -83,7 +83,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
83
83
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
84
84
  };
85
85
 
86
- const validateFilterRE = /[\w%-?\u00A0-\uFFFF-]/;
86
+ const validateFilterRE = /[\w\u00A0-\uFFFF%-?]/;
87
87
  function isValidSelector(selector = '') {
88
88
  return validateFilterRE.test(selector);
89
89
  }
@@ -834,5 +834,4 @@ function getOptions(opts) {
834
834
  }
835
835
 
836
836
  exports.__awaiter = __awaiter;
837
- exports.createTailwindcssPatcher = createTailwindcssPatcher;
838
837
  exports.getOptions = getOptions;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var options = require('./options-6jN9OATi.js');
3
+ var options = require('./options-CWTucIUE.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-Dzp45zNb.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-BknKvI1z.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-Bo1YmwH_.js');
6
- require('./options-6jN9OATi.js');
5
+ var index = require('./index-DRT-eOAe.js');
6
+ require('./options-CWTucIUE.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-xZOevFHu.mjs';
2
- import './options-Dzp45zNb.mjs';
1
+ export { U as UnifiedViteWeappTailwindcssPlugin } from './index-DpII6RJo.mjs';
2
+ import './options-BknKvI1z.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-iC-oTPvp.js');
6
- require('./options-6jN9OATi.js');
5
+ var v5 = require('./v5-DAH0FUHq.js');
6
+ require('./options-CWTucIUE.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-BpDhu0Ad.mjs';
2
- import './options-Dzp45zNb.mjs';
1
+ export { U as UnifiedWebpackPluginV5 } from './v5-DOhHWLjR.mjs';
2
+ import './options-BknKvI1z.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-6jN9OATi.js');
5
+ var options = require('./options-CWTucIUE.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-Dzp45zNb.mjs';
1
+ import { g as getOptions, _ as __awaiter } from './options-BknKvI1z.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.1",
3
+ "version": "3.3.2-alpha.0",
4
4
  "description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
5
5
  "author": "SonOfMagic <qq1324318532@gmail.com>",
6
6
  "license": "MIT",
@@ -131,7 +131,7 @@
131
131
  "@babel/traverse": "7.24.7",
132
132
  "@babel/types": "7.24.7",
133
133
  "@csstools/postcss-is-pseudo-class": "4.0.8",
134
- "@tailwindcss-mangle/shared": "^2.2.2",
134
+ "@tailwindcss-mangle/shared": "^3.0.0",
135
135
  "@weapp-core/escape": "^2.0.0",
136
136
  "@weapp-core/regex": "^1.0.1",
137
137
  "debug": "4.3.5",
@@ -144,7 +144,7 @@
144
144
  "postcss-rem-to-responsive-pixel": "^6.0.1",
145
145
  "postcss-selector-parser": "6.1.0",
146
146
  "semver": "7.6.2",
147
- "tailwindcss-patch": "^3.0.0",
147
+ "tailwindcss-patch": "^3.0.2",
148
148
  "webpack-sources": "3.2.3"
149
149
  },
150
150
  "scripts": {