@voidzero-dev/vite-plus-core 0.1.18 → 0.1.19-alpha.1

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 (66) hide show
  1. package/dist/rolldown/cli.mjs +6 -6
  2. package/dist/rolldown/config.d.mts +1 -1
  3. package/dist/rolldown/config.mjs +2 -2
  4. package/dist/rolldown/experimental-index.d.mts +4 -4
  5. package/dist/rolldown/experimental-index.mjs +8 -8
  6. package/dist/rolldown/filter-index.d.mts +1 -1
  7. package/dist/rolldown/index.d.mts +2 -2
  8. package/dist/rolldown/index.mjs +4 -4
  9. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  10. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  11. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  12. package/dist/rolldown/parse-ast-index.mjs +1 -1
  13. package/dist/rolldown/plugins-index.d.mts +3 -3
  14. package/dist/rolldown/plugins-index.mjs +2 -2
  15. package/dist/rolldown/shared/{binding-s-V_wTpj.mjs → binding-DI_PGVIh.mjs} +1 -1
  16. package/dist/rolldown/shared/{binding-DUEnSb0A.d.mts → binding-zH1vcmbM.d.mts} +27 -0
  17. package/dist/rolldown/shared/{bindingify-input-options-BZsZ-nl1.mjs → bindingify-input-options-CQLSwbb0.mjs} +24 -48
  18. package/dist/rolldown/shared/{constructors-DYemMpPL.d.mts → constructors-C29s6i8O.d.mts} +2 -2
  19. package/dist/rolldown/shared/{constructors-BaEBnHl3.mjs → constructors-Dzji6NUq.mjs} +1 -1
  20. package/dist/rolldown/shared/{define-config-DhJZwTRw.d.mts → define-config-DmrIgjVV.d.mts} +22 -1
  21. package/dist/rolldown/shared/{error-w0u7biK-.mjs → error-DAA7ncC5.mjs} +1 -1
  22. package/dist/rolldown/shared/{load-config-CmWRh-jo.mjs → load-config-DKK5aKL7.mjs} +1 -1
  23. package/dist/rolldown/shared/{normalize-string-or-regex-CVvpepxa.mjs → normalize-string-or-regex-E9GT23QI.mjs} +1 -1
  24. package/dist/rolldown/shared/{parse-Bd1l_BRJ.mjs → parse-BC6EwEdS.mjs} +2 -2
  25. package/dist/rolldown/shared/{prompt-DZIXsnf9.mjs → prompt-Bm9aMQjm.mjs} +4 -2
  26. package/dist/rolldown/shared/{resolve-tsconfig-CNjJwuKB.mjs → resolve-tsconfig-BVTabsge.mjs} +2 -2
  27. package/dist/rolldown/shared/{rolldown-CWkl-K9Q.mjs → rolldown-DN-NFVZl.mjs} +1 -1
  28. package/dist/rolldown/shared/{rolldown-build-BIk0DnUJ.mjs → rolldown-build-B-H35squ.mjs} +10 -6
  29. package/dist/rolldown/shared/{transform-Kz3D2LbX.d.mts → transform-DgZ3paSD.d.mts} +1 -1
  30. package/dist/rolldown/shared/{watch-CTRlKkoe.mjs → watch-DKEzXLor.mjs} +4 -4
  31. package/dist/rolldown/utils-index.d.mts +3 -3
  32. package/dist/rolldown/utils-index.mjs +5 -5
  33. package/dist/tsdown/{build-y6nUUkVJ-BUtpLkpw.js → build-OX8uszs6-4hNTeOrB.js} +143 -92
  34. package/dist/tsdown/{chunk-CSNpwdVU.js → chunk-N93fKeF6.js} +1 -1
  35. package/dist/tsdown/{debug-CLlnG64L-CvIUyX2c.js → debug-CLlnG64L-CuCVzZmG.js} +2 -2
  36. package/dist/tsdown/{detect-DN3DXXYt-DDr6LAmT.js → detect-DN3DXXYt-DtgPLlRO.js} +1 -1
  37. package/dist/tsdown/{dist-Cqme3mtE.js → dist-CrrE8ZBn.js} +1 -1
  38. package/dist/tsdown/{dist-PpqQ55q2.js → dist-DSi2MWPQ.js} +7 -6
  39. package/dist/tsdown/index-types.d.ts +64 -16
  40. package/dist/tsdown/index.js +4 -4
  41. package/dist/tsdown/{main-Ccx2FDJq.js → main-BsfiKQP8.js} +5 -5
  42. package/dist/tsdown/npm_cjs_chunk_chunk.cjs +1 -1
  43. package/dist/tsdown/run.js +4 -4
  44. package/dist/tsdown/{tsc-o1MoGgGA.js → tsc-Cm8giMT9.js} +1 -1
  45. package/dist/vite/client/client.mjs +4 -4
  46. package/dist/vite/node/chunks/build.js +5381 -2
  47. package/dist/vite/node/chunks/chunk.js +11 -2
  48. package/dist/vite/node/chunks/dist.js +21 -11
  49. package/dist/vite/node/chunks/dist2.js +4 -3
  50. package/dist/vite/node/chunks/logger.js +1 -1
  51. package/dist/vite/node/chunks/node.js +115 -59
  52. package/dist/vite/node/chunks/postcss-import.js +1 -1
  53. package/dist/vite/node/cli.js +6 -6
  54. package/dist/vite/node/index.d.ts +2 -2
  55. package/dist/vite/node/index.js +1 -1
  56. package/dist/vite/node/module-runner.js +2 -2
  57. package/package.json +12 -12
  58. package/dist/tsdown/build-y6nUUkVJ-B9JhNMeu.js +0 -2
  59. package/dist/vite/node/chunks/build2.js +0 -5378
  60. package/dist/vite/node/chunks/config.js +0 -2
  61. package/dist/vite/node/chunks/optimizer.js +0 -2
  62. package/dist/vite/node/chunks/preview.js +0 -2
  63. package/dist/vite/node/chunks/server.js +0 -2
  64. /package/dist/tsdown/{dist-D8aGMhnG.js → dist-JaOach5K.js} +0 -0
  65. /package/dist/tsdown/{resolver-DkvdaW3s-CCXGyGZ3.js → resolver-DkvdaW3s-BeVUoOo-.js} +0 -0
  66. /package/dist/tsdown/{tsc-context-C2cC1Bhi.js → tsc-context-B1O6kHlu.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { n as onExit, t as watch } from "./shared/watch-CTRlKkoe.mjs";
2
- import { C as version, S as description } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-DKEzXLor.mjs";
2
+ import { C as version, S as description } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
3
3
  import { t as arraify } from "./shared/misc-DJYbNKZX.mjs";
4
- import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-BIk0DnUJ.mjs";
5
- import { t as rolldown } from "./shared/rolldown-CWkl-K9Q.mjs";
6
- import { t as loadConfig } from "./shared/load-config-CmWRh-jo.mjs";
4
+ import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-B-H35squ.mjs";
5
+ import { t as rolldown } from "./shared/rolldown-DN-NFVZl.mjs";
6
+ import { t as loadConfig } from "./shared/load-config-DKK5aKL7.mjs";
7
7
  import path from "node:path";
8
8
  import process$1 from "node:process";
9
9
  import { performance } from "node:perf_hooks";
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
847
847
  };
848
848
  }
849
849
  //#endregion
850
- //#region \0@oxc-project+runtime@0.124.0/helpers/usingCtx.js
850
+ //#region \0@oxc-project+runtime@0.126.0/helpers/usingCtx.js
851
851
  function _usingCtx() {
852
852
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
853
853
  var n = Error();
@@ -1,4 +1,4 @@
1
- import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-DhJZwTRw.mjs";
1
+ import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-DmrIgjVV.mjs";
2
2
 
3
3
  //#region src/utils/load-config.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { x as VERSION } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
1
+ import { x as VERSION } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
2
2
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
3
- import { t as loadConfig } from "./shared/load-config-CmWRh-jo.mjs";
3
+ import { t as loadConfig } from "./shared/load-config-DKK5aKL7.mjs";
4
4
  export { VERSION, defineConfig, loadConfig };
@@ -1,7 +1,7 @@
1
- import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-DUEnSb0A.mjs";
2
- import { Jt as freeExternalMemory, Kt as RolldownOutput, Lt as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, st as NormalizedOutputOptions } from "./shared/define-config-DhJZwTRw.mjs";
3
- import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-Kz3D2LbX.mjs";
4
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DYemMpPL.mjs";
1
+ import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-zH1vcmbM.mjs";
2
+ import { Jt as freeExternalMemory, Kt as RolldownOutput, Lt as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, st as NormalizedOutputOptions } from "./shared/define-config-DmrIgjVV.mjs";
3
+ import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-DgZ3paSD.mjs";
4
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-C29s6i8O.mjs";
5
5
 
6
6
  //#region src/api/dev/dev-options.d.ts
7
7
  type DevOnHmrUpdates = (result: Error | {
@@ -1,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
2
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CVvpepxa.mjs";
3
- import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
4
- import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-BIk0DnUJ.mjs";
5
- import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-w0u7biK-.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-Bd1l_BRJ.mjs";
7
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-BaEBnHl3.mjs";
8
- import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-CNjJwuKB.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DI_PGVIh.mjs";
2
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-E9GT23QI.mjs";
3
+ import { o as transformToRollupOutput } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
4
+ import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-B-H35squ.mjs";
5
+ import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-DAA7ncC5.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-BC6EwEdS.mjs";
7
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-Dzji6NUq.mjs";
8
+ import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-BVTabsge.mjs";
9
9
  import { pathToFileURL } from "node:url";
10
10
  //#region src/api/dev/dev-engine.ts
11
11
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { M as withFilter } from "./shared/define-config-DhJZwTRw.mjs";
1
+ import { M as withFilter } from "./shared/define-config-DmrIgjVV.mjs";
2
2
 
3
3
  //#region ../pluginutils/dist/filter/composable-filters.d.ts
4
4
  type StringOrRegExp = string | RegExp;
@@ -1,4 +1,4 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-C6h4g8dA.mjs";
2
- import { z as PreRenderedChunk } from "./shared/binding-DUEnSb0A.mjs";
3
- import { $ as GeneralHookFilter, A as SourceDescription, At as CodeSplittingOptions, B as TreeshakingOptions, Bt as PartialNull, C as PartialResolvedId, Ct as AddonFunction, D as ResolvedId, Dt as ChunkingContext, E as ResolveIdResult, Et as ChunkFileNamesFunction, F as VERSION, Ft as MinifyOptions, G as EmittedPrebuiltChunk, Gt as RenderedModule, H as EmittedAsset, Ht as OutputAsset, I as BundleError, It as ModuleFormat, J as PluginContextResolveOptions, K as GetModuleInfo, Kt as RolldownOutput, L as ExistingRawSourceMap, Lt as OutputOptions, Mt as GeneratedCodeOptions, Nt as GeneratedCodePreset, O as RolldownPlugin, Ot as CodeSplittingGroup, P as RUNTIME_MODULE_ID, Pt as GlobalsFunction, Q as PluginContextMeta, R as SourceMapInput, Rt as PreRenderedAsset, S as ParallelPluginHooks, St as build, T as ResolveIdExtraOptions, Tt as AdvancedChunksOptions, U as EmittedChunk, Ut as OutputChunk, V as TransformPluginContext, W as EmittedFile, Wt as RenderedChunk, Xt as SourcemapIgnoreListOption, Y as DefineParallelPluginResult, Yt as ModuleInfo, Z as MinimalPluginContext, _ as ImportKind, _t as RolldownWatcherWatcherEventMap, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as RolldownBuild, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherEvent, h as FunctionPluginHooks, ht as RolldownWatcher, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as CommentsOptions, k as RolldownPluginOption, kt as CodeSplittingNameFunction, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as watch, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as RolldownMagicString, q as PluginContext, qt as SourceMap, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as WatchOptions, w as Plugin, wt as AdvancedChunksGroup, x as ObjectHook, xt as BuildOptions, y as ModuleOptions, yt as rolldown, z as OutputBundle } from "./shared/define-config-DhJZwTRw.mjs";
2
+ import { z as PreRenderedChunk } from "./shared/binding-zH1vcmbM.mjs";
3
+ import { $ as GeneralHookFilter, A as SourceDescription, At as CodeSplittingOptions, B as TreeshakingOptions, Bt as PartialNull, C as PartialResolvedId, Ct as AddonFunction, D as ResolvedId, Dt as ChunkingContext, E as ResolveIdResult, Et as ChunkFileNamesFunction, F as VERSION, Ft as MinifyOptions, G as EmittedPrebuiltChunk, Gt as RenderedModule, H as EmittedAsset, Ht as OutputAsset, I as BundleError, It as ModuleFormat, J as PluginContextResolveOptions, K as GetModuleInfo, Kt as RolldownOutput, L as ExistingRawSourceMap, Lt as OutputOptions, Mt as GeneratedCodeOptions, Nt as GeneratedCodePreset, O as RolldownPlugin, Ot as CodeSplittingGroup, P as RUNTIME_MODULE_ID, Pt as GlobalsFunction, Q as PluginContextMeta, R as SourceMapInput, Rt as PreRenderedAsset, S as ParallelPluginHooks, St as build, T as ResolveIdExtraOptions, Tt as AdvancedChunksOptions, U as EmittedChunk, Ut as OutputChunk, V as TransformPluginContext, W as EmittedFile, Wt as RenderedChunk, Xt as SourcemapIgnoreListOption, Y as DefineParallelPluginResult, Yt as ModuleInfo, Z as MinimalPluginContext, _ as ImportKind, _t as RolldownWatcherWatcherEventMap, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as RolldownBuild, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherEvent, h as FunctionPluginHooks, ht as RolldownWatcher, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as CommentsOptions, k as RolldownPluginOption, kt as CodeSplittingNameFunction, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as watch, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as RolldownMagicString, q as PluginContext, qt as SourceMap, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as WatchOptions, w as Plugin, wt as AdvancedChunksGroup, x as ObjectHook, xt as BuildOptions, y as ModuleOptions, yt as rolldown, z as OutputBundle } from "./shared/define-config-DmrIgjVV.mjs";
4
4
  export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BufferEncoding, BuildOptions, BundleError, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, CommentsOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedChunk, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PluginContextResolveOptions, PreRenderedAsset, PreRenderedChunk, RUNTIME_MODULE_ID, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownError, RolldownError as RollupError, RolldownFileStats, RolldownFsModule, RolldownLog, RolldownLog as RollupLog, RolldownLogWithString, RolldownLogWithString as RollupLogWithString, RolldownMagicString, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RolldownWatcherWatcherEventMap, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherFileWatcherOptions, WatcherOptions, build, defineConfig, rolldown, watch };
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-CTRlKkoe.mjs";
3
- import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
4
- import { t as rolldown } from "./shared/rolldown-CWkl-K9Q.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DI_PGVIh.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-DKEzXLor.mjs";
3
+ import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
4
+ import { t as rolldown } from "./shared/rolldown-DN-NFVZl.mjs";
5
5
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
6
6
  import { isMainThread } from "node:worker_threads";
7
7
  //#region src/setup.ts
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-s-V_wTpj.mjs";
2
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BZsZ-nl1.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DI_PGVIh.mjs";
2
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
3
3
  import { parentPort, workerData } from "node:worker_threads";
4
4
  //#region src/parallel-plugin-worker.ts
5
5
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { w as Plugin, zt as MaybePromise } from "./shared/define-config-DhJZwTRw.mjs";
1
+ import { w as Plugin, zt as MaybePromise } from "./shared/define-config-DmrIgjVV.mjs";
2
2
 
3
3
  //#region src/plugin/parallel-plugin-implementation.d.ts
4
4
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- import { L as ParseResult$1, R as ParserOptions$1 } from "./shared/binding-DUEnSb0A.mjs";
1
+ import { L as ParseResult$1, R as ParserOptions$1 } from "./shared/binding-zH1vcmbM.mjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
 
4
4
  //#region src/parse-ast-index.d.ts
@@ -1,5 +1,5 @@
1
1
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
2
- import { n as parseSync, t as parse } from "./shared/parse-Bd1l_BRJ.mjs";
2
+ import { n as parseSync, t as parse } from "./shared/parse-BC6EwEdS.mjs";
3
3
  //#region src/parse-ast-index.ts
4
4
  function wrap(result, filename, sourceText) {
5
5
  if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
@@ -1,6 +1,6 @@
1
- import { m as BindingReplacePluginConfig } from "./shared/binding-DUEnSb0A.mjs";
2
- import { N as BuiltinPlugin } from "./shared/define-config-DhJZwTRw.mjs";
3
- import { t as esmExternalRequirePlugin } from "./shared/constructors-DYemMpPL.mjs";
1
+ import { m as BindingReplacePluginConfig } from "./shared/binding-zH1vcmbM.mjs";
2
+ import { N as BuiltinPlugin } from "./shared/define-config-DmrIgjVV.mjs";
3
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-C29s6i8O.mjs";
4
4
 
5
5
  //#region src/builtin-plugin/replace-plugin.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CVvpepxa.mjs";
2
- import { t as esmExternalRequirePlugin } from "./shared/constructors-BaEBnHl3.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-E9GT23QI.mjs";
2
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-Dzji6NUq.mjs";
3
3
  //#region src/builtin-plugin/replace-plugin.ts
4
4
  /**
5
5
  * Replaces targeted strings in files while bundling.
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __copyProps = (to, from, except, desc) => {
11
11
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
12
  key = keys[i];
@@ -160,6 +160,15 @@ interface TreeShakeOptions {
160
160
  * @default 'always'
161
161
  */
162
162
  propertyReadSideEffects?: boolean | 'always';
163
+ /**
164
+ * Whether property write accesses (assignments to member expressions) have side effects.
165
+ *
166
+ * When false, assignments like `obj.prop = value` are considered side-effect-free
167
+ * (assuming the object and value expressions themselves are side-effect-free).
168
+ *
169
+ * @default true
170
+ */
171
+ propertyWriteSideEffects?: boolean;
163
172
  /**
164
173
  * Whether accessing a global variable has side effects.
165
174
  *
@@ -1158,6 +1167,24 @@ interface TypeScriptOptions {
1158
1167
  * Defaults to `false`.
1159
1168
  */
1160
1169
  removeClassFieldsWithoutInitializer?: boolean;
1170
+ /**
1171
+ * When true, optimize const enums by inlining their values at usage sites
1172
+ * and removing the enum declaration.
1173
+ *
1174
+ * @default false
1175
+ */
1176
+ optimizeConstEnums?: boolean;
1177
+ /**
1178
+ * When true, optimize regular (non-const) enums by inlining their member
1179
+ * accesses at usage sites when the member value is statically known.
1180
+ *
1181
+ * Non-exported enum declarations are also removed when all members are
1182
+ * evaluable and no references to the enum as a runtime value exist
1183
+ * (e.g., `console.log(Foo)`, `typeof Foo`, or passing the enum as an argument).
1184
+ *
1185
+ * @default false
1186
+ */
1187
+ optimizeEnums?: boolean;
1161
1188
  /**
1162
1189
  * Also generate a `.d.ts` declaration file for TypeScript files.
1163
1190
  *
@@ -1,8 +1,8 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
2
  import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-D80CXhvg.mjs";
3
- import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CVvpepxa.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-E9GT23QI.mjs";
4
4
  import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-w0u7biK-.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-DAA7ncC5.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import path from "node:path";
8
8
  import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
@@ -217,7 +217,7 @@ function bindingAssetSource(source) {
217
217
  return { inner: source };
218
218
  }
219
219
  //#endregion
220
- //#region \0@oxc-project+runtime@0.124.0/helpers/decorate.js
220
+ //#region \0@oxc-project+runtime@0.126.0/helpers/decorate.js
221
221
  function __decorate(decorators, target, key, desc) {
222
222
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
223
223
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1466,30 +1466,6 @@ function bindingifyCloseWatcher(args) {
1466
1466
  }
1467
1467
  //#endregion
1468
1468
  //#region src/plugin/generated/hook-usage.ts
1469
- let HookUsageKind = /* @__PURE__ */ function(HookUsageKind) {
1470
- HookUsageKind[HookUsageKind["buildStart"] = 1] = "buildStart";
1471
- HookUsageKind[HookUsageKind["resolveId"] = 2] = "resolveId";
1472
- HookUsageKind[HookUsageKind["resolveDynamicImport"] = 4] = "resolveDynamicImport";
1473
- HookUsageKind[HookUsageKind["load"] = 8] = "load";
1474
- HookUsageKind[HookUsageKind["transform"] = 16] = "transform";
1475
- HookUsageKind[HookUsageKind["moduleParsed"] = 32] = "moduleParsed";
1476
- HookUsageKind[HookUsageKind["buildEnd"] = 64] = "buildEnd";
1477
- HookUsageKind[HookUsageKind["renderStart"] = 128] = "renderStart";
1478
- HookUsageKind[HookUsageKind["renderError"] = 256] = "renderError";
1479
- HookUsageKind[HookUsageKind["renderChunk"] = 512] = "renderChunk";
1480
- HookUsageKind[HookUsageKind["augmentChunkHash"] = 1024] = "augmentChunkHash";
1481
- HookUsageKind[HookUsageKind["generateBundle"] = 2048] = "generateBundle";
1482
- HookUsageKind[HookUsageKind["writeBundle"] = 4096] = "writeBundle";
1483
- HookUsageKind[HookUsageKind["closeBundle"] = 8192] = "closeBundle";
1484
- HookUsageKind[HookUsageKind["watchChange"] = 16384] = "watchChange";
1485
- HookUsageKind[HookUsageKind["closeWatcher"] = 32768] = "closeWatcher";
1486
- HookUsageKind[HookUsageKind["transformAst"] = 65536] = "transformAst";
1487
- HookUsageKind[HookUsageKind["banner"] = 131072] = "banner";
1488
- HookUsageKind[HookUsageKind["footer"] = 262144] = "footer";
1489
- HookUsageKind[HookUsageKind["intro"] = 524288] = "intro";
1490
- HookUsageKind[HookUsageKind["outro"] = 1048576] = "outro";
1491
- return HookUsageKind;
1492
- }({});
1493
1469
  var HookUsage = class {
1494
1470
  bitflag = BigInt(0);
1495
1471
  constructor() {}
@@ -1502,26 +1478,26 @@ var HookUsage = class {
1502
1478
  };
1503
1479
  function extractHookUsage(plugin) {
1504
1480
  let hookUsage = new HookUsage();
1505
- if (plugin.buildStart) hookUsage.union(HookUsageKind.buildStart);
1506
- if (plugin.resolveId) hookUsage.union(HookUsageKind.resolveId);
1507
- if (plugin.resolveDynamicImport) hookUsage.union(HookUsageKind.resolveDynamicImport);
1508
- if (plugin.load) hookUsage.union(HookUsageKind.load);
1509
- if (plugin.transform) hookUsage.union(HookUsageKind.transform);
1510
- if (plugin.moduleParsed) hookUsage.union(HookUsageKind.moduleParsed);
1511
- if (plugin.buildEnd) hookUsage.union(HookUsageKind.buildEnd);
1512
- if (plugin.renderStart) hookUsage.union(HookUsageKind.renderStart);
1513
- if (plugin.renderError) hookUsage.union(HookUsageKind.renderError);
1514
- if (plugin.renderChunk) hookUsage.union(HookUsageKind.renderChunk);
1515
- if (plugin.augmentChunkHash) hookUsage.union(HookUsageKind.augmentChunkHash);
1516
- if (plugin.generateBundle) hookUsage.union(HookUsageKind.generateBundle);
1517
- if (plugin.writeBundle) hookUsage.union(HookUsageKind.writeBundle);
1518
- if (plugin.closeBundle) hookUsage.union(HookUsageKind.closeBundle);
1519
- if (plugin.watchChange) hookUsage.union(HookUsageKind.watchChange);
1520
- if (plugin.closeWatcher) hookUsage.union(HookUsageKind.closeWatcher);
1521
- if (plugin.banner) hookUsage.union(HookUsageKind.banner);
1522
- if (plugin.footer) hookUsage.union(HookUsageKind.footer);
1523
- if (plugin.intro) hookUsage.union(HookUsageKind.intro);
1524
- if (plugin.outro) hookUsage.union(HookUsageKind.outro);
1481
+ if (plugin.buildStart) hookUsage.union(1);
1482
+ if (plugin.resolveId) hookUsage.union(2);
1483
+ if (plugin.resolveDynamicImport) hookUsage.union(4);
1484
+ if (plugin.load) hookUsage.union(8);
1485
+ if (plugin.transform) hookUsage.union(16);
1486
+ if (plugin.moduleParsed) hookUsage.union(32);
1487
+ if (plugin.buildEnd) hookUsage.union(64);
1488
+ if (plugin.renderStart) hookUsage.union(128);
1489
+ if (plugin.renderError) hookUsage.union(256);
1490
+ if (plugin.renderChunk) hookUsage.union(512);
1491
+ if (plugin.augmentChunkHash) hookUsage.union(1024);
1492
+ if (plugin.generateBundle) hookUsage.union(2048);
1493
+ if (plugin.writeBundle) hookUsage.union(4096);
1494
+ if (plugin.closeBundle) hookUsage.union(8192);
1495
+ if (plugin.watchChange) hookUsage.union(16384);
1496
+ if (plugin.closeWatcher) hookUsage.union(32768);
1497
+ if (plugin.banner) hookUsage.union(131072);
1498
+ if (plugin.footer) hookUsage.union(262144);
1499
+ if (plugin.intro) hookUsage.union(524288);
1500
+ if (plugin.outro) hookUsage.union(1048576);
1525
1501
  return hookUsage;
1526
1502
  }
1527
1503
  //#endregion
@@ -1,5 +1,5 @@
1
- import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DUEnSb0A.mjs";
2
- import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config-DhJZwTRw.mjs";
1
+ import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-zH1vcmbM.mjs";
2
+ import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config-DmrIgjVV.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CVvpepxa.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-E9GT23QI.mjs";
2
2
  //#region src/builtin-plugin/constructors.ts
3
3
  function viteModulePreloadPolyfillPlugin(config) {
4
4
  return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-C6h4g8dA.mjs";
2
- import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as PreRenderedChunk } from "./binding-DUEnSb0A.mjs";
2
+ import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as PreRenderedChunk } from "./binding-zH1vcmbM.mjs";
3
3
  import { TopLevelFilterExpression } from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
@@ -954,6 +954,12 @@ interface OutputOptions {
954
954
  */
955
955
  strict?: boolean | "auto";
956
956
  }
957
+ /**
958
+ * Built-in module tag names computed by rolldown.
959
+ *
960
+ * - `'$initial'` — the module is statically imported by at least one user-defined entry point, or is part of its static dependency chain.
961
+ */
962
+ type BuiltinModuleTag = "$initial";
957
963
  type CodeSplittingGroup = {
958
964
  /**
959
965
  * Name of the group. It will be also used as the name of the chunk and replace the `[name]` placeholder in the {@linkcode OutputOptions.chunkFileNames | output.chunkFileNames} option.
@@ -1117,6 +1123,21 @@ type CodeSplittingGroup = {
1117
1123
  * @default 0
1118
1124
  */
1119
1125
  entriesAwareMergeThreshold?: number;
1126
+ /**
1127
+ * Filter modules by tags. Only modules that have **all** specified tags
1128
+ * are captured by this group. Combines with `test` and other filters —
1129
+ * a module must match all criteria.
1130
+ *
1131
+ * Built-in tags: `'$initial'` (module is statically imported by a user-defined entry or part of its dependency chain).
1132
+ *
1133
+ * @see {@link https://rolldown.rs/in-depth/manual-code-splitting | Manual Code Splitting}
1134
+ *
1135
+ * @example
1136
+ * ```js
1137
+ * { name: 'initial-deps', tags: ['$initial'], maxSize: 1048576 }
1138
+ * ```
1139
+ */
1140
+ tags?: BuiltinModuleTag[];
1120
1141
  };
1121
1142
  /**
1122
1143
  * Alias for {@linkcode CodeSplittingGroup}. Use this type for the `codeSplitting.groups` option.
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-s-V_wTpj.mjs";
1
+ import { t as require_binding } from "./binding-DI_PGVIh.mjs";
2
2
  //#region src/types/sourcemap.ts
3
3
  function bindingifySourcemap(map) {
4
4
  if (map == null) return;
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-CWkl-K9Q.mjs";
1
+ import { t as rolldown } from "./rolldown-DN-NFVZl.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
2
  import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
3
3
  //#region src/builtin-plugin/utils.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
2
- //#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
4
4
  function wrap(result) {
5
5
  let program, module, comments, errors;
@@ -592,10 +592,12 @@ let wD = class extends x {
592
592
  return this.options[this.cursor].value;
593
593
  }
594
594
  toggleAll() {
595
- this.value = this.value.length === this.options.length ? [] : this.options.map((F) => F.value);
595
+ const u = this.value.length === this.options.length;
596
+ this.value = u ? [] : this.options.map((F) => F.value);
596
597
  }
597
598
  toggleValue() {
598
- this.value = this.value.includes(this._value) ? this.value.filter((F) => F !== this._value) : [...this.value, this._value];
599
+ const u = this.value.includes(this._value);
600
+ this.value = u ? this.value.filter((F) => F !== this._value) : [...this.value, this._value];
599
601
  }
600
602
  };
601
603
  var SD = Object.defineProperty, $D = (t, u, F) => u in t ? SD(t, u, {
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-w0u7biK-.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-DAA7ncC5.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-BIk0DnUJ.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-B-H35squ.mjs";
2
2
  //#region src/api/rolldown/index.ts
3
3
  /**
4
4
  * The API compatible with Rollup's `rollup` function.
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-CVvpepxa.mjs";
4
- import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-BZsZ-nl1.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-E9GT23QI.mjs";
4
+ import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-CQLSwbb0.mjs";
5
5
  import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-w0u7biK-.mjs";
6
+ import { i as unwrapBindingResult } from "./error-DAA7ncC5.mjs";
7
7
  import { Worker } from "node:worker_threads";
8
8
  import path, { sep } from "node:path";
9
9
  import { formatWithOptions, styleText } from "node:util";
@@ -1476,6 +1476,8 @@ const TypescriptSchema = /* @__PURE__ */ object({
1476
1476
  allowNamespaces: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1477
1477
  allowDeclareFields: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1478
1478
  removeClassFieldsWithoutInitializer: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1479
+ optimizeConstEnums: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1480
+ optimizeEnums: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1479
1481
  declaration: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1480
1482
  stripInternal: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1481
1483
  sourcemap: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
@@ -1571,6 +1573,7 @@ const CompressTreeshakeOptionsSchema = /* @__PURE__ */ strictObject({
1571
1573
  annotations: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1572
1574
  manualPureFunctions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1573
1575
  propertyReadSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("always")])),
1576
+ propertyWriteSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1574
1577
  unknownGlobalSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1575
1578
  invalidImportSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1576
1579
  });
@@ -1785,7 +1788,8 @@ const AdvancedChunksSchema = /* @__PURE__ */ strictObject({
1785
1788
  minModuleSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1786
1789
  maxModuleSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1787
1790
  entriesAware: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1788
- entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number())
1791
+ entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1792
+ tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string()))
1789
1793
  })))
1790
1794
  });
1791
1795
  isTypeTrue();
@@ -2934,7 +2938,7 @@ function createConsola(options = {}) {
2934
2938
  defaults: { level },
2935
2939
  stdout: process.stdout,
2936
2940
  stderr: process.stderr,
2937
- prompt: (...args) => import("./prompt-DZIXsnf9.mjs").then((m) => m.prompt(...args)),
2941
+ prompt: (...args) => import("./prompt-Bm9aMQjm.mjs").then((m) => m.prompt(...args)),
2938
2942
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
2939
2943
  ...options
2940
2944
  });
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog } from "./logging-C6h4g8dA.mjs";
2
- import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-DUEnSb0A.mjs";
2
+ import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-zH1vcmbM.mjs";
3
3
 
4
4
  //#region src/utils/resolve-tsconfig.d.ts
5
5
  /**
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-s-V_wTpj.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BZsZ-nl1.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-CQLSwbb0.mjs";
4
4
  import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-BIk0DnUJ.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-w0u7biK-.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-B-H35squ.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-DAA7ncC5.mjs";
7
7
  //#region ../../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
8
8
  /**
9
9
  * This is not the set of all possible signals.
@@ -1,9 +1,9 @@
1
- import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-DUEnSb0A.mjs";
2
- import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-Kz3D2LbX.mjs";
1
+ import { _ as BindingTsconfigRawOptions, g as BindingTsconfigCompilerOptions } from "./shared/binding-zH1vcmbM.mjs";
2
+ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DgZ3paSD.mjs";
3
3
  import * as ESTree from "@oxc-project/types";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
- //#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-Bd1l_BRJ.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-CNjJwuKB.mjs";
3
- //#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/walk.js
1
+ import { n as parseSync, t as parse } from "./shared/parse-BC6EwEdS.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-BVTabsge.mjs";
3
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
2015
  const NODE_TYPE_IDS_MAP = new Map([
2016
2016
  ["DebuggerStatement", 0],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];