@csszyx/unplugin 0.12.0 → 0.13.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 (43) hide show
  1. package/dist/index.cjs +8 -7
  2. package/dist/index.d.cts +4 -4
  3. package/dist/index.d.mts +4 -4
  4. package/dist/index.mjs +3 -3
  5. package/dist/next-config.cjs +3 -0
  6. package/dist/next-config.d.cts +10 -0
  7. package/dist/next-config.d.mts +10 -0
  8. package/dist/next-config.mjs +3 -0
  9. package/dist/next-prebuild.cjs +12 -5
  10. package/dist/next-prebuild.d.cts +7 -0
  11. package/dist/next-prebuild.d.mts +7 -0
  12. package/dist/next-prebuild.mjs +12 -5
  13. package/dist/next-turbo-loader.cjs +29 -11
  14. package/dist/next-turbo-loader.d.cts +10 -0
  15. package/dist/next-turbo-loader.d.mts +10 -0
  16. package/dist/next-turbo-loader.mjs +28 -10
  17. package/dist/next-watcher.cjs +1 -1
  18. package/dist/next-watcher.mjs +1 -1
  19. package/dist/shared/unplugin.4du3qMst.cjs +529 -0
  20. package/dist/shared/unplugin.5l4RHMQh.mjs +578 -0
  21. package/dist/shared/unplugin.BB0iWSds.mjs +495 -0
  22. package/dist/shared/{unplugin.DMcbmP01.mjs → unplugin.BU0O4IkX.mjs} +4 -1
  23. package/dist/shared/{unplugin.BK3XVHe8.cjs → unplugin.Bf4fNbp7.cjs} +318 -532
  24. package/dist/shared/{unplugin.Bb5TeU9B.cjs → unplugin.CUTa6bY9.cjs} +89 -1
  25. package/dist/shared/{unplugin.DblMogcN.cjs → unplugin.Cji6O5jv.cjs} +4 -1
  26. package/dist/shared/{unplugin.DXgxFHzO.mjs → unplugin.CogPHmDs.mjs} +73 -3
  27. package/dist/shared/{unplugin.CtnKJhAi.d.cts → unplugin.DCT7DDG6.d.cts} +75 -30
  28. package/dist/shared/{unplugin.CtnKJhAi.d.mts → unplugin.DCT7DDG6.d.mts} +75 -30
  29. package/dist/shared/unplugin.X9a9SL_s.cjs +612 -0
  30. package/dist/shared/{unplugin.B9vpjOhD.mjs → unplugin.ymMe428s.mjs} +288 -499
  31. package/dist/vite.cjs +3 -3
  32. package/dist/vite.d.cts +2 -2
  33. package/dist/vite.d.mts +1 -1
  34. package/dist/vite.mjs +3 -3
  35. package/dist/webpack.cjs +3 -3
  36. package/dist/webpack.d.cts +2 -2
  37. package/dist/webpack.d.mts +1 -1
  38. package/dist/webpack.mjs +3 -3
  39. package/package.json +9 -9
  40. package/dist/shared/unplugin.C2lHQFii.cjs +0 -114
  41. package/dist/shared/unplugin.CBMJufQ8.mjs +0 -108
  42. package/dist/shared/unplugin.CDqY7kmk.mjs +0 -224
  43. package/dist/shared/unplugin.DbZ7tCfN.cjs +0 -248
package/dist/index.cjs CHANGED
@@ -3,7 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const cssMangler = require('./css-mangler.cjs');
6
- const unplugin = require('./shared/unplugin.BK3XVHe8.cjs');
6
+ const unplugin = require('./shared/unplugin.Bf4fNbp7.cjs');
7
+ const themeGroupsFile = require('./shared/unplugin.X9a9SL_s.cjs');
7
8
  const types = require('@csszyx/types');
8
9
  require('postcss');
9
10
  require('postcss-selector-parser');
@@ -19,8 +20,7 @@ require('@csszyx/core/native');
19
20
  require('@csszyx/svelte-adapter');
20
21
  require('@csszyx/vue-adapter');
21
22
  require('unplugin');
22
- require('./shared/unplugin.DbZ7tCfN.cjs');
23
- require('./shared/unplugin.C2lHQFii.cjs');
23
+ require('./shared/unplugin.4du3qMst.cjs');
24
24
  require('./shared/unplugin.BkRah5Ot.cjs');
25
25
  require('node:zlib');
26
26
  require('postcss-value-parser');
@@ -54,7 +54,6 @@ exports.findLocalImportSources = unplugin.findLocalImportSources;
54
54
  exports.findRSCBoundaryViolation = unplugin.findRSCBoundaryViolation;
55
55
  exports.findRSCGraphViolation = unplugin.findRSCGraphViolation;
56
56
  exports.hasInjectableTailwindCandidate = unplugin.hasInjectableTailwindCandidate;
57
- exports.hasTokens = unplugin.hasTokens;
58
57
  exports.hasUseClientDirective = unplugin.hasUseClientDirective;
59
58
  exports.hasUseServerDirective = unplugin.hasUseServerDirective;
60
59
  exports.isCompileSourceOptedIn = unplugin.isCompileSourceOptedIn;
@@ -66,19 +65,17 @@ exports.isTailwindReservedGlobalVar = unplugin.isTailwindReservedGlobalVar;
66
65
  exports.mangleCodeClassesSync = unplugin.mangleCodeClassesSync;
67
66
  exports.mangleEligibleClasses = unplugin.mangleEligibleClasses;
68
67
  exports.mangleHybridHazardMessage = unplugin.mangleHybridHazardMessage;
69
- exports.mergeThemes = unplugin.mergeThemes;
70
68
  exports.missingTailwindEntryMessage = unplugin.missingTailwindEntryMessage;
71
69
  exports.normalizeGlobalVarAliasesForCache = unplugin.normalizeGlobalVarAliasesForCache;
72
- exports.parseThemeBlocks = unplugin.parseThemeBlocks;
73
70
  exports.planGlobalVarAliases = unplugin.planGlobalVarAliases;
74
71
  exports.readGlobalVarScanCache = unplugin.readGlobalVarScanCache;
75
72
  exports.recordGlobalVarSourceFile = unplugin.recordGlobalVarSourceFile;
76
73
  exports.resolveCompileSourceDirs = unplugin.resolveCompileSourceDirs;
77
74
  exports.resolveGlobalVarScanCacheDir = unplugin.resolveGlobalVarScanCacheDir;
78
75
  exports.resolveNativeCacheIdentity = unplugin.resolveNativeCacheIdentity;
76
+ exports.resolveQuietMode = unplugin.resolveQuietMode;
79
77
  exports.rewriteGlobalVarCssAliases = unplugin.rewriteGlobalVarCssAliases;
80
78
  exports.rollupPlugin = unplugin.rollupPlugin;
81
- exports.scanCustomPropertyNames = unplugin.scanCustomPropertyNames;
82
79
  exports.scanGlobalVarCss = unplugin.scanGlobalVarCss;
83
80
  exports.shouldEmitMissingCssFallback = unplugin.shouldEmitMissingCssFallback;
84
81
  exports.shouldEmitWarning = unplugin.shouldEmitWarning;
@@ -92,5 +89,9 @@ exports.validateGlobalVarAliasInputs = unplugin.validateGlobalVarAliasInputs;
92
89
  exports.vitePlugin = unplugin.vitePlugin;
93
90
  exports.webpackPlugin = unplugin.webpackPlugin;
94
91
  exports.writeGlobalVarScanCache = unplugin.writeGlobalVarScanCache;
92
+ exports.hasTokens = themeGroupsFile.hasTokens;
93
+ exports.mergeThemes = themeGroupsFile.mergeThemes;
94
+ exports.parseThemeBlocks = themeGroupsFile.parseThemeBlocks;
95
+ exports.scanCustomPropertyNames = themeGroupsFile.scanCustomPropertyNames;
95
96
  exports.CSSZYX_GLOBAL_ALIAS_PREFIX = types.CSSZYX_GLOBAL_ALIAS_PREFIX;
96
97
  exports.TAILWIND_RESERVED_PREFIXES = types.TAILWIND_RESERVED_PREFIXES;
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  export { CSSManglerOptions, CSSManglerResult, MangleMap, createPostCSSPlugin, escapeCSSClassName, mangleCSS, mangleCSSSync, unescapeTailwindClass } from './css-mangler.cjs';
2
2
  export { CSSZYX_GLOBAL_ALIAS_PREFIX, TAILWIND_RESERVED_PREFIXES } from '@csszyx/types';
3
- import { G as GlobalVarScanCacheKeyInput, C as CssVarScanResult, S as ScanGlobalVarCssOptions, P as PlanGlobalVarAliasesInput, a as GlobalVarAliasPlan, R as RewriteGlobalVarCssAliasesOptions, b as GlobalVarCssAliasRewriteResult, c as CreateGlobalVarAliasValidationOptionsInput, V as ValidateGlobalVarAliasInputsOptions, d as GlobalVarAliasValidationResult } from './shared/unplugin.CtnKJhAi.cjs';
3
+ import { G as GlobalVarScanCacheKeyInput, C as CssVarScanResult, S as ScanGlobalVarCssOptions, P as PlanGlobalVarAliasesInput, a as GlobalVarAliasPlan, R as RewriteGlobalVarCssAliasesOptions, b as GlobalVarCssAliasRewriteResult, c as CreateGlobalVarAliasValidationOptionsInput, V as ValidateGlobalVarAliasInputsOptions, d as GlobalVarAliasValidationResult } from './shared/unplugin.DCT7DDG6.cjs';
4
4
  // @ts-ignore
5
5
  export = undefined;
6
- export { e as CssVarDefinition, f as CssVarLocation, g as CssVarReference, h as GlobalVarAliasDiagnostic, i as GlobalVarAliasDiagnosticSeverity, j as GlobalVarAliasEntry, k as GlobalVarCodeSource, l as GlobalVarCssAssetSource, m as GlobalVarCssSource, n as GlobalVarScanCacheEntry, M as MangleHybridHazards, o as ParsedTheme, p as RSCBoundaryViolation, q as RSCModuleRecord, r as allocateMangleTokens, s as appendTailwindSourceDirective, t as assertNoRSCBoundaryViolation, u as assertNoRSCGraphViolation, v as collectMangleHybridHazards, w as computeSafelistRelPath, x as createGlobalVarMapAssetSource, y as createRSCModuleRecord, z as cssHasContentScope, A as cssImportsTailwind, D as deleteRSCModuleRecord, E as emitMissingCssFallback, F as esbuildPlugin, H as extractGlobalVarAliasesForManifest, I as fileMayContainSafelistableSz, J as findLocalImportSources, K as findRSCBoundaryViolation, L as findRSCGraphViolation, N as hasInjectableTailwindCandidate, O as hasTokens, Q as hasUseClientDirective, T as hasUseServerDirective, U as isCompileSourceOptedIn, W as isHardIgnoredPath, X as isMonorepoPackage, Y as isPackagesSkippedSource, Z as isRSCServerModule, _ as mangleCodeClassesSync, $ as mangleEligibleClasses, a0 as mangleHybridHazardMessage, a1 as mergeThemes, a2 as missingTailwindEntryMessage, a3 as normalizeGlobalVarAliasesForCache, a4 as parseThemeBlocks, a5 as recordGlobalVarSourceFile, a6 as resolveCompileSourceDirs, a7 as resolveNativeCacheIdentity, a8 as rollupPlugin, a9 as scanCustomPropertyNames, aa as shouldEmitMissingCssFallback, ab as shouldEmitWarning, ac as shouldTrackGlobalVarSources, ad as shouldWarnMissingTailwindEntry, ae as shouldWarnUnscopedMonorepo, af as skippedSzFilesMessage, B as unplugin, ag as unscopedMonorepoMessage, ah as vitePlugin, ai as webpackPlugin } from './shared/unplugin.CtnKJhAi.cjs';
6
+ export { e as CssVarDefinition, f as CssVarLocation, g as CssVarReference, h as GlobalVarAliasDiagnostic, i as GlobalVarAliasDiagnosticSeverity, j as GlobalVarAliasEntry, k as GlobalVarCodeSource, l as GlobalVarCssAssetSource, m as GlobalVarCssSource, n as GlobalVarScanCacheEntry, M as MangleHybridHazards, o as ParsedTheme, Q as QuietMode, p as RSCBoundaryViolation, q as RSCModuleRecord, r as allocateMangleTokens, s as appendTailwindSourceDirective, t as assertNoRSCBoundaryViolation, u as assertNoRSCGraphViolation, v as collectMangleHybridHazards, w as computeSafelistRelPath, x as createGlobalVarMapAssetSource, y as createRSCModuleRecord, z as cssHasContentScope, A as cssImportsTailwind, D as deleteRSCModuleRecord, E as emitMissingCssFallback, F as esbuildPlugin, H as extractGlobalVarAliasesForManifest, I as fileMayContainSafelistableSz, J as findLocalImportSources, K as findRSCBoundaryViolation, L as findRSCGraphViolation, N as hasInjectableTailwindCandidate, O as hasTokens, T as hasUseClientDirective, U as hasUseServerDirective, W as isCompileSourceOptedIn, X as isHardIgnoredPath, Y as isMonorepoPackage, Z as isPackagesSkippedSource, _ as isRSCServerModule, $ as mangleCodeClassesSync, a0 as mangleEligibleClasses, a1 as mangleHybridHazardMessage, a2 as mergeThemes, a3 as missingTailwindEntryMessage, a4 as normalizeGlobalVarAliasesForCache, a5 as parseThemeBlocks, a6 as recordGlobalVarSourceFile, a7 as resolveCompileSourceDirs, a8 as resolveNativeCacheIdentity, a9 as resolveQuietMode, aa as rollupPlugin, ab as scanCustomPropertyNames, ac as shouldEmitMissingCssFallback, ad as shouldEmitWarning, ae as shouldTrackGlobalVarSources, af as shouldWarnMissingTailwindEntry, ag as shouldWarnUnscopedMonorepo, ah as skippedSzFilesMessage, B as unplugin, ai as unscopedMonorepoMessage, aj as vitePlugin, ak as webpackPlugin } from './shared/unplugin.DCT7DDG6.cjs';
7
7
  import 'postcss';
8
8
  import '@csszyx/compiler';
9
9
  import 'esbuild';
@@ -15,7 +15,7 @@ import 'vite';
15
15
  * Resolves the global variable scan cache directory.
16
16
  *
17
17
  * @param cacheDir csszyx cache root.
18
- * @returns Cache directory for Phase H CSS scans.
18
+ * @returns Cache directory for global-variable CSS scans.
19
19
  */
20
20
  declare function resolveGlobalVarScanCacheDir(cacheDir: string): string;
21
21
  /**
@@ -78,7 +78,7 @@ declare function isTailwindReservedGlobalVar(name: string): boolean;
78
78
  declare function rewriteGlobalVarCssAliases(options: RewriteGlobalVarCssAliasesOptions): GlobalVarCssAliasRewriteResult;
79
79
 
80
80
  /**
81
- * Runs the Phase H pure validation pipeline without mutating build output.
81
+ * Runs the pure global-variable validation pipeline without mutating build output.
82
82
  *
83
83
  * @param options Validation input.
84
84
  * @returns CSS scans, alias plan, and JS/JSX out-of-band diagnostics.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { CSSManglerOptions, CSSManglerResult, MangleMap, createPostCSSPlugin, escapeCSSClassName, mangleCSS, mangleCSSSync, unescapeTailwindClass } from './css-mangler.mjs';
2
2
  export { CSSZYX_GLOBAL_ALIAS_PREFIX, TAILWIND_RESERVED_PREFIXES } from '@csszyx/types';
3
- import { G as GlobalVarScanCacheKeyInput, C as CssVarScanResult, S as ScanGlobalVarCssOptions, P as PlanGlobalVarAliasesInput, a as GlobalVarAliasPlan, R as RewriteGlobalVarCssAliasesOptions, b as GlobalVarCssAliasRewriteResult, c as CreateGlobalVarAliasValidationOptionsInput, V as ValidateGlobalVarAliasInputsOptions, d as GlobalVarAliasValidationResult } from './shared/unplugin.CtnKJhAi.mjs';
4
- export { e as CssVarDefinition, f as CssVarLocation, g as CssVarReference, h as GlobalVarAliasDiagnostic, i as GlobalVarAliasDiagnosticSeverity, j as GlobalVarAliasEntry, k as GlobalVarCodeSource, l as GlobalVarCssAssetSource, m as GlobalVarCssSource, n as GlobalVarScanCacheEntry, M as MangleHybridHazards, o as ParsedTheme, p as RSCBoundaryViolation, q as RSCModuleRecord, r as allocateMangleTokens, s as appendTailwindSourceDirective, t as assertNoRSCBoundaryViolation, u as assertNoRSCGraphViolation, v as collectMangleHybridHazards, w as computeSafelistRelPath, x as createGlobalVarMapAssetSource, y as createRSCModuleRecord, z as cssHasContentScope, A as cssImportsTailwind, B as default, D as deleteRSCModuleRecord, E as emitMissingCssFallback, F as esbuildPlugin, H as extractGlobalVarAliasesForManifest, I as fileMayContainSafelistableSz, J as findLocalImportSources, K as findRSCBoundaryViolation, L as findRSCGraphViolation, N as hasInjectableTailwindCandidate, O as hasTokens, Q as hasUseClientDirective, T as hasUseServerDirective, U as isCompileSourceOptedIn, W as isHardIgnoredPath, X as isMonorepoPackage, Y as isPackagesSkippedSource, Z as isRSCServerModule, _ as mangleCodeClassesSync, $ as mangleEligibleClasses, a0 as mangleHybridHazardMessage, a1 as mergeThemes, a2 as missingTailwindEntryMessage, a3 as normalizeGlobalVarAliasesForCache, a4 as parseThemeBlocks, a5 as recordGlobalVarSourceFile, a6 as resolveCompileSourceDirs, a7 as resolveNativeCacheIdentity, a8 as rollupPlugin, a9 as scanCustomPropertyNames, aa as shouldEmitMissingCssFallback, ab as shouldEmitWarning, ac as shouldTrackGlobalVarSources, ad as shouldWarnMissingTailwindEntry, ae as shouldWarnUnscopedMonorepo, af as skippedSzFilesMessage, B as unplugin, ag as unscopedMonorepoMessage, ah as vitePlugin, ai as webpackPlugin } from './shared/unplugin.CtnKJhAi.mjs';
3
+ import { G as GlobalVarScanCacheKeyInput, C as CssVarScanResult, S as ScanGlobalVarCssOptions, P as PlanGlobalVarAliasesInput, a as GlobalVarAliasPlan, R as RewriteGlobalVarCssAliasesOptions, b as GlobalVarCssAliasRewriteResult, c as CreateGlobalVarAliasValidationOptionsInput, V as ValidateGlobalVarAliasInputsOptions, d as GlobalVarAliasValidationResult } from './shared/unplugin.DCT7DDG6.mjs';
4
+ export { e as CssVarDefinition, f as CssVarLocation, g as CssVarReference, h as GlobalVarAliasDiagnostic, i as GlobalVarAliasDiagnosticSeverity, j as GlobalVarAliasEntry, k as GlobalVarCodeSource, l as GlobalVarCssAssetSource, m as GlobalVarCssSource, n as GlobalVarScanCacheEntry, M as MangleHybridHazards, o as ParsedTheme, Q as QuietMode, p as RSCBoundaryViolation, q as RSCModuleRecord, r as allocateMangleTokens, s as appendTailwindSourceDirective, t as assertNoRSCBoundaryViolation, u as assertNoRSCGraphViolation, v as collectMangleHybridHazards, w as computeSafelistRelPath, x as createGlobalVarMapAssetSource, y as createRSCModuleRecord, z as cssHasContentScope, A as cssImportsTailwind, B as default, D as deleteRSCModuleRecord, E as emitMissingCssFallback, F as esbuildPlugin, H as extractGlobalVarAliasesForManifest, I as fileMayContainSafelistableSz, J as findLocalImportSources, K as findRSCBoundaryViolation, L as findRSCGraphViolation, N as hasInjectableTailwindCandidate, O as hasTokens, T as hasUseClientDirective, U as hasUseServerDirective, W as isCompileSourceOptedIn, X as isHardIgnoredPath, Y as isMonorepoPackage, Z as isPackagesSkippedSource, _ as isRSCServerModule, $ as mangleCodeClassesSync, a0 as mangleEligibleClasses, a1 as mangleHybridHazardMessage, a2 as mergeThemes, a3 as missingTailwindEntryMessage, a4 as normalizeGlobalVarAliasesForCache, a5 as parseThemeBlocks, a6 as recordGlobalVarSourceFile, a7 as resolveCompileSourceDirs, a8 as resolveNativeCacheIdentity, a9 as resolveQuietMode, aa as rollupPlugin, ab as scanCustomPropertyNames, ac as shouldEmitMissingCssFallback, ad as shouldEmitWarning, ae as shouldTrackGlobalVarSources, af as shouldWarnMissingTailwindEntry, ag as shouldWarnUnscopedMonorepo, ah as skippedSzFilesMessage, B as unplugin, ai as unscopedMonorepoMessage, aj as vitePlugin, ak as webpackPlugin } from './shared/unplugin.DCT7DDG6.mjs';
5
5
  import 'postcss';
6
6
  import '@csszyx/compiler';
7
7
  import 'esbuild';
@@ -13,7 +13,7 @@ import 'vite';
13
13
  * Resolves the global variable scan cache directory.
14
14
  *
15
15
  * @param cacheDir csszyx cache root.
16
- * @returns Cache directory for Phase H CSS scans.
16
+ * @returns Cache directory for global-variable CSS scans.
17
17
  */
18
18
  declare function resolveGlobalVarScanCacheDir(cacheDir: string): string;
19
19
  /**
@@ -76,7 +76,7 @@ declare function isTailwindReservedGlobalVar(name: string): boolean;
76
76
  declare function rewriteGlobalVarCssAliases(options: RewriteGlobalVarCssAliasesOptions): GlobalVarCssAliasRewriteResult;
77
77
 
78
78
  /**
79
- * Runs the Phase H pure validation pipeline without mutating build output.
79
+ * Runs the pure global-variable validation pipeline without mutating build output.
80
80
  *
81
81
  * @param options Validation input.
82
82
  * @returns CSS scans, alias plan, and JS/JSX out-of-band diagnostics.
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  export { createPostCSSPlugin, escapeCSSClassName, mangleCSS, mangleCSSSync, unescapeTailwindClass } from './css-mangler.mjs';
2
- export { a as allocateMangleTokens, b as appendTailwindSourceDirective, c as assertNoRSCBoundaryViolation, d as assertNoRSCGraphViolation, e as collectMangleHybridHazards, f as computeSafelistRelPath, g as createGlobalVarAliasValidationOptions, h as createGlobalVarMapAssetSource, i as createGlobalVarScanCacheKey, j as createRSCModuleRecord, k as cssHasContentScope, l as cssImportsTailwind, u as default, m as deleteRSCModuleRecord, n as emitMissingCssFallback, o as esbuildPlugin, p as extractGlobalVarAliasesForManifest, q as fileMayContainSafelistableSz, r as findLocalImportSources, s as findRSCBoundaryViolation, t as findRSCGraphViolation, v as hasInjectableTailwindCandidate, w as hasTokens, x as hasUseClientDirective, y as hasUseServerDirective, z as isCompileSourceOptedIn, A as isHardIgnoredPath, B as isMonorepoPackage, C as isPackagesSkippedSource, D as isRSCServerModule, E as isTailwindReservedGlobalVar, F as mangleCodeClassesSync, G as mangleEligibleClasses, H as mangleHybridHazardMessage, I as mergeThemes, J as missingTailwindEntryMessage, K as normalizeGlobalVarAliasesForCache, L as parseThemeBlocks, M as planGlobalVarAliases, N as readGlobalVarScanCache, O as recordGlobalVarSourceFile, P as resolveCompileSourceDirs, Q as resolveGlobalVarScanCacheDir, R as resolveNativeCacheIdentity, S as rewriteGlobalVarCssAliases, T as rollupPlugin, U as scanCustomPropertyNames, V as scanGlobalVarCss, W as shouldEmitMissingCssFallback, X as shouldEmitWarning, Y as shouldTrackGlobalVarSources, Z as shouldWarnMissingTailwindEntry, _ as shouldWarnUnscopedMonorepo, $ as skippedSzFilesMessage, u as unplugin, a0 as unscopedMonorepoMessage, a1 as validateGlobalVarAliasInputs, a2 as vitePlugin, a3 as webpackPlugin, a4 as writeGlobalVarScanCache } from './shared/unplugin.B9vpjOhD.mjs';
2
+ export { a as allocateMangleTokens, b as appendTailwindSourceDirective, c as assertNoRSCBoundaryViolation, d as assertNoRSCGraphViolation, e as collectMangleHybridHazards, f as computeSafelistRelPath, g as createGlobalVarAliasValidationOptions, h as createGlobalVarMapAssetSource, i as createGlobalVarScanCacheKey, j as createRSCModuleRecord, k as cssHasContentScope, l as cssImportsTailwind, u as default, m as deleteRSCModuleRecord, n as emitMissingCssFallback, o as esbuildPlugin, p as extractGlobalVarAliasesForManifest, q as fileMayContainSafelistableSz, r as findLocalImportSources, s as findRSCBoundaryViolation, t as findRSCGraphViolation, v as hasInjectableTailwindCandidate, w as hasUseClientDirective, x as hasUseServerDirective, y as isCompileSourceOptedIn, z as isHardIgnoredPath, A as isMonorepoPackage, B as isPackagesSkippedSource, C as isRSCServerModule, D as isTailwindReservedGlobalVar, E as mangleCodeClassesSync, F as mangleEligibleClasses, G as mangleHybridHazardMessage, H as missingTailwindEntryMessage, I as normalizeGlobalVarAliasesForCache, J as planGlobalVarAliases, K as readGlobalVarScanCache, L as recordGlobalVarSourceFile, M as resolveCompileSourceDirs, N as resolveGlobalVarScanCacheDir, O as resolveNativeCacheIdentity, P as resolveQuietMode, Q as rewriteGlobalVarCssAliases, R as rollupPlugin, S as scanGlobalVarCss, T as shouldEmitMissingCssFallback, U as shouldEmitWarning, V as shouldTrackGlobalVarSources, W as shouldWarnMissingTailwindEntry, X as shouldWarnUnscopedMonorepo, Y as skippedSzFilesMessage, u as unplugin, Z as unscopedMonorepoMessage, _ as validateGlobalVarAliasInputs, $ as vitePlugin, a0 as webpackPlugin, a1 as writeGlobalVarScanCache } from './shared/unplugin.ymMe428s.mjs';
3
+ export { h as hasTokens, m as mergeThemes, p as parseThemeBlocks, s as scanCustomPropertyNames } from './shared/unplugin.5l4RHMQh.mjs';
3
4
  export { CSSZYX_GLOBAL_ALIAS_PREFIX, TAILWIND_RESERVED_PREFIXES } from '@csszyx/types';
4
5
  import 'postcss';
5
6
  import 'postcss-selector-parser';
@@ -15,8 +16,7 @@ import '@csszyx/core/native';
15
16
  import '@csszyx/svelte-adapter';
16
17
  import '@csszyx/vue-adapter';
17
18
  import 'unplugin';
18
- import './shared/unplugin.CDqY7kmk.mjs';
19
- import './shared/unplugin.CBMJufQ8.mjs';
19
+ import './shared/unplugin.BB0iWSds.mjs';
20
20
  import './shared/unplugin.B3XoSRB8.mjs';
21
21
  import 'node:zlib';
22
22
  import 'postcss-value-parser';
@@ -4,6 +4,9 @@ function csszyxTurbopack(existing = {}, options = {}) {
4
4
  const { glob = "*.tsx", parserMode = "rust", safelistOutputFile } = options;
5
5
  const config = options.config ?? { mangleVars: false };
6
6
  const loaderOptions = { parserMode, config };
7
+ if (options.importedStaticSz !== void 0) {
8
+ loaderOptions.importedStaticSz = options.importedStaticSz;
9
+ }
7
10
  if (safelistOutputFile !== void 0) {
8
11
  loaderOptions.safelistOutputFile = safelistOutputFile;
9
12
  }
@@ -32,6 +32,16 @@ interface CsszyxTurbopackOptions {
32
32
  config?: Record<string, unknown>;
33
33
  /** Glob the loader applies to. Defaults to `'*.tsx'` (whole app). */
34
34
  glob?: string;
35
+ /**
36
+ * Compile a plain exported sz object into the modules that import it.
37
+ *
38
+ * On unless set. Whatever it is here, the prebuild must resolve it the
39
+ * same way — it writes the safelist for the classes the loader emits, so a
40
+ * lane that resolves more than the other emits class names with no rule.
41
+ * To turn it off, pass `false` here AND `--no-imported-static-sz` to
42
+ * `csszyx next prebuild` and `csszyx next watch`.
43
+ */
44
+ importedStaticSz?: boolean;
35
45
  }
36
46
  /** Minimal shape of a Next.js `turbopack` config block (only what we touch). */
37
47
  interface TurbopackConfig {
@@ -32,6 +32,16 @@ interface CsszyxTurbopackOptions {
32
32
  config?: Record<string, unknown>;
33
33
  /** Glob the loader applies to. Defaults to `'*.tsx'` (whole app). */
34
34
  glob?: string;
35
+ /**
36
+ * Compile a plain exported sz object into the modules that import it.
37
+ *
38
+ * On unless set. Whatever it is here, the prebuild must resolve it the
39
+ * same way — it writes the safelist for the classes the loader emits, so a
40
+ * lane that resolves more than the other emits class names with no rule.
41
+ * To turn it off, pass `false` here AND `--no-imported-static-sz` to
42
+ * `csszyx next prebuild` and `csszyx next watch`.
43
+ */
44
+ importedStaticSz?: boolean;
35
45
  }
36
46
  /** Minimal shape of a Next.js `turbopack` config block (only what we touch). */
37
47
  interface TurbopackConfig {
@@ -2,6 +2,9 @@ function csszyxTurbopack(existing = {}, options = {}) {
2
2
  const { glob = "*.tsx", parserMode = "rust", safelistOutputFile } = options;
3
3
  const config = options.config ?? { mangleVars: false };
4
4
  const loaderOptions = { parserMode, config };
5
+ if (options.importedStaticSz !== void 0) {
6
+ loaderOptions.importedStaticSz = options.importedStaticSz;
7
+ }
5
8
  if (safelistOutputFile !== void 0) {
6
9
  loaderOptions.safelistOutputFile = safelistOutputFile;
7
10
  }
@@ -3,10 +3,11 @@
3
3
  const node_crypto = require('node:crypto');
4
4
  const fs = require('node:fs');
5
5
  const path = require('node:path');
6
- const nextTransformMetadata = require('./shared/unplugin.Bb5TeU9B.cjs');
7
- const nextWatcherCycle = require('./shared/unplugin.DblMogcN.cjs');
8
- const transformCache = require('./shared/unplugin.DbZ7tCfN.cjs');
6
+ const nextTransformMetadata = require('./shared/unplugin.CUTa6bY9.cjs');
7
+ const nextWatcherCycle = require('./shared/unplugin.Cji6O5jv.cjs');
8
+ const transformCache = require('./shared/unplugin.4du3qMst.cjs');
9
9
  require('@csszyx/compiler');
10
+ require('@csszyx/types');
10
11
  require('./shared/unplugin.BkRah5Ot.cjs');
11
12
  require('node:os');
12
13
  require('proper-lockfile');
@@ -39,7 +40,7 @@ function runNextPrebuild(options) {
39
40
  cwd: options.cwd,
40
41
  cacheDir: options.cacheDir,
41
42
  safelistOutputFile: options.safelistOutputFile,
42
- config: options.config ?? {},
43
+ config: nextTransformMetadata.configWithImportedStaticSz(options.config ?? {}, options.importedStaticSz),
43
44
  env: options.env ?? process.env,
44
45
  envKeys: options.envKeys,
45
46
  nextVersion,
@@ -62,11 +63,17 @@ function runNextPrebuild(options) {
62
63
  continue;
63
64
  }
64
65
  const source = fs.readFileSync(filename, "utf8");
66
+ const crossModule = nextTransformMetadata.resolveNextCrossModule({
67
+ filename,
68
+ source,
69
+ root: context.root,
70
+ importedStaticSz: options.importedStaticSz
71
+ });
65
72
  const transform = nextTransformMetadata.transformNextSource({
66
73
  source,
67
74
  filename,
68
75
  parserMode: options.parserMode ?? "rust",
69
- compilerOptions: options.compilerOptions,
76
+ compilerOptions: nextTransformMetadata.withCrossModuleStatics(options.compilerOptions, crossModule.statics),
70
77
  cacheRoot,
71
78
  pluginVersion: csszyxVersion,
72
79
  compilerVersion,
@@ -14,6 +14,13 @@ interface NextPrebuildOptions {
14
14
  safelistOutputFile?: string;
15
15
  parserMode?: NextSourceParserMode;
16
16
  compilerOptions?: TransformSourceCodeOptions;
17
+ /**
18
+ * Whether a plain exported sz object may be compiled into its importers.
19
+ *
20
+ * Must match what the Turbopack loader is given: this pass writes the
21
+ * safelist the loader's emitted classes rely on.
22
+ */
23
+ importedStaticSz?: boolean;
17
24
  config?: JsonLike;
18
25
  env?: Record<string, string | undefined>;
19
26
  envKeys?: readonly string[];
@@ -14,6 +14,13 @@ interface NextPrebuildOptions {
14
14
  safelistOutputFile?: string;
15
15
  parserMode?: NextSourceParserMode;
16
16
  compilerOptions?: TransformSourceCodeOptions;
17
+ /**
18
+ * Whether a plain exported sz object may be compiled into its importers.
19
+ *
20
+ * Must match what the Turbopack loader is given: this pass writes the
21
+ * safelist the loader's emitted classes rely on.
22
+ */
23
+ importedStaticSz?: boolean;
17
24
  config?: JsonLike;
18
25
  env?: Record<string, string | undefined>;
19
26
  envKeys?: readonly string[];
@@ -1,10 +1,11 @@
1
1
  import { createHash } from 'node:crypto';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import * as path from 'node:path';
4
- import { r as readPackageVersion, t as transformNextSource, c as collectNextTransformMetadata, a as createNextSafelistShardFromMetadata } from './shared/unplugin.DXgxFHzO.mjs';
5
- import { c as createNextStateContext, w as writeNextSafelistShard, r as runNextWatcherCycle } from './shared/unplugin.DMcbmP01.mjs';
6
- import { r as resolveTransformCacheDir, n as normalizePathSeparators } from './shared/unplugin.CDqY7kmk.mjs';
4
+ import { r as readPackageVersion, c as configWithImportedStaticSz, a as resolveNextCrossModule, t as transformNextSource, w as withCrossModuleStatics, b as collectNextTransformMetadata, d as createNextSafelistShardFromMetadata } from './shared/unplugin.CogPHmDs.mjs';
5
+ import { c as createNextStateContext, w as writeNextSafelistShard, r as runNextWatcherCycle } from './shared/unplugin.BU0O4IkX.mjs';
6
+ import { r as resolveTransformCacheDir, n as normalizePathSeparators } from './shared/unplugin.BB0iWSds.mjs';
7
7
  import '@csszyx/compiler';
8
+ import '@csszyx/types';
8
9
  import './shared/unplugin.B3XoSRB8.mjs';
9
10
  import 'node:os';
10
11
  import 'proper-lockfile';
@@ -22,7 +23,7 @@ function runNextPrebuild(options) {
22
23
  cwd: options.cwd,
23
24
  cacheDir: options.cacheDir,
24
25
  safelistOutputFile: options.safelistOutputFile,
25
- config: options.config ?? {},
26
+ config: configWithImportedStaticSz(options.config ?? {}, options.importedStaticSz),
26
27
  env: options.env ?? process.env,
27
28
  envKeys: options.envKeys,
28
29
  nextVersion,
@@ -45,11 +46,17 @@ function runNextPrebuild(options) {
45
46
  continue;
46
47
  }
47
48
  const source = readFileSync(filename, "utf8");
49
+ const crossModule = resolveNextCrossModule({
50
+ filename,
51
+ source,
52
+ root: context.root,
53
+ importedStaticSz: options.importedStaticSz
54
+ });
48
55
  const transform = transformNextSource({
49
56
  source,
50
57
  filename,
51
58
  parserMode: options.parserMode ?? "rust",
52
- compilerOptions: options.compilerOptions,
59
+ compilerOptions: withCrossModuleStatics(options.compilerOptions, crossModule.statics),
53
60
  cacheRoot,
54
61
  pluginVersion: csszyxVersion,
55
62
  compilerVersion,
@@ -4,15 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const node_crypto = require('node:crypto');
6
6
  const path = require('node:path');
7
- const nextWatcherCycle = require('./shared/unplugin.DblMogcN.cjs');
8
- const nextTransformMetadata = require('./shared/unplugin.Bb5TeU9B.cjs');
9
- const nextRuntimeInjection = require('./shared/unplugin.C2lHQFii.cjs');
10
- const transformCache = require('./shared/unplugin.DbZ7tCfN.cjs');
7
+ const themeGroupsFile = require('./shared/unplugin.X9a9SL_s.cjs');
8
+ const nextTransformMetadata = require('./shared/unplugin.CUTa6bY9.cjs');
9
+ const nextWatcherCycle = require('./shared/unplugin.Cji6O5jv.cjs');
10
+ const transformCache = require('./shared/unplugin.4du3qMst.cjs');
11
11
  require('node:fs');
12
- require('node:os');
13
- require('proper-lockfile');
14
12
  require('./shared/unplugin.BkRah5Ot.cjs');
15
13
  require('@csszyx/compiler');
14
+ require('@csszyx/types');
15
+ require('node:os');
16
+ require('proper-lockfile');
16
17
 
17
18
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
18
19
  function _interopNamespaceCompat(e) {
@@ -38,7 +39,7 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
38
39
  loaderContext: loaderContext.context,
39
40
  cacheDir: options.cacheDir,
40
41
  safelistOutputFile: options.safelistOutputFile,
41
- config: options.config ?? {},
42
+ config: nextTransformMetadata.configWithImportedStaticSz(options.config ?? {}, options.importedStaticSz),
42
43
  env: options.env ?? process.env,
43
44
  envKeys: options.envKeys,
44
45
  nextVersion: options.nextVersion ?? "unknown-next",
@@ -47,11 +48,17 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
47
48
  mode: options.mode ?? normalizeMode(loaderContext.mode)
48
49
  });
49
50
  assertProductionManifestReady(context, options);
51
+ const crossModule = nextTransformMetadata.resolveNextCrossModule({
52
+ filename: loaderContext.resourcePath,
53
+ source,
54
+ root: context.root,
55
+ importedStaticSz: options.importedStaticSz
56
+ });
50
57
  const transform = nextTransformMetadata.transformNextSource({
51
58
  source,
52
59
  filename: loaderContext.resourcePath,
53
60
  parserMode: options.parserMode ?? "rust",
54
- compilerOptions: options.compilerOptions,
61
+ compilerOptions: nextTransformMetadata.withCrossModuleStatics(options.compilerOptions, crossModule.statics),
55
62
  cacheRoot: transformCache.resolveTransformCacheDir(
56
63
  context.root,
57
64
  path__namespace.relative(context.root, context.cacheDir)
@@ -61,7 +68,18 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
61
68
  astBudget: options.astBudget,
62
69
  allowBabelFallback: options.allowBabelFallback
63
70
  });
64
- const injected = nextRuntimeInjection.injectNextRuntimeImports(transform.result.code, transform.result);
71
+ const injected = themeGroupsFile.injectNextRuntimeImports(transform.result.code, transform.result);
72
+ const callsSzcn = transform.result.usesSzcn || /\bszcn\s*\(/.test(source);
73
+ const themeGroups = callsSzcn ? themeGroupsFile.ensureThemeGroupsFile(context.root, path__namespace.join(context.root, ".csszyx")) : { file: null, watch: [] };
74
+ for (const stylesheet of themeGroups.watch) loaderContext.addDependency?.(stylesheet);
75
+ for (const provider of nextTransformMetadata.normalizeProviderPaths(crossModule.providers)) {
76
+ loaderContext.addDependency?.(provider);
77
+ }
78
+ const code = themeGroups.file === null ? injected.code : themeGroupsFile.insertAfterUseDirective(
79
+ injected.code,
80
+ `import '${themeGroupsFile.themeGroupsSpecifier(loaderContext.resourcePath, themeGroups.file)}';
81
+ `
82
+ );
65
83
  const metadata = nextTransformMetadata.collectNextTransformMetadata(
66
84
  transform.result,
67
85
  source,
@@ -87,12 +105,12 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
87
105
  materialized = true;
88
106
  }
89
107
  return {
90
- code: injected.code,
108
+ code,
91
109
  context,
92
110
  transform,
93
111
  shardPath,
94
112
  materialized,
95
- dependencies: []
113
+ dependencies: themeGroups.watch
96
114
  };
97
115
  }
98
116
  function nextTurboLoader(source) {
@@ -22,6 +22,16 @@ interface NextTurboLoaderOptions {
22
22
  allowProductionMangling?: boolean;
23
23
  materializeSafelist?: boolean;
24
24
  writeOptions?: AtomicWriteOptions;
25
+ /**
26
+ * Whether a plain exported sz object may be compiled into its importers.
27
+ *
28
+ * The same setting the other lanes spell `build.importedStaticSz`, on
29
+ * unless given, and `csszyx next prebuild` has to resolve it identically —
30
+ * the prebuild is what safelists the classes the loader then emits, so a
31
+ * lane that resolves more than the other would emit class names with no
32
+ * rule behind them.
33
+ */
34
+ importedStaticSz?: boolean;
25
35
  }
26
36
  /** Minimal Webpack-compatible loader context used by Turbopack. */
27
37
  interface NextTurboLoaderContext {
@@ -22,6 +22,16 @@ interface NextTurboLoaderOptions {
22
22
  allowProductionMangling?: boolean;
23
23
  materializeSafelist?: boolean;
24
24
  writeOptions?: AtomicWriteOptions;
25
+ /**
26
+ * Whether a plain exported sz object may be compiled into its importers.
27
+ *
28
+ * The same setting the other lanes spell `build.importedStaticSz`, on
29
+ * unless given, and `csszyx next prebuild` has to resolve it identically —
30
+ * the prebuild is what safelists the classes the loader then emits, so a
31
+ * lane that resolves more than the other would emit class names with no
32
+ * rule behind them.
33
+ */
34
+ importedStaticSz?: boolean;
25
35
  }
26
36
  /** Minimal Webpack-compatible loader context used by Turbopack. */
27
37
  interface NextTurboLoaderContext {
@@ -1,14 +1,15 @@
1
1
  import { createHash } from 'node:crypto';
2
2
  import * as path from 'node:path';
3
- import { c as createNextStateContext, w as writeNextSafelistShard, r as runNextWatcherCycle, v as validateNextGenerationManifest, a as readNextGenerationManifest } from './shared/unplugin.DMcbmP01.mjs';
4
- import { r as readPackageVersion, t as transformNextSource, c as collectNextTransformMetadata, a as createNextSafelistShardFromMetadata } from './shared/unplugin.DXgxFHzO.mjs';
5
- import { i as injectNextRuntimeImports } from './shared/unplugin.CBMJufQ8.mjs';
6
- import { r as resolveTransformCacheDir, n as normalizePathSeparators } from './shared/unplugin.CDqY7kmk.mjs';
3
+ import { i as injectNextRuntimeImports, e as ensureThemeGroupsFile, a as insertAfterUseDirective, t as themeGroupsSpecifier } from './shared/unplugin.5l4RHMQh.mjs';
4
+ import { r as readPackageVersion, c as configWithImportedStaticSz, a as resolveNextCrossModule, t as transformNextSource, w as withCrossModuleStatics, n as normalizeProviderPaths, b as collectNextTransformMetadata, d as createNextSafelistShardFromMetadata } from './shared/unplugin.CogPHmDs.mjs';
5
+ import { c as createNextStateContext, w as writeNextSafelistShard, r as runNextWatcherCycle, v as validateNextGenerationManifest, a as readNextGenerationManifest } from './shared/unplugin.BU0O4IkX.mjs';
6
+ import { r as resolveTransformCacheDir, n as normalizePathSeparators } from './shared/unplugin.BB0iWSds.mjs';
7
7
  import 'node:fs';
8
- import 'node:os';
9
- import 'proper-lockfile';
10
8
  import './shared/unplugin.B3XoSRB8.mjs';
11
9
  import '@csszyx/compiler';
10
+ import '@csszyx/types';
11
+ import 'node:os';
12
+ import 'proper-lockfile';
12
13
 
13
14
  function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
14
15
  const options = normalizeOptions(loaderContext, explicitOptions);
@@ -19,7 +20,7 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
19
20
  loaderContext: loaderContext.context,
20
21
  cacheDir: options.cacheDir,
21
22
  safelistOutputFile: options.safelistOutputFile,
22
- config: options.config ?? {},
23
+ config: configWithImportedStaticSz(options.config ?? {}, options.importedStaticSz),
23
24
  env: options.env ?? process.env,
24
25
  envKeys: options.envKeys,
25
26
  nextVersion: options.nextVersion ?? "unknown-next",
@@ -28,11 +29,17 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
28
29
  mode: options.mode ?? normalizeMode(loaderContext.mode)
29
30
  });
30
31
  assertProductionManifestReady(context, options);
32
+ const crossModule = resolveNextCrossModule({
33
+ filename: loaderContext.resourcePath,
34
+ source,
35
+ root: context.root,
36
+ importedStaticSz: options.importedStaticSz
37
+ });
31
38
  const transform = transformNextSource({
32
39
  source,
33
40
  filename: loaderContext.resourcePath,
34
41
  parserMode: options.parserMode ?? "rust",
35
- compilerOptions: options.compilerOptions,
42
+ compilerOptions: withCrossModuleStatics(options.compilerOptions, crossModule.statics),
36
43
  cacheRoot: resolveTransformCacheDir(
37
44
  context.root,
38
45
  path.relative(context.root, context.cacheDir)
@@ -43,6 +50,17 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
43
50
  allowBabelFallback: options.allowBabelFallback
44
51
  });
45
52
  const injected = injectNextRuntimeImports(transform.result.code, transform.result);
53
+ const callsSzcn = transform.result.usesSzcn || /\bszcn\s*\(/.test(source);
54
+ const themeGroups = callsSzcn ? ensureThemeGroupsFile(context.root, path.join(context.root, ".csszyx")) : { file: null, watch: [] };
55
+ for (const stylesheet of themeGroups.watch) loaderContext.addDependency?.(stylesheet);
56
+ for (const provider of normalizeProviderPaths(crossModule.providers)) {
57
+ loaderContext.addDependency?.(provider);
58
+ }
59
+ const code = themeGroups.file === null ? injected.code : insertAfterUseDirective(
60
+ injected.code,
61
+ `import '${themeGroupsSpecifier(loaderContext.resourcePath, themeGroups.file)}';
62
+ `
63
+ );
46
64
  const metadata = collectNextTransformMetadata(
47
65
  transform.result,
48
66
  source,
@@ -68,12 +86,12 @@ function runNextTurboLoader(source, loaderContext, explicitOptions = {}) {
68
86
  materialized = true;
69
87
  }
70
88
  return {
71
- code: injected.code,
89
+ code,
72
90
  context,
73
91
  transform,
74
92
  shardPath,
75
93
  materialized,
76
- dependencies: []
94
+ dependencies: themeGroups.watch
77
95
  };
78
96
  }
79
97
  function nextTurboLoader(source) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const path = require('node:path');
4
- const nextWatcherCycle = require('./shared/unplugin.DblMogcN.cjs');
4
+ const nextWatcherCycle = require('./shared/unplugin.Cji6O5jv.cjs');
5
5
  require('node:fs');
6
6
  require('node:crypto');
7
7
  require('node:os');
@@ -1,5 +1,5 @@
1
1
  import * as path from 'node:path';
2
- import { r as runNextWatcherCycle } from './shared/unplugin.DMcbmP01.mjs';
2
+ import { r as runNextWatcherCycle } from './shared/unplugin.BU0O4IkX.mjs';
3
3
  import 'node:fs';
4
4
  import 'node:crypto';
5
5
  import 'node:os';