weapp-tailwindcss 4.12.0-alpha.3 → 4.12.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.
Files changed (44) hide show
  1. package/dist/{chunk-L3O54VR6.js → chunk-24AGZQVR.js} +2 -2
  2. package/dist/{chunk-6VMGUTN6.mjs → chunk-57SOQCAU.mjs} +4 -4
  3. package/dist/{chunk-I5H5RDWS.mjs → chunk-5ZYHNDEK.mjs} +61 -23
  4. package/dist/{chunk-P2X2S444.js → chunk-DUHYLR2R.js} +7 -7
  5. package/dist/{chunk-UVMAPQU7.js → chunk-FS2NOOEB.js} +5 -5
  6. package/dist/{chunk-OSWTWMAK.js → chunk-HVNGIKLS.js} +33 -23
  7. package/dist/{chunk-2PFYPSPO.js → chunk-JZQBZHN5.js} +39 -39
  8. package/dist/{chunk-J6FIO3RO.mjs → chunk-KGTVD4EP.mjs} +19 -9
  9. package/dist/{chunk-HL3US2OT.mjs → chunk-NNOQDMUP.mjs} +1 -1
  10. package/dist/{chunk-SON7XE3T.js → chunk-OFB2KBRP.js} +146 -108
  11. package/dist/{chunk-AYJ4HLWZ.mjs → chunk-PCDYXXSK.mjs} +11 -4
  12. package/dist/{chunk-ONLKZIRQ.js → chunk-RKISS72P.js} +1 -1
  13. package/dist/{chunk-6MIA3KYY.mjs → chunk-RRQZL7FQ.mjs} +1 -1
  14. package/dist/{chunk-XHTCHZVE.mjs → chunk-XZP3MREK.mjs} +1 -1
  15. package/dist/{chunk-NIS74SI6.js → chunk-ZAA5ZG3D.js} +60 -53
  16. package/dist/cli.js +7 -7
  17. package/dist/cli.mjs +7 -7
  18. package/dist/core.js +9 -9
  19. package/dist/core.mjs +3 -3
  20. package/dist/css-macro/postcss.js +1 -1
  21. package/dist/css-macro/postcss.mjs +1 -1
  22. package/dist/css-macro.js +1 -1
  23. package/dist/css-macro.mjs +1 -1
  24. package/dist/defaults.js +1 -1
  25. package/dist/defaults.mjs +1 -1
  26. package/dist/gulp.js +5 -5
  27. package/dist/gulp.mjs +4 -4
  28. package/dist/index.js +9 -9
  29. package/dist/index.mjs +7 -7
  30. package/dist/postcss-html-transform.js +1 -1
  31. package/dist/postcss-html-transform.mjs +1 -1
  32. package/dist/presets.js +6 -6
  33. package/dist/presets.mjs +2 -2
  34. package/dist/reset.js +1 -1
  35. package/dist/reset.mjs +1 -1
  36. package/dist/types.js +1 -1
  37. package/dist/types.mjs +1 -1
  38. package/dist/vite.js +6 -6
  39. package/dist/vite.mjs +4 -4
  40. package/dist/webpack.js +7 -7
  41. package/dist/webpack.mjs +5 -5
  42. package/dist/webpack4.js +35 -35
  43. package/dist/webpack4.mjs +4 -4
  44. package/package.json +8 -8
@@ -7,7 +7,8 @@ function resolveTailwindcssOptions(options) {
7
7
  if (!options) {
8
8
  return void 0;
9
9
  }
10
- return options.tailwindcss ?? options.tailwind;
10
+ const compatOptions = options;
11
+ return compatOptions.tailwindcss ?? compatOptions.tailwind;
11
12
  }
12
13
  function normalizeExtendLengthUnits(value) {
13
14
  if (value === false) {
@@ -232,23 +233,29 @@ function normalizeSignatureValue(value) {
232
233
  }
233
234
  return String(value);
234
235
  }
236
+ function readOptionalProperty(value, key) {
237
+ if (typeof value !== "object" || value === null || !(key in value)) {
238
+ return void 0;
239
+ }
240
+ return value[key];
241
+ }
235
242
  function getTailwindOptionsSignature(twPatcher) {
236
243
  const options = twPatcher.options;
237
244
  const tailwindOptions = resolveTailwindcssOptions(options);
238
245
  return normalizeSignatureValue({
239
246
  projectRoot: options?.projectRoot,
240
247
  packageName: tailwindOptions?.packageName,
241
- versionHint: tailwindOptions?.versionHint,
248
+ versionHint: readOptionalProperty(tailwindOptions, "versionHint"),
242
249
  cwd: tailwindOptions?.cwd,
243
250
  config: tailwindOptions?.config,
244
251
  v2: tailwindOptions?.v2,
245
252
  v3: tailwindOptions?.v3,
246
253
  v4: {
247
254
  base: tailwindOptions?.v4?.base,
248
- configuredBase: tailwindOptions?.v4?.configuredBase,
255
+ configuredBase: readOptionalProperty(tailwindOptions?.v4, "configuredBase"),
249
256
  css: tailwindOptions?.v4?.css,
250
257
  cssEntries: tailwindOptions?.v4?.cssEntries,
251
- hasUserDefinedSources: tailwindOptions?.v4?.hasUserDefinedSources,
258
+ hasUserDefinedSources: readOptionalProperty(tailwindOptions?.v4, "hasUserDefinedSources"),
252
259
  sources: tailwindOptions?.v4?.sources
253
260
  }
254
261
  });
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.55.2_@types+node@24.12.2__@swc+core@1.15.32_@swc+_5ed6cbcda668e45f9f2d3d9f21b34c59/node_modules/tsup/assets/cjs_shims.js
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.55.2_@types+node@24.12.2__@swc+core@1.15.33_@swc+_bcceec21436c72f72b5a2f34a0f75238/node_modules/tsup/assets/cjs_shims.js
2
2
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
3
3
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
4
4
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-3VQKDHGP.mjs";
4
4
  import {
5
5
  pluginName
6
- } from "./chunk-J6FIO3RO.mjs";
6
+ } from "./chunk-KGTVD4EP.mjs";
7
7
 
8
8
  // src/shared/mpx.ts
9
9
  import path2 from "path";
@@ -8,7 +8,7 @@ import {
8
8
  refreshTailwindRuntimeState,
9
9
  setupPatchRecorder,
10
10
  shouldSkipJsTransform
11
- } from "./chunk-J6FIO3RO.mjs";
11
+ } from "./chunk-KGTVD4EP.mjs";
12
12
 
13
13
  // src/bundlers/gulp/index.ts
14
14
  import { Buffer } from "buffer";
@@ -3,14 +3,15 @@
3
3
  var _chunkDYLQ6UOIjs = require('./chunk-DYLQ6UOI.js');
4
4
 
5
5
 
6
- var _chunkONLKZIRQjs = require('./chunk-ONLKZIRQ.js');
6
+ var _chunkRKISS72Pjs = require('./chunk-RKISS72P.js');
7
7
 
8
8
  // src/tailwindcss/patcher-options.ts
9
9
  function resolveTailwindcssOptions(options) {
10
10
  if (!options) {
11
11
  return void 0;
12
12
  }
13
- return _nullishCoalesce(options.tailwindcss, () => ( options.tailwind));
13
+ const compatOptions = options;
14
+ return _nullishCoalesce(compatOptions.tailwindcss, () => ( compatOptions.tailwind));
14
15
  }
15
16
  function normalizeExtendLengthUnits(value) {
16
17
  if (value === false) {
@@ -235,33 +236,39 @@ function normalizeSignatureValue(value) {
235
236
  }
236
237
  return String(value);
237
238
  }
239
+ function readOptionalProperty(value, key) {
240
+ if (typeof value !== "object" || value === null || !(key in value)) {
241
+ return void 0;
242
+ }
243
+ return value[key];
244
+ }
238
245
  function getTailwindOptionsSignature(twPatcher) {
239
246
  const options = twPatcher.options;
240
247
  const tailwindOptions = resolveTailwindcssOptions(options);
241
248
  return normalizeSignatureValue({
242
249
  projectRoot: _optionalChain([options, 'optionalAccess', _23 => _23.projectRoot]),
243
250
  packageName: _optionalChain([tailwindOptions, 'optionalAccess', _24 => _24.packageName]),
244
- versionHint: _optionalChain([tailwindOptions, 'optionalAccess', _25 => _25.versionHint]),
245
- cwd: _optionalChain([tailwindOptions, 'optionalAccess', _26 => _26.cwd]),
246
- config: _optionalChain([tailwindOptions, 'optionalAccess', _27 => _27.config]),
247
- v2: _optionalChain([tailwindOptions, 'optionalAccess', _28 => _28.v2]),
248
- v3: _optionalChain([tailwindOptions, 'optionalAccess', _29 => _29.v3]),
251
+ versionHint: readOptionalProperty(tailwindOptions, "versionHint"),
252
+ cwd: _optionalChain([tailwindOptions, 'optionalAccess', _25 => _25.cwd]),
253
+ config: _optionalChain([tailwindOptions, 'optionalAccess', _26 => _26.config]),
254
+ v2: _optionalChain([tailwindOptions, 'optionalAccess', _27 => _27.v2]),
255
+ v3: _optionalChain([tailwindOptions, 'optionalAccess', _28 => _28.v3]),
249
256
  v4: {
250
- base: _optionalChain([tailwindOptions, 'optionalAccess', _30 => _30.v4, 'optionalAccess', _31 => _31.base]),
251
- configuredBase: _optionalChain([tailwindOptions, 'optionalAccess', _32 => _32.v4, 'optionalAccess', _33 => _33.configuredBase]),
252
- css: _optionalChain([tailwindOptions, 'optionalAccess', _34 => _34.v4, 'optionalAccess', _35 => _35.css]),
253
- cssEntries: _optionalChain([tailwindOptions, 'optionalAccess', _36 => _36.v4, 'optionalAccess', _37 => _37.cssEntries]),
254
- hasUserDefinedSources: _optionalChain([tailwindOptions, 'optionalAccess', _38 => _38.v4, 'optionalAccess', _39 => _39.hasUserDefinedSources]),
255
- sources: _optionalChain([tailwindOptions, 'optionalAccess', _40 => _40.v4, 'optionalAccess', _41 => _41.sources])
257
+ base: _optionalChain([tailwindOptions, 'optionalAccess', _29 => _29.v4, 'optionalAccess', _30 => _30.base]),
258
+ configuredBase: readOptionalProperty(_optionalChain([tailwindOptions, 'optionalAccess', _31 => _31.v4]), "configuredBase"),
259
+ css: _optionalChain([tailwindOptions, 'optionalAccess', _32 => _32.v4, 'optionalAccess', _33 => _33.css]),
260
+ cssEntries: _optionalChain([tailwindOptions, 'optionalAccess', _34 => _34.v4, 'optionalAccess', _35 => _35.cssEntries]),
261
+ hasUserDefinedSources: readOptionalProperty(_optionalChain([tailwindOptions, 'optionalAccess', _36 => _36.v4]), "hasUserDefinedSources"),
262
+ sources: _optionalChain([tailwindOptions, 'optionalAccess', _37 => _37.v4, 'optionalAccess', _38 => _38.sources])
256
263
  }
257
264
  });
258
265
  }
259
266
  function getPatchTargetSignature(twPatcher) {
260
267
  const packageInfo = twPatcher.packageInfo;
261
268
  return [
262
- _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _42 => _42.name]), () => ( "missing")),
263
- _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _43 => _43.rootPath]), () => ( "missing")),
264
- _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _44 => _44.version]), () => ( "unknown")),
269
+ _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _39 => _39.name]), () => ( "missing")),
270
+ _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _40 => _40.rootPath]), () => ( "missing")),
271
+ _nullishCoalesce(_optionalChain([packageInfo, 'optionalAccess', _41 => _41.version]), () => ( "unknown")),
265
272
  _nullishCoalesce(twPatcher.majorVersion, () => ( "unknown")),
266
273
  getTailwindOptionsSignature(twPatcher)
267
274
  ].join(":");
@@ -364,7 +371,7 @@ function findWorkspacePackageDir(rootDir, packageName) {
364
371
  const pkgPath = _path2.default.join(normalized, "package.json");
365
372
  if (_fs.existsSync.call(void 0, pkgPath)) {
366
373
  const pkg = JSON.parse(_fs.readFileSync.call(void 0, pkgPath, "utf8"));
367
- if (_optionalChain([pkg, 'optionalAccess', _45 => _45.name]) === packageName) {
374
+ if (_optionalChain([pkg, 'optionalAccess', _42 => _42.name]) === packageName) {
368
375
  return normalized;
369
376
  }
370
377
  }
@@ -377,7 +384,7 @@ function findWorkspacePackageDir(rootDir, packageName) {
377
384
  continue;
378
385
  }
379
386
  for (const entry of entries) {
380
- if (!entry.isDirectory() || IGNORED_WORKSPACE_DIRS.has(entry.name) || _optionalChain([entry, 'access', _46 => _46.isSymbolicLink, 'optionalCall', _47 => _47()])) {
387
+ if (!entry.isDirectory() || IGNORED_WORKSPACE_DIRS.has(entry.name) || _optionalChain([entry, 'access', _43 => _43.isSymbolicLink, 'optionalCall', _44 => _44()])) {
381
388
  continue;
382
389
  }
383
390
  queue.push(_path2.default.join(normalized, entry.name));
@@ -455,18 +462,18 @@ function hasConfiguredCssEntries(ctx) {
455
462
  if (normalizeCssEntriesConfig(ctx.cssEntries)) {
456
463
  return true;
457
464
  }
458
- if (normalizeCssEntriesConfig(_optionalChain([ctx, 'access', _48 => _48.tailwindcss, 'optionalAccess', _49 => _49.v4, 'optionalAccess', _50 => _50.cssEntries]))) {
465
+ if (normalizeCssEntriesConfig(_optionalChain([ctx, 'access', _45 => _45.tailwindcss, 'optionalAccess', _46 => _46.v4, 'optionalAccess', _47 => _47.cssEntries]))) {
459
466
  return true;
460
467
  }
461
468
  const patcherOptions = ctx.tailwindcssPatcherOptions;
462
469
  if (patcherOptions) {
463
- if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _51 => _51.tailwindcss, 'optionalAccess', _52 => _52.v4, 'optionalAccess', _53 => _53.cssEntries]))) {
470
+ if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _48 => _48.tailwindcss, 'optionalAccess', _49 => _49.v4, 'optionalAccess', _50 => _50.cssEntries]))) {
464
471
  return true;
465
472
  }
466
- if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _54 => _54.tailwind, 'optionalAccess', _55 => _55.v4, 'optionalAccess', _56 => _56.cssEntries]))) {
473
+ if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _51 => _51.tailwind, 'optionalAccess', _52 => _52.v4, 'optionalAccess', _53 => _53.cssEntries]))) {
467
474
  return true;
468
475
  }
469
- if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _57 => _57.patch, 'optionalAccess', _58 => _58.tailwindcss, 'optionalAccess', _59 => _59.v4, 'optionalAccess', _60 => _60.cssEntries]))) {
476
+ if (normalizeCssEntriesConfig(_optionalChain([patcherOptions, 'access', _54 => _54.patch, 'optionalAccess', _55 => _55.tailwindcss, 'optionalAccess', _56 => _56.v4, 'optionalAccess', _57 => _57.cssEntries]))) {
470
477
  return true;
471
478
  }
472
479
  }
@@ -477,7 +484,7 @@ function warnMissingCssEntries(ctx, patcher) {
477
484
  if (hasWarnedMissingCssEntries) {
478
485
  return;
479
486
  }
480
- if (_optionalChain([patcher, 'optionalAccess', _61 => _61.majorVersion]) !== 4) {
487
+ if (_optionalChain([patcher, 'optionalAccess', _58 => _58.majorVersion]) !== 4) {
481
488
  return;
482
489
  }
483
490
  if (hasConfiguredCssEntries(ctx)) {
@@ -489,8 +496,8 @@ function warnMissingCssEntries(ctx, patcher) {
489
496
  );
490
497
  }
491
498
  function applyV4CssCalcDefaults(cssCalc, patcher) {
492
- const cssCalcOptions = _nullishCoalesce(cssCalc, () => ( _optionalChain([patcher, 'optionalAccess', _62 => _62.majorVersion]) === 4));
493
- if (_optionalChain([patcher, 'optionalAccess', _63 => _63.majorVersion]) === 4 && cssCalcOptions) {
499
+ const cssCalcOptions = _nullishCoalesce(cssCalc, () => ( _optionalChain([patcher, 'optionalAccess', _59 => _59.majorVersion]) === 4));
500
+ if (_optionalChain([patcher, 'optionalAccess', _60 => _60.majorVersion]) === 4 && cssCalcOptions) {
494
501
  return ensureDefaultsIncluded(cssCalcOptions);
495
502
  }
496
503
  return cssCalcOptions;
@@ -532,7 +539,7 @@ function resolveModuleFromPaths(specifier, paths) {
532
539
  return void 0;
533
540
  }
534
541
  try {
535
- const req = _module.createRequire.call(void 0, _chunkONLKZIRQjs.importMetaUrl);
542
+ const req = _module.createRequire.call(void 0, _chunkRKISS72Pjs.importMetaUrl);
536
543
  return req.resolve(specifier, { paths });
537
544
  } catch (e4) {
538
545
  return void 0;
@@ -587,11 +594,11 @@ function createDefaultResolvePaths(basedir) {
587
594
  const cwd = _process2.default.cwd();
588
595
  appendNodeModules(paths, cwd);
589
596
  try {
590
- const modulePath = _url.fileURLToPath.call(void 0, _chunkONLKZIRQjs.importMetaUrl);
597
+ const modulePath = _url.fileURLToPath.call(void 0, _chunkRKISS72Pjs.importMetaUrl);
591
598
  const candidate = _fs.existsSync.call(void 0, modulePath) && !_path2.default.extname(modulePath) ? modulePath : _path2.default.dirname(modulePath);
592
599
  paths.add(candidate);
593
600
  } catch (e5) {
594
- paths.add(_chunkONLKZIRQjs.importMetaUrl);
601
+ paths.add(_chunkRKISS72Pjs.importMetaUrl);
595
602
  }
596
603
  if (paths.size === 0) {
597
604
  fallbackCandidates = fallbackCandidates.filter(Boolean);
@@ -740,7 +747,7 @@ function createTailwindcssPatcher(options) {
740
747
  if (typeof resolvedTailwindOptions.postcssPlugin === "string") {
741
748
  const resolvedPlugin = resolveModuleFromPaths(
742
749
  resolvedTailwindOptions.postcssPlugin,
743
- _nullishCoalesce(_optionalChain([resolvedTailwindOptions, 'access', _64 => _64.resolve, 'optionalAccess', _65 => _65.paths]), () => ( resolvePaths))
750
+ _nullishCoalesce(_optionalChain([resolvedTailwindOptions, 'access', _61 => _61.resolve, 'optionalAccess', _62 => _62.paths]), () => ( resolvePaths))
744
751
  );
745
752
  if (resolvedPlugin) {
746
753
  resolvedTailwindOptions.postcssPlugin = resolvedPlugin;
@@ -750,7 +757,7 @@ function createTailwindcssPatcher(options) {
750
757
  if (resolvedTailwindOptions.cwd) {
751
758
  searchRoots.add(resolvedTailwindOptions.cwd);
752
759
  }
753
- for (const resolvePath of _nullishCoalesce(_optionalChain([resolvedTailwindOptions, 'access', _66 => _66.resolve, 'optionalAccess', _67 => _67.paths]), () => ( []))) {
760
+ for (const resolvePath of _nullishCoalesce(_optionalChain([resolvedTailwindOptions, 'access', _63 => _63.resolve, 'optionalAccess', _64 => _64.paths]), () => ( []))) {
754
761
  const parentDir = _path2.default.dirname(resolvePath);
755
762
  searchRoots.add(parentDir);
756
763
  }
@@ -776,7 +783,7 @@ function createTailwindcssPatcher(options) {
776
783
  try {
777
784
  return new (0, _tailwindcsspatch.TailwindcssPatcher)(resolvedOptions);
778
785
  } catch (error) {
779
- const searchPaths = _optionalChain([resolvedOptions, 'access', _68 => _68.tailwindcss, 'optionalAccess', _69 => _69.resolve, 'optionalAccess', _70 => _70.paths]);
786
+ const searchPaths = _optionalChain([resolvedOptions, 'access', _65 => _65.tailwindcss, 'optionalAccess', _66 => _66.resolve, 'optionalAccess', _67 => _67.paths]);
780
787
  if (error instanceof Error && TAILWINDCSS_NOT_FOUND_RE.test(error.message)) {
781
788
  if (!hasLoggedMissingTailwind) {
782
789
  _logger.logger.warn("Tailwind CSS \u672A\u5B89\u88C5\uFF0C\u5DF2\u8DF3\u8FC7 Tailwind \u76F8\u5173\u8865\u4E01\u3002\u82E5\u9700\u4F7F\u7528 Tailwind \u80FD\u529B\uFF0C\u8BF7\u5B89\u88C5 tailwindcss\u3002");
@@ -785,7 +792,7 @@ function createTailwindcssPatcher(options) {
785
792
  return createFallbackTailwindcssPatcher();
786
793
  }
787
794
  if (error instanceof Error && UNABLE_TO_LOCATE_TAILWINDCSS_RE.test(error.message)) {
788
- _logger.logger.error('\u65E0\u6CD5\u5B9A\u4F4D Tailwind CSS \u5305 "%s"\uFF0C\u5DF2\u5C1D\u8BD5\u8DEF\u5F84: %O', _optionalChain([resolvedOptions, 'access', _71 => _71.tailwindcss, 'optionalAccess', _72 => _72.packageName]), searchPaths);
795
+ _logger.logger.error('\u65E0\u6CD5\u5B9A\u4F4D Tailwind CSS \u5305 "%s"\uFF0C\u5DF2\u5C1D\u8BD5\u8DEF\u5F84: %O', _optionalChain([resolvedOptions, 'access', _68 => _68.tailwindcss, 'optionalAccess', _69 => _69.packageName]), searchPaths);
789
796
  }
790
797
  throw error;
791
798
  }
@@ -799,18 +806,18 @@ function createMultiTailwindcssPatcher(patchers) {
799
806
  const [first] = patchers;
800
807
  const multiPatcher = {
801
808
  ...first,
802
- packageInfo: _optionalChain([first, 'optionalAccess', _73 => _73.packageInfo]),
803
- majorVersion: _optionalChain([first, 'optionalAccess', _74 => _74.majorVersion]),
804
- options: _optionalChain([first, 'optionalAccess', _75 => _75.options]),
809
+ packageInfo: _optionalChain([first, 'optionalAccess', _70 => _70.packageInfo]),
810
+ majorVersion: _optionalChain([first, 'optionalAccess', _71 => _71.majorVersion]),
811
+ options: _optionalChain([first, 'optionalAccess', _72 => _72.options]),
805
812
  async patch() {
806
813
  let exposeContext;
807
814
  let extendLengthUnits;
808
815
  for (const patcher of patchers) {
809
816
  const result = await patcher.patch();
810
- if (_optionalChain([result, 'optionalAccess', _76 => _76.exposeContext]) && exposeContext == null) {
817
+ if (_optionalChain([result, 'optionalAccess', _73 => _73.exposeContext]) && exposeContext == null) {
811
818
  exposeContext = result.exposeContext;
812
819
  }
813
- if (_optionalChain([result, 'optionalAccess', _77 => _77.extendLengthUnits]) && extendLengthUnits == null) {
820
+ if (_optionalChain([result, 'optionalAccess', _74 => _74.extendLengthUnits]) && extendLengthUnits == null) {
814
821
  extendLengthUnits = result.extendLengthUnits;
815
822
  }
816
823
  }
@@ -866,7 +873,7 @@ function createMultiTailwindcssPatcher(patchers) {
866
873
  multiPatcher.getClassSetSync = () => {
867
874
  const aggregated = /* @__PURE__ */ new Set();
868
875
  for (const patcher of patchers) {
869
- const current = _optionalChain([patcher, 'access', _78 => _78.getClassSetSync, 'optionalCall', _79 => _79()]);
876
+ const current = _optionalChain([patcher, 'access', _75 => _75.getClassSetSync, 'optionalCall', _76 => _76()]);
870
877
  if (!current) {
871
878
  continue;
872
879
  }
@@ -942,8 +949,8 @@ function overrideTailwindcssPatcherOptionsForBase(options, baseDir, cssEntries)
942
949
  ...modernTailwind,
943
950
  v4: {
944
951
  ..._nullishCoalesce(modernTailwind.v4, () => ( {})),
945
- ...hasCssEntries ? {} : { base: _nullishCoalesce(_optionalChain([modernTailwind, 'access', _80 => _80.v4, 'optionalAccess', _81 => _81.base]), () => ( baseDir)) },
946
- cssEntries: hasCssEntries ? cssEntries : _nullishCoalesce(_optionalChain([modernTailwind, 'access', _82 => _82.v4, 'optionalAccess', _83 => _83.cssEntries]), () => ( cssEntries))
952
+ ...hasCssEntries ? {} : { base: _nullishCoalesce(_optionalChain([modernTailwind, 'access', _77 => _77.v4, 'optionalAccess', _78 => _78.base]), () => ( baseDir)) },
953
+ cssEntries: hasCssEntries ? cssEntries : _nullishCoalesce(_optionalChain([modernTailwind, 'access', _79 => _79.v4, 'optionalAccess', _80 => _80.cssEntries]), () => ( cssEntries))
947
954
  }
948
955
  }
949
956
  };
@@ -1062,7 +1069,7 @@ function createPatcherForBase(baseDir, cssEntries, options) {
1062
1069
  tailwindcssPatcherOptions,
1063
1070
  supportCustomLengthUnitsPatch
1064
1071
  } = options;
1065
- const hasCssEntries = Boolean(_optionalChain([cssEntries, 'optionalAccess', _84 => _84.length]));
1072
+ const hasCssEntries = Boolean(_optionalChain([cssEntries, 'optionalAccess', _81 => _81.length]));
1066
1073
  const defaultTailwindcssConfig = {
1067
1074
  cwd: baseDir,
1068
1075
  v2: {
@@ -1090,7 +1097,7 @@ function createPatcherForBase(baseDir, cssEntries, options) {
1090
1097
  mergedTailwindOptions.v4.base = baseDir;
1091
1098
  }
1092
1099
  if (hasCssEntries) {
1093
- if (_optionalChain([cssEntries, 'optionalAccess', _85 => _85.length])) {
1100
+ if (_optionalChain([cssEntries, 'optionalAccess', _82 => _82.length])) {
1094
1101
  mergedTailwindOptions.v4.cssEntries = cssEntries;
1095
1102
  } else if (!mergedTailwindOptions.v4.cssEntries) {
1096
1103
  mergedTailwindOptions.v4.cssEntries = [];
@@ -1104,10 +1111,10 @@ function createPatcherForBase(baseDir, cssEntries, options) {
1104
1111
  baseDir,
1105
1112
  _nullishCoalesce(cssEntries, () => ( []))
1106
1113
  );
1107
- const configuredPackageName = _optionalChain([tailwindcss, 'optionalAccess', _86 => _86.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _87 => _87.tailwindcss, 'optionalAccess', _88 => _88.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _89 => _89.tailwind, 'optionalAccess', _90 => _90.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _91 => _91.patch, 'optionalAccess', _92 => _92.tailwindcss, 'optionalAccess', _93 => _93.packageName]);
1108
- const configuredVersion = _optionalChain([tailwindcss, 'optionalAccess', _94 => _94.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _95 => _95.tailwindcss, 'optionalAccess', _96 => _96.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _97 => _97.tailwind, 'optionalAccess', _98 => _98.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _99 => _99.patch, 'optionalAccess', _100 => _100.tailwindcss, 'optionalAccess', _101 => _101.version]) || mergedTailwindOptions.version;
1114
+ const configuredPackageName = _optionalChain([tailwindcss, 'optionalAccess', _83 => _83.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _84 => _84.tailwindcss, 'optionalAccess', _85 => _85.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _86 => _86.tailwind, 'optionalAccess', _87 => _87.packageName]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _88 => _88.patch, 'optionalAccess', _89 => _89.tailwindcss, 'optionalAccess', _90 => _90.packageName]);
1115
+ const configuredVersion = _optionalChain([tailwindcss, 'optionalAccess', _91 => _91.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _92 => _92.tailwindcss, 'optionalAccess', _93 => _93.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _94 => _94.tailwind, 'optionalAccess', _95 => _95.version]) || _optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _96 => _96.patch, 'optionalAccess', _97 => _97.tailwindcss, 'optionalAccess', _98 => _98.version]) || mergedTailwindOptions.version;
1109
1116
  const explicitTailwindVersion = resolveExplicitTailwindVersion(configuredVersion, configuredPackageName);
1110
- const hasExplicitV4Signals = hasCssEntries || hasOwnV4Signal(tailwindcss) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _102 => _102.tailwindcss])) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _103 => _103.tailwind])) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _104 => _104.patch, 'optionalAccess', _105 => _105.tailwindcss]));
1117
+ const hasExplicitV4Signals = hasCssEntries || hasOwnV4Signal(tailwindcss) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _99 => _99.tailwindcss])) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _100 => _100.tailwind])) || hasOwnV4Signal(_optionalChain([tailwindcssPatcherOptions, 'optionalAccess', _101 => _101.patch, 'optionalAccess', _102 => _102.tailwindcss]));
1111
1118
  const isV4 = explicitTailwindVersion === 3 ? false : explicitTailwindVersion === 4 || explicitTailwindVersion === void 0 && (mergedTailwindOptions.version === 4 || isTailwindcss4Package(_nullishCoalesce(configuredPackageName, () => ( mergedTailwindOptions.packageName))) || hasExplicitV4Signals);
1112
1119
  const tailwindPackageConfigured = Boolean(configuredPackageName);
1113
1120
  const shouldPatchV4PostcssPackage = isV4 && !tailwindPackageConfigured;
@@ -1264,7 +1271,7 @@ function detectCallerBasedir() {
1264
1271
  const lines = stack.split("\n");
1265
1272
  for (const line of lines) {
1266
1273
  const match = _nullishCoalesce(line.match(STACK_PAREN_RE), () => ( line.match(STACK_AT_RE)));
1267
- const location = _optionalChain([match, 'optionalAccess', _106 => _106[1]]);
1274
+ const location = _optionalChain([match, 'optionalAccess', _103 => _103[1]]);
1268
1275
  if (!location) {
1269
1276
  continue;
1270
1277
  }
@@ -1294,8 +1301,8 @@ function detectCallerBasedir() {
1294
1301
  }
1295
1302
  function resolveTailwindcssBasedir(basedir, fallback) {
1296
1303
  const envBasedirResult = pickEnvBasedir();
1297
- const envBasedir = _optionalChain([envBasedirResult, 'optionalAccess', _107 => _107.value]);
1298
- const envBasedirKey = _optionalChain([envBasedirResult, 'optionalAccess', _108 => _108.key]);
1304
+ const envBasedir = _optionalChain([envBasedirResult, 'optionalAccess', _104 => _104.value]);
1305
+ const envBasedirKey = _optionalChain([envBasedirResult, 'optionalAccess', _105 => _105.key]);
1299
1306
  const envBasedirIsGeneric = envBasedirKey ? GENERIC_ENV_BASEDIR_KEYS.has(envBasedirKey) : false;
1300
1307
  const packageEnvBasedir = pickPackageEnvBasedir();
1301
1308
  const shouldDetectCaller = !envBasedir || envBasedirIsGeneric;
@@ -1453,12 +1460,12 @@ function createTailwindcssPatcherFromContext(ctx) {
1453
1460
  if (normalizedCssEntries) {
1454
1461
  ctx.cssEntries = normalizedCssEntries;
1455
1462
  }
1456
- const shouldAttachBase = Boolean(ctx.tailwindcssBasedir && _optionalChain([normalizedCssEntries, 'optionalAccess', _109 => _109.length]));
1457
- const tailwindcssWithBase = shouldAttachBase && _optionalChain([tailwindcss, 'optionalAccess', _110 => _110.v4]) !== null ? {
1463
+ const shouldAttachBase = Boolean(ctx.tailwindcssBasedir && _optionalChain([normalizedCssEntries, 'optionalAccess', _106 => _106.length]));
1464
+ const tailwindcssWithBase = shouldAttachBase && _optionalChain([tailwindcss, 'optionalAccess', _107 => _107.v4]) !== null ? {
1458
1465
  ..._nullishCoalesce(tailwindcss, () => ( {})),
1459
1466
  v4: {
1460
- ..._nullishCoalesce(_optionalChain([tailwindcss, 'optionalAccess', _111 => _111.v4]), () => ( {})),
1461
- base: _nullishCoalesce(_optionalChain([tailwindcss, 'optionalAccess', _112 => _112.v4, 'optionalAccess', _113 => _113.base]), () => ( resolvedTailwindcssBasedir))
1467
+ ..._nullishCoalesce(_optionalChain([tailwindcss, 'optionalAccess', _108 => _108.v4]), () => ( {})),
1468
+ base: _nullishCoalesce(_optionalChain([tailwindcss, 'optionalAccess', _109 => _109.v4, 'optionalAccess', _110 => _110.base]), () => ( resolvedTailwindcssBasedir))
1462
1469
  }
1463
1470
  } : tailwindcss;
1464
1471
  const patcherOptions = {
@@ -1476,7 +1483,7 @@ function createTailwindcssPatcherFromContext(ctx) {
1476
1483
  if (multiPatcher) {
1477
1484
  return multiPatcher;
1478
1485
  }
1479
- if (_optionalChain([groupedCssEntries, 'optionalAccess', _114 => _114.size]) === 1) {
1486
+ if (_optionalChain([groupedCssEntries, 'optionalAccess', _111 => _111.size]) === 1) {
1480
1487
  const firstGroup = groupedCssEntries.entries().next().value;
1481
1488
  if (firstGroup) {
1482
1489
  const [baseDir, entries] = firstGroup;
package/dist/cli.js CHANGED
@@ -211,7 +211,7 @@ var import_logger2 = require("@weapp-tailwindcss/logger");
211
211
  // package.json
212
212
  var package_default = {
213
213
  name: "weapp-tailwindcss",
214
- version: "4.12.0-alpha.3",
214
+ version: "4.12.0",
215
215
  description: "\u628A tailwindcss \u539F\u5B50\u5316\u6837\u5F0F\u601D\u60F3\uFF0C\u5E26\u7ED9\u5C0F\u7A0B\u5E8F\u5F00\u53D1\u8005\u4EEC! bring tailwindcss to miniprogram developers!",
216
216
  author: "ice breaker <1324318532@qq.com>",
217
217
  license: "MIT",
@@ -404,10 +404,10 @@ var package_default = {
404
404
  },
405
405
  dependencies: {
406
406
  "@ast-core/escape": "~1.0.1",
407
- "@babel/parser": "~7.29.2",
407
+ "@babel/parser": "~7.29.3",
408
408
  "@babel/traverse": "~7.29.0",
409
409
  "@babel/types": "~7.29.0",
410
- "@tailwindcss-mangle/config": "^7.0.0",
410
+ "@tailwindcss-mangle/config": "^7.0.1",
411
411
  "@vue/compiler-dom": "catalog:vue3",
412
412
  "@vue/compiler-sfc": "catalog:vue3",
413
413
  "@weapp-core/escape": "~7.0.0",
@@ -428,7 +428,7 @@ var package_default = {
428
428
  semver: "~7.7.4",
429
429
  "tailwindcss-patch": "catalog:tailwindcssPatch",
430
430
  "webpack-sources": "3.3.4",
431
- yaml: "^2.8.3"
431
+ yaml: "^2.8.4"
432
432
  },
433
433
  devDependencies: {
434
434
  "fast-check": "^4.7.0"
@@ -1048,7 +1048,7 @@ function isClassLikeCallExpression(path22, valuePath) {
1048
1048
  if (!helperName || !CLASS_HELPER_IDENTIFIERS.has(normalizeKeyword(helperName))) {
1049
1049
  return false;
1050
1050
  }
1051
- return path22.get("arguments").includes(valuePath);
1051
+ return path22.get("arguments").some((argumentPath) => argumentPath.node === valuePath.node);
1052
1052
  }
1053
1053
  function isClassContextLiteralPath(path22) {
1054
1054
  let current = path22;
@@ -3552,8 +3552,8 @@ var DEFAULT_VSCODE_SOURCES = [
3552
3552
  'not "./dist"',
3553
3553
  'not "./unpackage"',
3554
3554
  "./src/**/*.{wxml,axml,swan,qml,ttml,ux,uts}",
3555
- "./src/**/*.{js,jsx,ts,tsx}",
3556
- "./src/**/*.{vue,svelte,html,md,mdx}"
3555
+ "./src/**/*.{js,jsx,ts,tsx,mjs,cjs,wxs,sjs}",
3556
+ "./src/**/*.{vue,svelte,mpx,html,md,mdx}"
3557
3557
  ];
3558
3558
  var SINGLE_QUOTE = "'";
3559
3559
  var DOUBLE_QUOTE = '"';
package/dist/cli.mjs CHANGED
@@ -187,7 +187,7 @@ import { logger as logger2 } from "@weapp-tailwindcss/logger";
187
187
  // package.json
188
188
  var package_default = {
189
189
  name: "weapp-tailwindcss",
190
- version: "4.12.0-alpha.3",
190
+ version: "4.12.0",
191
191
  description: "\u628A tailwindcss \u539F\u5B50\u5316\u6837\u5F0F\u601D\u60F3\uFF0C\u5E26\u7ED9\u5C0F\u7A0B\u5E8F\u5F00\u53D1\u8005\u4EEC! bring tailwindcss to miniprogram developers!",
192
192
  author: "ice breaker <1324318532@qq.com>",
193
193
  license: "MIT",
@@ -380,10 +380,10 @@ var package_default = {
380
380
  },
381
381
  dependencies: {
382
382
  "@ast-core/escape": "~1.0.1",
383
- "@babel/parser": "~7.29.2",
383
+ "@babel/parser": "~7.29.3",
384
384
  "@babel/traverse": "~7.29.0",
385
385
  "@babel/types": "~7.29.0",
386
- "@tailwindcss-mangle/config": "^7.0.0",
386
+ "@tailwindcss-mangle/config": "^7.0.1",
387
387
  "@vue/compiler-dom": "catalog:vue3",
388
388
  "@vue/compiler-sfc": "catalog:vue3",
389
389
  "@weapp-core/escape": "~7.0.0",
@@ -404,7 +404,7 @@ var package_default = {
404
404
  semver: "~7.7.4",
405
405
  "tailwindcss-patch": "catalog:tailwindcssPatch",
406
406
  "webpack-sources": "3.3.4",
407
- yaml: "^2.8.3"
407
+ yaml: "^2.8.4"
408
408
  },
409
409
  devDependencies: {
410
410
  "fast-check": "^4.7.0"
@@ -1024,7 +1024,7 @@ function isClassLikeCallExpression(path22, valuePath) {
1024
1024
  if (!helperName || !CLASS_HELPER_IDENTIFIERS.has(normalizeKeyword(helperName))) {
1025
1025
  return false;
1026
1026
  }
1027
- return path22.get("arguments").includes(valuePath);
1027
+ return path22.get("arguments").some((argumentPath) => argumentPath.node === valuePath.node);
1028
1028
  }
1029
1029
  function isClassContextLiteralPath(path22) {
1030
1030
  let current = path22;
@@ -3528,8 +3528,8 @@ var DEFAULT_VSCODE_SOURCES = [
3528
3528
  'not "./dist"',
3529
3529
  'not "./unpackage"',
3530
3530
  "./src/**/*.{wxml,axml,swan,qml,ttml,ux,uts}",
3531
- "./src/**/*.{js,jsx,ts,tsx}",
3532
- "./src/**/*.{vue,svelte,html,md,mdx}"
3531
+ "./src/**/*.{js,jsx,ts,tsx,mjs,cjs,wxs,sjs}",
3532
+ "./src/**/*.{vue,svelte,mpx,html,md,mdx}"
3533
3533
  ];
3534
3534
  var SINGLE_QUOTE = "'";
3535
3535
  var DOUBLE_QUOTE = '"';
package/dist/core.js CHANGED
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkOSWTWMAKjs = require('./chunk-OSWTWMAK.js');
7
- require('./chunk-NIS74SI6.js');
6
+ var _chunkHVNGIKLSjs = require('./chunk-HVNGIKLS.js');
7
+ require('./chunk-ZAA5ZG3D.js');
8
8
  require('./chunk-A5PB4KZT.js');
9
9
  require('./chunk-DYLQ6UOI.js');
10
- require('./chunk-ONLKZIRQ.js');
10
+ require('./chunk-RKISS72P.js');
11
11
 
12
12
  // src/core.ts
13
13
  var _process = require('process'); var _process2 = _interopRequireDefault(_process);
@@ -25,9 +25,9 @@ function resolveTransformWxssOptions(options) {
25
25
  return _shared.defuOverrideArray.call(void 0, options, DEFAULT_MAIN_CHUNK_STYLE_OPTIONS);
26
26
  }
27
27
  function createContext(options = {}) {
28
- const opts = _chunkOSWTWMAKjs.getCompilerContext.call(void 0, options);
28
+ const opts = _chunkHVNGIKLSjs.getCompilerContext.call(void 0, options);
29
29
  const { templateHandler, styleHandler, jsHandler, twPatcher: initialTwPatcher, refreshTailwindcssPatcher } = opts;
30
- const patchRecorderState = _chunkOSWTWMAKjs.setupPatchRecorder.call(void 0, initialTwPatcher, opts.tailwindcssBasedir, {
30
+ const patchRecorderState = _chunkHVNGIKLSjs.setupPatchRecorder.call(void 0, initialTwPatcher, opts.tailwindcssBasedir, {
31
31
  source: "runtime",
32
32
  cwd: _nullishCoalesce(opts.tailwindcssBasedir, () => ( _process2.default.cwd()))
33
33
  });
@@ -144,7 +144,7 @@ function createContext(options = {}) {
144
144
  async function transformWxss(rawCss, options2) {
145
145
  await runtimeState.patchPromise;
146
146
  const result = await styleHandler(rawCss, resolveTransformWxssOptions(options2));
147
- runtimeSet = await _chunkOSWTWMAKjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
147
+ runtimeSet = await _chunkHVNGIKLSjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
148
148
  forceRefresh: true,
149
149
  forceCollect: true
150
150
  });
@@ -155,12 +155,12 @@ function createContext(options = {}) {
155
155
  if (_optionalChain([options2, 'optionalAccess', _ => _.runtimeSet])) {
156
156
  runtimeSet = options2.runtimeSet;
157
157
  } else if (runtimeSet.size === 0) {
158
- runtimeSet = await _chunkOSWTWMAKjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
158
+ runtimeSet = await _chunkHVNGIKLSjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
159
159
  forceCollect: true
160
160
  });
161
161
  }
162
162
  const resolvedOptions = resolveTransformJsOptions(options2);
163
- if (_chunkOSWTWMAKjs.shouldSkipJsTransform.call(void 0, rawJs, resolvedOptions)) {
163
+ if (_chunkHVNGIKLSjs.shouldSkipJsTransform.call(void 0, rawJs, resolvedOptions)) {
164
164
  return { code: rawJs };
165
165
  }
166
166
  return await jsHandler(rawJs, runtimeSet, resolvedOptions);
@@ -168,7 +168,7 @@ function createContext(options = {}) {
168
168
  async function transformWxml(rawWxml, options2) {
169
169
  await runtimeState.patchPromise;
170
170
  if (!_optionalChain([options2, 'optionalAccess', _2 => _2.runtimeSet]) && runtimeSet.size === 0) {
171
- runtimeSet = await _chunkOSWTWMAKjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
171
+ runtimeSet = await _chunkHVNGIKLSjs.ensureRuntimeClassSet.call(void 0, runtimeState, {
172
172
  forceCollect: true
173
173
  });
174
174
  }
package/dist/core.mjs CHANGED
@@ -3,11 +3,11 @@ import {
3
3
  getCompilerContext,
4
4
  setupPatchRecorder,
5
5
  shouldSkipJsTransform
6
- } from "./chunk-J6FIO3RO.mjs";
7
- import "./chunk-AYJ4HLWZ.mjs";
6
+ } from "./chunk-KGTVD4EP.mjs";
7
+ import "./chunk-PCDYXXSK.mjs";
8
8
  import "./chunk-XAKAD2CR.mjs";
9
9
  import "./chunk-OOHJLO5M.mjs";
10
- import "./chunk-HL3US2OT.mjs";
10
+ import "./chunk-NNOQDMUP.mjs";
11
11
 
12
12
  // src/core.ts
13
13
  import process from "process";
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
  var _chunkE7I5TW5Kjs = require('../chunk-E7I5TW5K.js');
6
- require('../chunk-ONLKZIRQ.js');
6
+ require('../chunk-RKISS72P.js');
7
7
 
8
8
  // src/css-macro/postcss.ts
9
9
  var IFDEF_ENDIF_RE = /#(?:ifn?def|endif)/;
@@ -3,7 +3,7 @@ import {
3
3
  ifndef,
4
4
  matchCustomPropertyFromValue
5
5
  } from "../chunk-ZCH4YINE.mjs";
6
- import "../chunk-HL3US2OT.mjs";
6
+ import "../chunk-NNOQDMUP.mjs";
7
7
 
8
8
  // src/css-macro/postcss.ts
9
9
  var IFDEF_ENDIF_RE = /#(?:ifn?def|endif)/;
package/dist/css-macro.js CHANGED
@@ -5,7 +5,7 @@ var _chunkDYLQ6UOIjs = require('./chunk-DYLQ6UOI.js');
5
5
 
6
6
 
7
7
  var _chunkE7I5TW5Kjs = require('./chunk-E7I5TW5K.js');
8
- require('./chunk-ONLKZIRQ.js');
8
+ require('./chunk-RKISS72P.js');
9
9
 
10
10
  // src/css-macro/index.ts
11
11
  var _plugin = require('tailwindcss/plugin'); var _plugin2 = _interopRequireDefault(_plugin);
@@ -5,7 +5,7 @@ import {
5
5
  createMediaQuery,
6
6
  createNegativeMediaQuery
7
7
  } from "./chunk-ZCH4YINE.mjs";
8
- import "./chunk-HL3US2OT.mjs";
8
+ import "./chunk-NNOQDMUP.mjs";
9
9
 
10
10
  // src/css-macro/index.ts
11
11
  import plugin from "tailwindcss/plugin";
package/dist/defaults.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _chunkA5PB4KZTjs = require('./chunk-A5PB4KZT.js');
4
4
  require('./chunk-DYLQ6UOI.js');
5
- require('./chunk-ONLKZIRQ.js');
5
+ require('./chunk-RKISS72P.js');
6
6
 
7
7
 
8
8
  exports.getDefaultOptions = _chunkA5PB4KZTjs.getDefaultOptions;
package/dist/defaults.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  getDefaultOptions
3
3
  } from "./chunk-XAKAD2CR.mjs";
4
4
  import "./chunk-OOHJLO5M.mjs";
5
- import "./chunk-HL3US2OT.mjs";
5
+ import "./chunk-NNOQDMUP.mjs";
6
6
  export {
7
7
  getDefaultOptions
8
8
  };