weapp-tailwindcss 4.5.0-alpha.0 → 4.5.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.
@@ -12,7 +12,7 @@ var _chunkOGROHM4Ljs = require('./chunk-OGROHM4L.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
15
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
16
16
 
17
17
 
18
18
  var _chunkPLMJW644js = require('./chunk-PLMJW644.js');
@@ -50,7 +50,7 @@ function createClassAttributeUpdater(ms) {
50
50
  function createClassDirectiveUpdater(ms, jsHandler, runtimeSet) {
51
51
  return (prop) => {
52
52
  if (_optionalChain([prop, 'access', _ => _.arg, 'optionalAccess', _2 => _2.type]) === _compilerdom.NodeTypes.SIMPLE_EXPRESSION && prop.arg.content === "class" && _optionalChain([prop, 'access', _3 => _3.exp, 'optionalAccess', _4 => _4.type]) === _compilerdom.NodeTypes.SIMPLE_EXPRESSION) {
53
- const generated = _chunkBMXULECQjs.generateCode.call(void 0, prop.exp.content, {
53
+ const generated = _chunkXYYHPJOQjs.generateCode.call(void 0, prop.exp.content, {
54
54
  jsHandler,
55
55
  runtimeSet
56
56
  });
@@ -236,7 +236,7 @@ function applyLinkedResults(linked, entries, onLinkedUpdate) {
236
236
  }
237
237
  }
238
238
  function UnifiedViteWeappTailwindcssPlugin(options = {}) {
239
- const opts = _chunkBMXULECQjs.getCompilerContext.call(void 0, options);
239
+ const opts = _chunkXYYHPJOQjs.getCompilerContext.call(void 0, options);
240
240
  const {
241
241
  disabled,
242
242
  onEnd,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-H4JTYYOI.mjs";
5
5
  import {
6
6
  getCompilerContext
7
- } from "./chunk-3KKB4FSY.mjs";
7
+ } from "./chunk-Z7Q5UFNU.mjs";
8
8
 
9
9
  // src/bundlers/gulp/index.ts
10
10
  import { Buffer } from "buffer";
@@ -14,7 +14,7 @@ var _chunk2NRTWL47js = require('./chunk-2NRTWL47.js');
14
14
  var _chunkOGROHM4Ljs = require('./chunk-OGROHM4L.js');
15
15
 
16
16
 
17
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
17
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
18
18
 
19
19
 
20
20
  var _chunkUW3WHSZ5js = require('./chunk-UW3WHSZ5.js');
@@ -26,7 +26,7 @@ var _process = require('process'); var _process2 = _interopRequireDefault(_proce
26
26
  var debug = _chunk2NRTWL47js.createDebug.call(void 0, );
27
27
  var UnifiedWebpackPluginV5 = class {
28
28
  constructor(options = {}) {
29
- this.options = _chunkBMXULECQjs.getCompilerContext.call(void 0, options);
29
+ this.options = _chunkXYYHPJOQjs.getCompilerContext.call(void 0, options);
30
30
  this.appType = this.options.appType;
31
31
  }
32
32
  apply(compiler) {
@@ -4,7 +4,7 @@
4
4
  var _chunk2NRTWL47js = require('./chunk-2NRTWL47.js');
5
5
 
6
6
 
7
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
7
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
8
8
 
9
9
  // src/bundlers/gulp/index.ts
10
10
  var _buffer = require('buffer');
@@ -15,7 +15,7 @@ var _stream = require('stream'); var _stream2 = _interopRequireDefault(_stream);
15
15
  var debug = _chunk2NRTWL47js.createDebug.call(void 0, );
16
16
  var Transform = _stream2.default.Transform;
17
17
  function createPlugins(options = {}) {
18
- const opts = _chunkBMXULECQjs.getCompilerContext.call(void 0, options);
18
+ const opts = _chunkXYYHPJOQjs.getCompilerContext.call(void 0, options);
19
19
  const { templateHandler, styleHandler, jsHandler, setMangleRuntimeSet, cache, twPatcher } = opts;
20
20
  let runtimeSet = /* @__PURE__ */ new Set();
21
21
  twPatcher.patch();
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-CMUA5KCO.mjs";
15
15
  import {
16
16
  getCompilerContext
17
- } from "./chunk-3KKB4FSY.mjs";
17
+ } from "./chunk-Z7Q5UFNU.mjs";
18
18
  import {
19
19
  getGroupedEntries
20
20
  } from "./chunk-ZNKIYZRQ.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  generateCode,
14
14
  getCompilerContext
15
- } from "./chunk-3KKB4FSY.mjs";
15
+ } from "./chunk-Z7Q5UFNU.mjs";
16
16
  import {
17
17
  replaceWxml
18
18
  } from "./chunk-Q67IXIAH.mjs";
@@ -1720,6 +1720,41 @@ function createTailwindcssPatcherFromContext(ctx) {
1720
1720
  }
1721
1721
 
1722
1722
  // src/context/index.ts
1723
+ var DEFAULT_SPACING_VARIABLE = "--spacing";
1724
+ function matchesSpacingToken(token) {
1725
+ if (typeof token === "string") {
1726
+ return token === DEFAULT_SPACING_VARIABLE;
1727
+ }
1728
+ token.lastIndex = 0;
1729
+ return token.test(DEFAULT_SPACING_VARIABLE);
1730
+ }
1731
+ function ensureSpacingIncluded(value) {
1732
+ if (value === true) {
1733
+ return {
1734
+ includeCustomProperties: [DEFAULT_SPACING_VARIABLE]
1735
+ };
1736
+ }
1737
+ if (Array.isArray(value)) {
1738
+ return value.some(matchesSpacingToken) ? value : [...value, DEFAULT_SPACING_VARIABLE];
1739
+ }
1740
+ if (value && typeof value === "object") {
1741
+ const include = value.includeCustomProperties;
1742
+ if (!Array.isArray(include) || include.length === 0) {
1743
+ return {
1744
+ ...value,
1745
+ includeCustomProperties: [DEFAULT_SPACING_VARIABLE]
1746
+ };
1747
+ }
1748
+ if (include.some(matchesSpacingToken)) {
1749
+ return value;
1750
+ }
1751
+ return {
1752
+ ...value,
1753
+ includeCustomProperties: [...include, DEFAULT_SPACING_VARIABLE]
1754
+ };
1755
+ }
1756
+ return value;
1757
+ }
1723
1758
  function getCompilerContext(opts) {
1724
1759
  const ctx = _chunkUW3WHSZ5js.defuOverrideArray.call(void 0,
1725
1760
  opts,
@@ -1734,7 +1769,11 @@ function getCompilerContext(opts) {
1734
1769
  } else {
1735
1770
  _logger.logger.warn(`${_logger.pc.cyanBright("Tailwind CSS")} \u672A\u5B89\u88C5\uFF0C\u5DF2\u8DF3\u8FC7\u7248\u672C\u68C0\u6D4B\u4E0E\u8865\u4E01\u5E94\u7528\u3002`);
1736
1771
  }
1737
- const cssCalcOptions = _nullishCoalesce(ctx.cssCalc, () => ( twPatcher.majorVersion === 4));
1772
+ let cssCalcOptions = _nullishCoalesce(ctx.cssCalc, () => ( twPatcher.majorVersion === 4));
1773
+ if (twPatcher.majorVersion === 4 && cssCalcOptions) {
1774
+ cssCalcOptions = ensureSpacingIncluded(cssCalcOptions);
1775
+ }
1776
+ ctx.cssCalc = cssCalcOptions;
1738
1777
  const customAttributesEntities = toCustomAttributesEntities(ctx.customAttributes);
1739
1778
  const { initMangle, mangleContext, setMangleRuntimeSet } = _mangle.useMangleStore.call(void 0, );
1740
1779
  initMangle(ctx.mangle);
@@ -1717,6 +1717,41 @@ function createTailwindcssPatcherFromContext(ctx) {
1717
1717
  }
1718
1718
 
1719
1719
  // src/context/index.ts
1720
+ var DEFAULT_SPACING_VARIABLE = "--spacing";
1721
+ function matchesSpacingToken(token) {
1722
+ if (typeof token === "string") {
1723
+ return token === DEFAULT_SPACING_VARIABLE;
1724
+ }
1725
+ token.lastIndex = 0;
1726
+ return token.test(DEFAULT_SPACING_VARIABLE);
1727
+ }
1728
+ function ensureSpacingIncluded(value) {
1729
+ if (value === true) {
1730
+ return {
1731
+ includeCustomProperties: [DEFAULT_SPACING_VARIABLE]
1732
+ };
1733
+ }
1734
+ if (Array.isArray(value)) {
1735
+ return value.some(matchesSpacingToken) ? value : [...value, DEFAULT_SPACING_VARIABLE];
1736
+ }
1737
+ if (value && typeof value === "object") {
1738
+ const include = value.includeCustomProperties;
1739
+ if (!Array.isArray(include) || include.length === 0) {
1740
+ return {
1741
+ ...value,
1742
+ includeCustomProperties: [DEFAULT_SPACING_VARIABLE]
1743
+ };
1744
+ }
1745
+ if (include.some(matchesSpacingToken)) {
1746
+ return value;
1747
+ }
1748
+ return {
1749
+ ...value,
1750
+ includeCustomProperties: [...include, DEFAULT_SPACING_VARIABLE]
1751
+ };
1752
+ }
1753
+ return value;
1754
+ }
1720
1755
  function getCompilerContext(opts) {
1721
1756
  const ctx = defuOverrideArray(
1722
1757
  opts,
@@ -1731,7 +1766,11 @@ function getCompilerContext(opts) {
1731
1766
  } else {
1732
1767
  logger3.warn(`${pc.cyanBright("Tailwind CSS")} \u672A\u5B89\u88C5\uFF0C\u5DF2\u8DF3\u8FC7\u7248\u672C\u68C0\u6D4B\u4E0E\u8865\u4E01\u5E94\u7528\u3002`);
1733
1768
  }
1734
- const cssCalcOptions = ctx.cssCalc ?? twPatcher.majorVersion === 4;
1769
+ let cssCalcOptions = ctx.cssCalc ?? twPatcher.majorVersion === 4;
1770
+ if (twPatcher.majorVersion === 4 && cssCalcOptions) {
1771
+ cssCalcOptions = ensureSpacingIncluded(cssCalcOptions);
1772
+ }
1773
+ ctx.cssCalc = cssCalcOptions;
1735
1774
  const customAttributesEntities = toCustomAttributesEntities(ctx.customAttributes);
1736
1775
  const { initMangle, mangleContext, setMangleRuntimeSet } = useMangleStore();
1737
1776
  initMangle(ctx.mangle);
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ var _chunkOXASK55Qjs = require('./chunk-OXASK55Q.js');
6
6
  var _chunkOGROHM4Ljs = require('./chunk-OGROHM4L.js');
7
7
 
8
8
 
9
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
9
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
10
10
  require('./chunk-PLMJW644.js');
11
11
  require('./chunk-FOSGDQZ7.js');
12
12
  require('./chunk-UW3WHSZ5.js');
@@ -24,6 +24,6 @@ if (_semver2.default.lt(_process2.default.versions.node, _chunkOGROHM4Ljs.WEAPP_
24
24
  }
25
25
  var command = args[0];
26
26
  if (command === "patch") {
27
- const ctx = _chunkBMXULECQjs.getCompilerContext.call(void 0, );
27
+ const ctx = _chunkXYYHPJOQjs.getCompilerContext.call(void 0, );
28
28
  ctx.twPatcher.patch();
29
29
  }
package/dist/cli.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-CMUA5KCO.mjs";
7
7
  import {
8
8
  getCompilerContext
9
- } from "./chunk-3KKB4FSY.mjs";
9
+ } from "./chunk-Z7Q5UFNU.mjs";
10
10
  import "./chunk-Q67IXIAH.mjs";
11
11
  import "./chunk-IHKVNALD.mjs";
12
12
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
3
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
4
4
  require('./chunk-PLMJW644.js');
5
5
  require('./chunk-FOSGDQZ7.js');
6
6
  require('./chunk-UW3WHSZ5.js');
@@ -9,7 +9,7 @@ require('./chunk-NHB7NFQC.js');
9
9
  // src/core.ts
10
10
  var _shared = require('@weapp-tailwindcss/shared');
11
11
  function createContext(options = {}) {
12
- const opts = _chunkBMXULECQjs.getCompilerContext.call(void 0, options);
12
+ const opts = _chunkXYYHPJOQjs.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-3KKB4FSY.mjs";
3
+ } from "./chunk-Z7Q5UFNU.mjs";
4
4
  import "./chunk-Q67IXIAH.mjs";
5
5
  import "./chunk-IHKVNALD.mjs";
6
6
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/gulp.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkV4SEPP3Fjs = require('./chunk-V4SEPP3F.js');
3
+ var _chunkMRKRCDIEjs = require('./chunk-MRKRCDIE.js');
4
4
  require('./chunk-2NRTWL47.js');
5
- require('./chunk-BMXULECQ.js');
5
+ require('./chunk-XYYHPJOQ.js');
6
6
  require('./chunk-PLMJW644.js');
7
7
  require('./chunk-FOSGDQZ7.js');
8
8
  require('./chunk-UW3WHSZ5.js');
9
9
  require('./chunk-NHB7NFQC.js');
10
10
 
11
11
 
12
- exports.createPlugins = _chunkV4SEPP3Fjs.createPlugins;
12
+ exports.createPlugins = _chunkMRKRCDIEjs.createPlugins;
package/dist/gulp.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createPlugins
3
- } from "./chunk-6L7B4COX.mjs";
3
+ } from "./chunk-DKUPUV4T.mjs";
4
4
  import "./chunk-H4JTYYOI.mjs";
5
- import "./chunk-3KKB4FSY.mjs";
5
+ import "./chunk-Z7Q5UFNU.mjs";
6
6
  import "./chunk-Q67IXIAH.mjs";
7
7
  import "./chunk-IHKVNALD.mjs";
8
8
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-O2IOQ3BD.js');
2
2
 
3
3
 
4
- var _chunkAMP5MSHSjs = require('./chunk-AMP5MSHS.js');
4
+ var _chunkIO3RB6AQjs = require('./chunk-IO3RB6AQ.js');
5
5
  require('./chunk-6GP37C26.js');
6
6
 
7
7
 
8
- var _chunkV4SEPP3Fjs = require('./chunk-V4SEPP3F.js');
8
+ var _chunkMRKRCDIEjs = require('./chunk-MRKRCDIE.js');
9
9
 
10
10
 
11
- var _chunkRELKXSH6js = require('./chunk-RELKXSH6.js');
11
+ var _chunk4NWVZ7I2js = require('./chunk-4NWVZ7I2.js');
12
12
  require('./chunk-WVKK6TBL.js');
13
13
  require('./chunk-2NRTWL47.js');
14
14
  require('./chunk-OGROHM4L.js');
15
- require('./chunk-BMXULECQ.js');
15
+ require('./chunk-XYYHPJOQ.js');
16
16
  require('./chunk-PLMJW644.js');
17
17
  require('./chunk-FOSGDQZ7.js');
18
18
  require('./chunk-UW3WHSZ5.js');
@@ -21,4 +21,4 @@ require('./chunk-NHB7NFQC.js');
21
21
 
22
22
 
23
23
 
24
- exports.UnifiedViteWeappTailwindcssPlugin = _chunkRELKXSH6js.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunkAMP5MSHSjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunkV4SEPP3Fjs.createPlugins;
24
+ exports.UnifiedViteWeappTailwindcssPlugin = _chunk4NWVZ7I2js.UnifiedViteWeappTailwindcssPlugin; exports.UnifiedWebpackPluginV5 = _chunkIO3RB6AQjs.UnifiedWebpackPluginV5; exports.createPlugins = _chunkMRKRCDIEjs.createPlugins;
package/dist/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
1
  import "./chunk-YAN7TO2B.mjs";
2
2
  import {
3
3
  UnifiedWebpackPluginV5
4
- } from "./chunk-RWW76EBW.mjs";
4
+ } from "./chunk-OHUQYFGP.mjs";
5
5
  import "./chunk-2F7HOQQY.mjs";
6
6
  import {
7
7
  createPlugins
8
- } from "./chunk-6L7B4COX.mjs";
8
+ } from "./chunk-DKUPUV4T.mjs";
9
9
  import {
10
10
  UnifiedViteWeappTailwindcssPlugin
11
- } from "./chunk-JLKUUNWL.mjs";
11
+ } from "./chunk-RQGIJKLG.mjs";
12
12
  import "./chunk-34T2BFTJ.mjs";
13
13
  import "./chunk-H4JTYYOI.mjs";
14
14
  import "./chunk-CMUA5KCO.mjs";
15
- import "./chunk-3KKB4FSY.mjs";
15
+ import "./chunk-Z7Q5UFNU.mjs";
16
16
  import "./chunk-Q67IXIAH.mjs";
17
17
  import "./chunk-IHKVNALD.mjs";
18
18
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/vite.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRELKXSH6js = require('./chunk-RELKXSH6.js');
3
+ var _chunk4NWVZ7I2js = require('./chunk-4NWVZ7I2.js');
4
4
  require('./chunk-WVKK6TBL.js');
5
5
  require('./chunk-2NRTWL47.js');
6
6
  require('./chunk-OGROHM4L.js');
7
- require('./chunk-BMXULECQ.js');
7
+ require('./chunk-XYYHPJOQ.js');
8
8
  require('./chunk-PLMJW644.js');
9
9
  require('./chunk-FOSGDQZ7.js');
10
10
  require('./chunk-UW3WHSZ5.js');
11
11
  require('./chunk-NHB7NFQC.js');
12
12
 
13
13
 
14
- exports.UnifiedViteWeappTailwindcssPlugin = _chunkRELKXSH6js.UnifiedViteWeappTailwindcssPlugin;
14
+ exports.UnifiedViteWeappTailwindcssPlugin = _chunk4NWVZ7I2js.UnifiedViteWeappTailwindcssPlugin;
package/dist/vite.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  UnifiedViteWeappTailwindcssPlugin
3
- } from "./chunk-JLKUUNWL.mjs";
3
+ } from "./chunk-RQGIJKLG.mjs";
4
4
  import "./chunk-34T2BFTJ.mjs";
5
5
  import "./chunk-H4JTYYOI.mjs";
6
6
  import "./chunk-CMUA5KCO.mjs";
7
- import "./chunk-3KKB4FSY.mjs";
7
+ import "./chunk-Z7Q5UFNU.mjs";
8
8
  import "./chunk-Q67IXIAH.mjs";
9
9
  import "./chunk-IHKVNALD.mjs";
10
10
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/webpack.js CHANGED
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAMP5MSHSjs = require('./chunk-AMP5MSHS.js');
3
+ var _chunkIO3RB6AQjs = require('./chunk-IO3RB6AQ.js');
4
4
  require('./chunk-6GP37C26.js');
5
5
  require('./chunk-WVKK6TBL.js');
6
6
  require('./chunk-2NRTWL47.js');
7
7
  require('./chunk-OGROHM4L.js');
8
- require('./chunk-BMXULECQ.js');
8
+ require('./chunk-XYYHPJOQ.js');
9
9
  require('./chunk-PLMJW644.js');
10
10
  require('./chunk-FOSGDQZ7.js');
11
11
  require('./chunk-UW3WHSZ5.js');
12
12
  require('./chunk-NHB7NFQC.js');
13
13
 
14
14
 
15
- exports.UnifiedWebpackPluginV5 = _chunkAMP5MSHSjs.UnifiedWebpackPluginV5;
15
+ exports.UnifiedWebpackPluginV5 = _chunkIO3RB6AQjs.UnifiedWebpackPluginV5;
package/dist/webpack.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  UnifiedWebpackPluginV5
3
- } from "./chunk-RWW76EBW.mjs";
3
+ } from "./chunk-OHUQYFGP.mjs";
4
4
  import "./chunk-2F7HOQQY.mjs";
5
5
  import "./chunk-34T2BFTJ.mjs";
6
6
  import "./chunk-H4JTYYOI.mjs";
7
7
  import "./chunk-CMUA5KCO.mjs";
8
- import "./chunk-3KKB4FSY.mjs";
8
+ import "./chunk-Z7Q5UFNU.mjs";
9
9
  import "./chunk-Q67IXIAH.mjs";
10
10
  import "./chunk-IHKVNALD.mjs";
11
11
  import "./chunk-ZNKIYZRQ.mjs";
package/dist/webpack4.js CHANGED
@@ -14,7 +14,7 @@ var _chunk2NRTWL47js = require('./chunk-2NRTWL47.js');
14
14
  var _chunkOGROHM4Ljs = require('./chunk-OGROHM4L.js');
15
15
 
16
16
 
17
- var _chunkBMXULECQjs = require('./chunk-BMXULECQ.js');
17
+ var _chunkXYYHPJOQjs = require('./chunk-XYYHPJOQ.js');
18
18
  require('./chunk-PLMJW644.js');
19
19
  require('./chunk-FOSGDQZ7.js');
20
20
 
@@ -30,7 +30,7 @@ var _webpacksources = require('webpack-sources');
30
30
  var debug = _chunk2NRTWL47js.createDebug.call(void 0, );
31
31
  var UnifiedWebpackPluginV4 = class {
32
32
  constructor(options = {}) {
33
- this.options = _chunkBMXULECQjs.getCompilerContext.call(void 0, options);
33
+ this.options = _chunkXYYHPJOQjs.getCompilerContext.call(void 0, options);
34
34
  this.appType = this.options.appType;
35
35
  }
36
36
  apply(compiler) {
package/dist/webpack4.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-CMUA5KCO.mjs";
15
15
  import {
16
16
  getCompilerContext
17
- } from "./chunk-3KKB4FSY.mjs";
17
+ } from "./chunk-Z7Q5UFNU.mjs";
18
18
  import "./chunk-Q67IXIAH.mjs";
19
19
  import "./chunk-IHKVNALD.mjs";
20
20
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weapp-tailwindcss",
3
- "version": "4.5.0-alpha.0",
3
+ "version": "4.5.0",
4
4
  "description": "把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!",
5
5
  "author": "ice breaker <1324318532@qq.com>",
6
6
  "license": "MIT",
@@ -176,9 +176,9 @@
176
176
  "vue": "^3.5.22",
177
177
  "webpack-sources": "3.3.3",
178
178
  "@weapp-tailwindcss/logger": "1.1.0",
179
- "@weapp-tailwindcss/mangle": "1.0.6-alpha.0",
180
- "@weapp-tailwindcss/postcss": "1.3.3-alpha.0",
181
- "@weapp-tailwindcss/shared": "1.1.0-alpha.0"
179
+ "@weapp-tailwindcss/mangle": "1.0.6",
180
+ "@weapp-tailwindcss/postcss": "1.3.3",
181
+ "@weapp-tailwindcss/shared": "1.1.0"
182
182
  },
183
183
  "devDependencies": {
184
184
  "@ampproject/remapping": "^2.3.0",