@voidzero-dev/vite-plus-core 0.1.7 → 0.1.8

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 (45) hide show
  1. package/dist/rolldown/cli.mjs +27 -11
  2. package/dist/rolldown/config.d.mts +1 -1
  3. package/dist/rolldown/config.mjs +8 -8
  4. package/dist/rolldown/experimental-index.d.mts +2 -2
  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 +3 -3
  8. package/dist/rolldown/index.mjs +9 -10
  9. package/dist/rolldown/parallel-plugin-worker.mjs +5 -5
  10. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  11. package/dist/rolldown/parse-ast-index.mjs +2 -2
  12. package/dist/rolldown/plugins-index.d.mts +2 -2
  13. package/dist/rolldown/plugins-index.mjs +3 -3
  14. package/dist/rolldown/shared/{bindingify-input-options-DkwIzK4F.mjs → bindingify-input-options-D6u7COm1.mjs} +18 -10
  15. package/dist/rolldown/shared/{constructors-D91FHkmz.mjs → constructors-Ctal_Rbv.mjs} +1 -1
  16. package/dist/rolldown/shared/{constructors-Bnr_ApVf.d.mts → constructors-DNuo4d0H.d.mts} +1 -1
  17. package/dist/rolldown/shared/{define-config-B1jccsL9.d.mts → define-config-cG45vHwf.d.mts} +15 -5
  18. package/dist/rolldown/shared/{error-tpgdcGrK.mjs → error-CP8smW_P.mjs} +1 -1
  19. package/dist/rolldown/shared/{load-config-Dapgaecf.mjs → load-config-CjCoDD5h.mjs} +1 -1
  20. package/dist/rolldown/shared/{normalize-string-or-regex-BCllTl21.mjs → normalize-string-or-regex-C5RWbu3O.mjs} +1 -1
  21. package/dist/rolldown/shared/{parse-DFYpKkKl.mjs → parse-8FR1cSLd.mjs} +1 -1
  22. package/dist/rolldown/shared/{rolldown-DK6iIJl8.mjs → rolldown-B7hI_r7G.mjs} +1 -1
  23. package/dist/rolldown/shared/{rolldown-build-rw0HCMhn.mjs → rolldown-build-CYoDea9V.mjs} +7 -7
  24. package/dist/rolldown/shared/{transform-BSCulZAO.mjs → transform-BfdLLNnY.mjs} +2 -2
  25. package/dist/rolldown/shared/{watch-D8uEZyLj.mjs → watch-CAj7leYN.mjs} +4 -4
  26. package/dist/rolldown/utils-index.mjs +4 -4
  27. package/dist/tsdown/build-B1oBkI4C-zptCT7Nv.js +5 -0
  28. package/dist/tsdown/{build-BG-XbM6V-hoyhQqI3.js → build-CpOl_krN-DF8oTAEE.js} +56 -39
  29. package/dist/tsdown/{debug-C4FmgzkJ-B6m_gRpz.js → debug-C4FmgzkJ-Fxa4sdkP.js} +2 -2
  30. package/dist/tsdown/{detect-J1_Vd1yf-BWDiPZkP.js → detect-J1_Vd1yf-uzwu6GvK.js} +1 -1
  31. package/dist/tsdown/{dist-Dx-jtFHM.js → dist-BTs7u0nu.js} +1 -1
  32. package/dist/tsdown/{dist-C9Oecl0H.js → dist-dJp148cE.js} +21 -24
  33. package/dist/tsdown/{filename-tIvGuRvQ.js → filename-UU7z2A9Z.js} +1 -1
  34. package/dist/tsdown/{index-node-Bpsmc0eX-jMz9gD3P.js → index-node-Bpsmc0eX-BiLag9_o.js} +1 -1
  35. package/dist/tsdown/index-types.d.ts +30 -11
  36. package/dist/tsdown/index.js +5 -5
  37. package/dist/tsdown/{main-DN-_H9u2.js → main-BUXYXu1I.js} +3 -3
  38. package/dist/tsdown/{resolver-CdD-yT15-3eaymYLw.js → resolver-BUWpVKW_-BR1glCep.js} +3 -4
  39. package/dist/tsdown/run.js +4 -4
  40. package/dist/tsdown/{tsc-context-DiIjfXAG.js → tsc-context-BQtoHArj.js} +2 -2
  41. package/dist/tsdown/{tsc-OwK9UHsV.js → tsc-ncSpKhL9.js} +6 -8
  42. package/dist/vite/node/index.d.ts +2 -2
  43. package/package.json +34 -34
  44. package/dist/tsdown/build-DHPfiKA--CvTonTfC.js +0 -5
  45. /package/dist/rolldown/shared/{binding-BSVL02lq.mjs → binding-C5G6_6ql.mjs} +0 -0
@@ -1,13 +1,13 @@
1
- import "./shared/binding-BSVL02lq.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-D8uEZyLj.mjs";
3
- import "./shared/normalize-string-or-regex-BCllTl21.mjs";
4
- import { S as version, x as description } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
1
+ import "./shared/binding-C5G6_6ql.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-CAj7leYN.mjs";
3
+ import "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
4
+ import { C as version, S as description } from "./shared/bindingify-input-options-D6u7COm1.mjs";
5
5
  import { t as arraify } from "./shared/misc-DJYbNKZX.mjs";
6
- import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-rw0HCMhn.mjs";
7
- import "./shared/error-tpgdcGrK.mjs";
8
- import "./shared/parse-DFYpKkKl.mjs";
9
- import { t as rolldown } from "./shared/rolldown-DK6iIJl8.mjs";
10
- import { t as loadConfig } from "./shared/load-config-Dapgaecf.mjs";
6
+ import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-CYoDea9V.mjs";
7
+ import "./shared/error-CP8smW_P.mjs";
8
+ import "./shared/parse-8FR1cSLd.mjs";
9
+ import { t as rolldown } from "./shared/rolldown-B7hI_r7G.mjs";
10
+ import { t as loadConfig } from "./shared/load-config-CjCoDD5h.mjs";
11
11
  import path from "node:path";
12
12
  import process$1 from "node:process";
13
13
  import { EventEmitter } from "events";
@@ -674,10 +674,26 @@ function parseCliArguments() {
674
674
  if (value === void 0) continue;
675
675
  const values = Array.isArray(value) ? value : [value];
676
676
  if (typeof values[0] !== "string") continue;
677
+ let usedDeprecatedSyntax = false;
677
678
  const result = {};
678
679
  for (const v of values) for (const pair of String(v).split(",")) {
679
- const [k, ...rest] = pair.split("=");
680
- if (k && rest.length > 0) result[k] = rest.join("=");
680
+ const colonIdx = pair.indexOf(":");
681
+ const eqIdx = pair.indexOf("=");
682
+ let k;
683
+ let val;
684
+ if (colonIdx > 0 && (eqIdx === -1 || colonIdx < eqIdx)) {
685
+ k = pair.slice(0, colonIdx);
686
+ val = pair.slice(colonIdx + 1);
687
+ } else if (eqIdx > 0) {
688
+ k = pair.slice(0, eqIdx);
689
+ val = pair.slice(eqIdx + 1);
690
+ usedDeprecatedSyntax = true;
691
+ } else continue;
692
+ result[k] = val;
693
+ }
694
+ if (usedDeprecatedSyntax) {
695
+ const optionName = camelCaseToKebabCase(schemaKey);
696
+ logger.warn(`Using \`key=value\` syntax for \`--${optionName}\` is deprecated. Use \`key:value\` instead.`);
681
697
  }
682
698
  parent[leafKey] = result;
683
699
  }
@@ -1,4 +1,4 @@
1
- import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-B1jccsL9.mjs";
1
+ import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-cG45vHwf.mjs";
2
2
 
3
3
  //#region src/utils/load-config.d.ts
4
4
  /**
@@ -1,10 +1,10 @@
1
- import "./shared/binding-BSVL02lq.mjs";
2
- import "./shared/normalize-string-or-regex-BCllTl21.mjs";
3
- import { b as VERSION } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
4
- import "./shared/rolldown-build-rw0HCMhn.mjs";
5
- import "./shared/error-tpgdcGrK.mjs";
6
- import "./shared/parse-DFYpKkKl.mjs";
7
- import "./shared/rolldown-DK6iIJl8.mjs";
1
+ import "./shared/binding-C5G6_6ql.mjs";
2
+ import "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
3
+ import { x as VERSION } from "./shared/bindingify-input-options-D6u7COm1.mjs";
4
+ import "./shared/rolldown-build-CYoDea9V.mjs";
5
+ import "./shared/error-CP8smW_P.mjs";
6
+ import "./shared/parse-8FR1cSLd.mjs";
7
+ import "./shared/rolldown-B7hI_r7G.mjs";
8
8
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
9
- import { t as loadConfig } from "./shared/load-config-Dapgaecf.mjs";
9
+ import { t as loadConfig } from "./shared/load-config-CjCoDD5h.mjs";
10
10
  export { VERSION, defineConfig, loadConfig };
@@ -1,6 +1,6 @@
1
1
  import { A as IsolatedDeclarationsOptions, B as ResolverFactory, D as BindingViteTransformPluginConfig, F as NapiResolveOptions, G as isolatedDeclarationSync, K as moduleRunnerTransform, S as BindingViteManifestPluginConfig, U as TsconfigCache$1, W as isolatedDeclaration, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsResult, n as BindingBundleAnalyzerPluginConfig, q as resolveTsconfig, r as BindingBundleState, z as ResolveResult } from "./shared/binding-BohGL_65.mjs";
2
- import { Gt as RolldownOutput, It as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, qt as freeExternalMemory, st as NormalizedOutputOptions } from "./shared/define-config-B1jccsL9.mjs";
3
- import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-Bnr_ApVf.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-cG45vHwf.mjs";
3
+ import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-DNuo4d0H.mjs";
4
4
  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, n as TransformResult$1, o as MinifyResult$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-BoJxrM-e.mjs";
5
5
 
6
6
  //#region src/api/dev/dev-options.d.ts
@@ -1,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
2
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-BCllTl21.mjs";
3
- import { a as transformToRollupOutput } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
4
- import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-rw0HCMhn.mjs";
5
- import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-tpgdcGrK.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-DFYpKkKl.mjs";
7
- import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-D91FHkmz.mjs";
8
- import { a as minifySync$1, i as minify$1, n as transform$1, r as transformSync$1, t as import_binding$1 } from "./shared/transform-BSCulZAO.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-C5G6_6ql.mjs";
2
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
3
+ import { o as transformToRollupOutput } from "./shared/bindingify-input-options-D6u7COm1.mjs";
4
+ import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CYoDea9V.mjs";
5
+ import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-CP8smW_P.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-8FR1cSLd.mjs";
7
+ import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-Ctal_Rbv.mjs";
8
+ import { a as minifySync$1, i as minify$1, n as transform$1, r as transformSync$1, t as import_binding$1 } from "./shared/transform-BfdLLNnY.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-B1jccsL9.mjs";
1
+ import { M as withFilter } from "./shared/define-config-cG45vHwf.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 { R as PreRenderedChunk, u as BindingMagicString } from "./shared/binding-BohGL_65.mjs";
3
- import { $ as GeneralHookFilter, A as SourceDescription, At as CommentsOptions, B as TreeshakingOptions, C as PartialResolvedId, Ct as AdvancedChunksGroup, D as ResolvedId, Dt as CodeSplittingGroup, E as ResolveIdResult, Et as ChunkingContext, F as VERSION, Ft as ModuleFormat, G as EmittedPrebuiltChunk, Gt as RolldownOutput, H as EmittedAsset, Ht as OutputChunk, I as BundleError, It as OutputOptions, J as PluginContextResolveOptions, Jt as ModuleInfo, K as GetModuleInfo, Kt as SourceMap, L as ExistingRawSourceMap, Lt as PreRenderedAsset, Mt as GeneratedCodePreset, Nt as GlobalsFunction, O as RolldownPlugin, Ot as CodeSplittingNameFunction, P as RUNTIME_MODULE_ID, Pt as MinifyOptions, Q as PluginContextMeta, R as SourceMapInput, S as ParallelPluginHooks, St as AddonFunction, T as ResolveIdExtraOptions, Tt as ChunkFileNamesFunction, U as EmittedChunk, Ut as RenderedChunk, V as TransformPluginContext, Vt as OutputAsset, W as EmittedFile, Wt as RenderedModule, Y as DefineParallelPluginResult, Yt as SourcemapIgnoreListOption, Z as MinimalPluginContext, _ as ImportKind, _t as WatchOptions, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as BuildOptions, 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 RolldownWatcherWatcherEventMap, h as FunctionPluginHooks, ht as RolldownWatcherEvent, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as GeneratedCodeOptions, k as RolldownPluginOption, kt as CodeSplittingOptions, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as RolldownWatcher, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as watch, q as PluginContext, 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 rolldown, w as Plugin, wt as AdvancedChunksOptions, x as ObjectHook, xt as build, y as ModuleOptions, yt as RolldownBuild, z as OutputBundle, zt as PartialNull } from "./shared/define-config-B1jccsL9.mjs";
4
- export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BindingMagicString, 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, 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 };
2
+ import { R as PreRenderedChunk } from "./shared/binding-BohGL_65.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 BindingMagicString, 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-cG45vHwf.mjs";
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, BindingMagicString as 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,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-D8uEZyLj.mjs";
3
- import "./shared/normalize-string-or-regex-BCllTl21.mjs";
4
- import { b as VERSION, y as RUNTIME_MODULE_ID } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
5
- import "./shared/rolldown-build-rw0HCMhn.mjs";
6
- import "./shared/error-tpgdcGrK.mjs";
7
- import "./shared/parse-DFYpKkKl.mjs";
8
- import { t as rolldown } from "./shared/rolldown-DK6iIJl8.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-C5G6_6ql.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-CAj7leYN.mjs";
3
+ import "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
4
+ import { a as BindingMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-D6u7COm1.mjs";
5
+ import "./shared/rolldown-build-CYoDea9V.mjs";
6
+ import "./shared/error-CP8smW_P.mjs";
7
+ import "./shared/parse-8FR1cSLd.mjs";
8
+ import { t as rolldown } from "./shared/rolldown-B7hI_r7G.mjs";
9
9
  import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
10
10
  import { isMainThread } from "node:worker_threads";
11
11
  //#region src/setup.ts
@@ -51,5 +51,4 @@ async function build(options) {
51
51
  }
52
52
  }
53
53
  //#endregion
54
- var BindingMagicString = import_binding.BindingMagicString;
55
- export { BindingMagicString, RUNTIME_MODULE_ID, VERSION, build, defineConfig, rolldown, watch };
54
+ export { RUNTIME_MODULE_ID, BindingMagicString as RolldownMagicString, VERSION, build, defineConfig, rolldown, watch };
@@ -1,8 +1,8 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
2
- import "./shared/normalize-string-or-regex-BCllTl21.mjs";
3
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
4
- import "./shared/error-tpgdcGrK.mjs";
5
- import "./shared/parse-DFYpKkKl.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-C5G6_6ql.mjs";
2
+ import "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
3
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-D6u7COm1.mjs";
4
+ import "./shared/error-CP8smW_P.mjs";
5
+ import "./shared/parse-8FR1cSLd.mjs";
6
6
  import { parentPort, workerData } from "node:worker_threads";
7
7
  //#region src/parallel-plugin-worker.ts
8
8
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { Rt as MaybePromise, w as Plugin } from "./shared/define-config-B1jccsL9.mjs";
1
+ import { w as Plugin, zt as MaybePromise } from "./shared/define-config-cG45vHwf.mjs";
2
2
 
3
3
  //#region src/plugin/parallel-plugin-implementation.d.ts
4
4
  type ParallelPluginImplementation = Plugin;
@@ -1,6 +1,6 @@
1
- import "./shared/binding-BSVL02lq.mjs";
1
+ import "./shared/binding-C5G6_6ql.mjs";
2
2
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
3
- import { n as parseSync, t as parse } from "./shared/parse-DFYpKkKl.mjs";
3
+ import { n as parseSync, t as parse } from "./shared/parse-8FR1cSLd.mjs";
4
4
  //#region src/parse-ast-index.ts
5
5
  function wrap(result, filename, sourceText) {
6
6
  if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
@@ -1,6 +1,6 @@
1
1
  import { m as BindingReplacePluginConfig } from "./shared/binding-BohGL_65.mjs";
2
- import { N as BuiltinPlugin } from "./shared/define-config-B1jccsL9.mjs";
3
- import { t as esmExternalRequirePlugin } from "./shared/constructors-Bnr_ApVf.mjs";
2
+ import { N as BuiltinPlugin } from "./shared/define-config-cG45vHwf.mjs";
3
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-DNuo4d0H.mjs";
4
4
 
5
5
  //#region src/builtin-plugin/replace-plugin.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import "./shared/binding-BSVL02lq.mjs";
2
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-BCllTl21.mjs";
3
- import { t as esmExternalRequirePlugin } from "./shared/constructors-D91FHkmz.mjs";
1
+ import "./shared/binding-C5G6_6ql.mjs";
2
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-C5RWbu3O.mjs";
3
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-Ctal_Rbv.mjs";
4
4
  //#region src/builtin-plugin/replace-plugin.ts
5
5
  /**
6
6
  * Replaces targeted strings in files while bundling.
@@ -1,8 +1,8 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.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-BCllTl21.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-C5RWbu3O.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-tpgdcGrK.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-CP8smW_P.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";
@@ -560,6 +560,15 @@ function collectChangedBundle(changed, bundle) {
560
560
  };
561
561
  }
562
562
  //#endregion
563
+ //#region src/binding-magic-string.ts
564
+ var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
565
+ Object.defineProperty(import_binding.BindingMagicString.prototype, "isRolldownMagicString", {
566
+ value: true,
567
+ writable: false,
568
+ configurable: false
569
+ });
570
+ const BindingMagicString = import_binding.BindingMagicString;
571
+ //#endregion
563
572
  //#region src/utils/transform-module-info.ts
564
573
  function transformModuleInfo(info, option) {
565
574
  return {
@@ -784,7 +793,6 @@ function bindingifyRenderChunkFilter(filterOption) {
784
793
  }
785
794
  //#endregion
786
795
  //#region src/plugin/bindingify-plugin-hook-meta.ts
787
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
788
796
  function bindingifyPluginHookMeta(options) {
789
797
  return { order: bindingPluginOrder(options.order) };
790
798
  }
@@ -1072,7 +1080,7 @@ function bindingifyTransform(args) {
1072
1080
  Object.defineProperties(meta, {
1073
1081
  magicString: { get() {
1074
1082
  if (magicStringInstance) return magicStringInstance;
1075
- magicStringInstance = new import_binding.BindingMagicString(code);
1083
+ magicStringInstance = new BindingMagicString(code);
1076
1084
  return magicStringInstance;
1077
1085
  } },
1078
1086
  ast: { get() {
@@ -1106,7 +1114,7 @@ function bindingifyTransform(args) {
1106
1114
  let normalizedCode = void 0;
1107
1115
  let map = ret.map;
1108
1116
  if (typeof ret.code === "string") normalizedCode = ret.code;
1109
- else if (ret.code instanceof import_binding.BindingMagicString) {
1117
+ else if (ret.code instanceof BindingMagicString) {
1110
1118
  let magicString = ret.code;
1111
1119
  normalizedCode = magicString.toString();
1112
1120
  let fallbackSourcemap = ctx.sendMagicString(magicString);
@@ -1195,14 +1203,14 @@ function bindingifyRenderChunk(args) {
1195
1203
  if (args.options.experimental?.nativeMagicString) Object.defineProperty(renderChunkMeta, "magicString", {
1196
1204
  get() {
1197
1205
  if (magicStringInstance) return magicStringInstance;
1198
- magicStringInstance = new import_binding.BindingMagicString(code);
1206
+ magicStringInstance = new BindingMagicString(code);
1199
1207
  return magicStringInstance;
1200
1208
  },
1201
1209
  configurable: true
1202
1210
  });
1203
1211
  const ret = await handler.call(new PluginContextImpl(args.outputOptions, ctx, args.plugin, args.pluginContextData, args.onLog, args.logLevel, args.watchMode), code, transformRenderedChunk(chunk), args.pluginContextData.getOutputOptions(opts), renderChunkMeta);
1204
1212
  if (ret == null) return;
1205
- if (ret instanceof import_binding.BindingMagicString) {
1213
+ if (ret instanceof BindingMagicString) {
1206
1214
  const normalizedCode = ret.toString();
1207
1215
  const generatedMap = ret.generateMap();
1208
1216
  return {
@@ -1217,7 +1225,7 @@ function bindingifyRenderChunk(args) {
1217
1225
  };
1218
1226
  }
1219
1227
  if (typeof ret === "string") return { code: ret };
1220
- if (ret.code instanceof import_binding.BindingMagicString) {
1228
+ if (ret.code instanceof BindingMagicString) {
1221
1229
  const magicString = ret.code;
1222
1230
  const normalizedCode = magicString.toString();
1223
1231
  if (ret.map === null) return { code: normalizedCode };
@@ -2154,4 +2162,4 @@ function bindingifyPreserveEntrySignatures(preserveEntrySignatures) {
2154
2162
  };
2155
2163
  }
2156
2164
  //#endregion
2157
- export { version as S, LOG_LEVEL_WARN as _, transformToRollupOutput as a, VERSION as b, transformAssetSource as c, MinimalPluginContextImpl as d, normalizeHook as f, LOG_LEVEL_INFO as g, LOG_LEVEL_ERROR as h, transformModuleInfo as i, lazyProp as l, LOG_LEVEL_DEBUG as m, PluginContextData as n, transformRenderedChunk as o, normalizeLog as p, bindingifyPlugin as r, __decorate as s, bindingifyInputOptions as t, PlainObjectLike as u, logLevelPriority as v, description as x, RUNTIME_MODULE_ID as y };
2165
+ export { version as C, description as S, LOG_LEVEL_INFO as _, BindingMagicString as a, RUNTIME_MODULE_ID as b, __decorate as c, PlainObjectLike as d, MinimalPluginContextImpl as f, LOG_LEVEL_ERROR as g, LOG_LEVEL_DEBUG as h, transformModuleInfo as i, transformAssetSource as l, normalizeLog as m, PluginContextData as n, transformToRollupOutput as o, normalizeHook as p, bindingifyPlugin as r, transformRenderedChunk as s, bindingifyInputOptions as t, lazyProp as u, LOG_LEVEL_WARN as v, VERSION as x, logLevelPriority as y };
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BCllTl21.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-C5RWbu3O.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 { C as BindingViteModulePreloadPolyfillPluginConfig, E as BindingViteResolvePluginConfig, T as BindingViteReporterPluginConfig, b as BindingViteImportGlobPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, v as BindingViteBuildImportAnalysisPluginConfig, w as BindingViteReactRefreshWrapperPluginConfig, x as BindingViteJsonPluginConfig, y as BindingViteDynamicImportVarsPluginConfig } from "./binding-BohGL_65.mjs";
2
- import { Bt as StringOrRegExp, N as BuiltinPlugin } from "./define-config-B1jccsL9.mjs";
2
+ import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config-cG45vHwf.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
@@ -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 { H as TransformOptions$1, L as ParserOptions, M as JsxOptions, N as MinifyOptions$1, O as BindingWatcherBundler, R as PreRenderedChunk, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as ExternalMemoryStatus, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString } from "./binding-BohGL_65.mjs";
2
+ import { H as TransformOptions$1, L as ParserOptions, M as JsxOptions, N as MinifyOptions$1, O as BindingWatcherBundler, R as PreRenderedChunk, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as ExternalMemoryStatus, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString$1 } from "./binding-BohGL_65.mjs";
3
3
  import { TopLevelFilterExpression } from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
@@ -595,11 +595,11 @@ interface OutputOptions {
595
595
  * Rolldown uses Oxc Minifier under the hood. See Oxc's [minification documentation](https://oxc.rs/docs/guide/usage/minifier#features) for more details.
596
596
  *
597
597
  * - `true`: Enable full minification including code compression and dead code elimination
598
- * - `false`: Disable minification (default)
599
- * - `'dce-only'`: Only perform dead code elimination without code compression
598
+ * - `false`: Disable minification
599
+ * - `'dce-only'`: Only perform dead code elimination without code compression (default)
600
600
  * - `MinifyOptions`: Fine-grained control over minification settings
601
601
  *
602
- * @default false
602
+ * @default 'dce-only'
603
603
  */
604
604
  minify?: boolean | "dce-only" | MinifyOptions;
605
605
  /**
@@ -1398,6 +1398,16 @@ interface RolldownWatcher {
1398
1398
  */
1399
1399
  declare function watch(input: WatchOptions | WatchOptions[]): RolldownWatcher;
1400
1400
  //#endregion
1401
+ //#region src/binding-magic-string.d.ts
1402
+ interface BindingMagicString extends BindingMagicString$1 {
1403
+ readonly isRolldownMagicString: true;
1404
+ }
1405
+ type BindingMagicStringConstructor = Omit<typeof BindingMagicString$1, "prototype"> & {
1406
+ new (...args: ConstructorParameters<typeof BindingMagicString$1>): BindingMagicString;
1407
+ prototype: BindingMagicString;
1408
+ };
1409
+ declare const BindingMagicString: BindingMagicStringConstructor;
1410
+ //#endregion
1401
1411
  //#region src/log/log-handler.d.ts
1402
1412
  type LoggingFunction = (log: RolldownLog | string | (() => RolldownLog | string)) => void;
1403
1413
  type LoggingFunctionWithPosition = (log: RolldownLog | string | (() => RolldownLog | string), pos?: number | {
@@ -3761,4 +3771,4 @@ declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
3761
3771
  declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
3762
3772
  declare function defineConfig(config: ConfigExport): ConfigExport;
3763
3773
  //#endregion
3764
- export { GeneralHookFilter as $, SourceDescription as A, CommentsOptions as At, TreeshakingOptions as B, StringOrRegExp as Bt, PartialResolvedId as C, AdvancedChunksGroup as Ct, ResolvedId as D, CodeSplittingGroup as Dt, ResolveIdResult as E, ChunkingContext as Et, VERSION as F, ModuleFormat as Ft, EmittedPrebuiltChunk as G, RolldownOutput as Gt, EmittedAsset as H, OutputChunk as Ht, BundleError as I, OutputOptions as It, PluginContextResolveOptions as J, ModuleInfo as Jt, GetModuleInfo as K, SourceMap as Kt, ExistingRawSourceMap as L, PreRenderedAsset as Lt, withFilter as M, GeneratedCodePreset as Mt, BuiltinPlugin as N, GlobalsFunction as Nt, RolldownPlugin as O, CodeSplittingNameFunction as Ot, RUNTIME_MODULE_ID as P, MinifyOptions as Pt, PluginContextMeta as Q, SourceMapInput as R, MaybePromise as Rt, ParallelPluginHooks as S, AddonFunction as St, ResolveIdExtraOptions as T, ChunkFileNamesFunction as Tt, EmittedChunk as U, RenderedChunk as Ut, TransformPluginContext as V, OutputAsset as Vt, EmittedFile as W, RenderedModule as Wt, defineParallelPlugin as X, DefineParallelPluginResult as Y, SourcemapIgnoreListOption as Yt, MinimalPluginContext as Z, ImportKind as _, WatchOptions as _t, ExternalOption as a, RolldownFsModule as at, ModuleType as b, BuildOptions as bt, InputOptions as c, NormalizedInputOptions as ct, WatcherFileWatcherOptions as d, LoggingFunction as dt, HookFilter as et, WatcherOptions as f, WarningHandlerWithDefault as ft, HookFilterExtension as g, RolldownWatcherWatcherEventMap as gt, FunctionPluginHooks as h, RolldownWatcherEvent as ht, RolldownOptions as i, RolldownFileStats as it, TransformResult as j, GeneratedCodeOptions as jt, RolldownPluginOption as k, CodeSplittingOptions as kt, ModuleTypes as l, TransformOptions as lt, CustomPluginOptions as m, RolldownWatcher as mt, RolldownOptionsFunction as n, BufferEncoding as nt, ExternalOptionFunction as o, InternalModuleFormat as ot, AsyncPluginHooks as p, watch as pt, PluginContext as q, freeExternalMemory as qt, defineConfig as r, RolldownDirectoryEntry as rt, InputOption as s, NormalizedOutputOptions as st, ConfigExport as t, ModuleTypeFilter as tt, OptimizationOptions as u, ChecksOptions as ut, LoadResult as v, rolldown as vt, Plugin as w, AdvancedChunksOptions as wt, ObjectHook as x, build as xt, ModuleOptions as y, RolldownBuild as yt, OutputBundle as z, PartialNull as zt };
3774
+ export { GeneralHookFilter as $, SourceDescription as A, CodeSplittingOptions as At, TreeshakingOptions as B, PartialNull as Bt, PartialResolvedId as C, AddonFunction as Ct, ResolvedId as D, ChunkingContext as Dt, ResolveIdResult as E, ChunkFileNamesFunction as Et, VERSION as F, MinifyOptions as Ft, EmittedPrebuiltChunk as G, RenderedModule as Gt, EmittedAsset as H, OutputAsset as Ht, BundleError as I, ModuleFormat as It, PluginContextResolveOptions as J, freeExternalMemory as Jt, GetModuleInfo as K, RolldownOutput as Kt, ExistingRawSourceMap as L, OutputOptions as Lt, withFilter as M, GeneratedCodeOptions as Mt, BuiltinPlugin as N, GeneratedCodePreset as Nt, RolldownPlugin as O, CodeSplittingGroup as Ot, RUNTIME_MODULE_ID as P, GlobalsFunction as Pt, PluginContextMeta as Q, SourceMapInput as R, PreRenderedAsset as Rt, ParallelPluginHooks as S, build as St, ResolveIdExtraOptions as T, AdvancedChunksOptions as Tt, EmittedChunk as U, OutputChunk as Ut, TransformPluginContext as V, StringOrRegExp as Vt, EmittedFile as W, RenderedChunk as Wt, defineParallelPlugin as X, SourcemapIgnoreListOption as Xt, DefineParallelPluginResult as Y, ModuleInfo as Yt, MinimalPluginContext as Z, ImportKind as _, RolldownWatcherWatcherEventMap as _t, ExternalOption as a, RolldownFsModule as at, ModuleType as b, RolldownBuild as bt, InputOptions as c, NormalizedInputOptions as ct, WatcherFileWatcherOptions as d, LoggingFunction as dt, HookFilter as et, WatcherOptions as f, WarningHandlerWithDefault as ft, HookFilterExtension as g, RolldownWatcherEvent as gt, FunctionPluginHooks as h, RolldownWatcher as ht, RolldownOptions as i, RolldownFileStats as it, TransformResult as j, CommentsOptions as jt, RolldownPluginOption as k, CodeSplittingNameFunction as kt, ModuleTypes as l, TransformOptions as lt, CustomPluginOptions as m, watch as mt, RolldownOptionsFunction as n, BufferEncoding as nt, ExternalOptionFunction as o, InternalModuleFormat as ot, AsyncPluginHooks as p, BindingMagicString as pt, PluginContext as q, SourceMap as qt, defineConfig as r, RolldownDirectoryEntry as rt, InputOption as s, NormalizedOutputOptions as st, ConfigExport as t, ModuleTypeFilter as tt, OptimizationOptions as u, ChecksOptions as ut, LoadResult as v, WatchOptions as vt, Plugin as w, AdvancedChunksGroup as wt, ObjectHook as x, BuildOptions as xt, ModuleOptions as y, rolldown as yt, OutputBundle as z, MaybePromise as zt };
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-BSVL02lq.mjs";
1
+ import { t as require_binding } from "./binding-C5G6_6ql.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-DK6iIJl8.mjs";
1
+ import { t as rolldown } from "./rolldown-B7hI_r7G.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-BSVL02lq.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.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,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.mjs";
2
2
  //#region ../../../node_modules/.pnpm/oxc-parser@0.115.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  function wrap(result) {
4
4
  let program, module, comments, errors;
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-rw0HCMhn.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-CYoDea9V.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-BSVL02lq.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-BCllTl21.mjs";
4
- import { _ as LOG_LEVEL_WARN, a as transformToRollupOutput, b as VERSION, c as transformAssetSource, d as MinimalPluginContextImpl, f as normalizeHook, i as transformModuleInfo, l as lazyProp, m as LOG_LEVEL_DEBUG, o as transformRenderedChunk, p as normalizeLog, s as __decorate, t as bindingifyInputOptions, u as PlainObjectLike, v as logLevelPriority } from "./bindingify-input-options-DkwIzK4F.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-C5RWbu3O.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-D6u7COm1.mjs";
5
5
  import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-tpgdcGrK.mjs";
6
+ import { i as unwrapBindingResult } from "./error-CP8smW_P.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";
@@ -1512,7 +1512,7 @@ const TransformOptionsSchema = /* @__PURE__ */ object({
1512
1512
  JsxOptionsSchema
1513
1513
  ])),
1514
1514
  target: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ array(/* @__PURE__ */ string())])), /* @__PURE__ */ description("The JavaScript target environment")),
1515
- define: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())), /* @__PURE__ */ description("Define global variables (syntax: key=value,key2=value2)")),
1515
+ define: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())), /* @__PURE__ */ description("Define global variables (syntax: key:value,key2:value2)")),
1516
1516
  inject: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ tuple([/* @__PURE__ */ string(), /* @__PURE__ */ string()])]))), /* @__PURE__ */ description("Inject import statements on demand")),
1517
1517
  dropLabels: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Remove labeled statements with these label names")),
1518
1518
  plugins: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(TransformPluginsSchema), /* @__PURE__ */ description("Third-party plugins to use"))
@@ -1842,7 +1842,7 @@ const OutputOptionsSchema = /* @__PURE__ */ strictObject({
1842
1842
  MinifyOptionsSchema
1843
1843
  ])), /* @__PURE__ */ description("Minify the bundled file")),
1844
1844
  name: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Name for UMD / IIFE format outputs")),
1845
- globals: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string()), GlobalsFunctionSchema])), /* @__PURE__ */ description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
1845
+ globals: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string()), GlobalsFunctionSchema])), /* @__PURE__ */ description("Global variable of UMD / IIFE dependencies (syntax: `key:value`)")),
1846
1846
  paths: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string()), PathsFunctionSchema])), /* @__PURE__ */ description("Maps external module IDs to paths")),
1847
1847
  generatedCode: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ partial(GeneratedCodeOptionsSchema)), /* @__PURE__ */ description("Generated code options")),
1848
1848
  externalLiveBindings: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("external live bindings")),
@@ -1886,7 +1886,7 @@ const OutputCliOverrideSchema = /* @__PURE__ */ strictObject({
1886
1886
  intro: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description(getAddonDescription("top", "inside"))),
1887
1887
  outro: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description(getAddonDescription("bottom", "inside"))),
1888
1888
  esModule: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable)")),
1889
- globals: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())), /* @__PURE__ */ description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
1889
+ globals: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())), /* @__PURE__ */ description("Global variable of UMD / IIFE dependencies (syntax: `key:value`)")),
1890
1890
  codeSplitting: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1891
1891
  minSize: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Minimum size of the chunk")),
1892
1892
  minShareCount: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Minimum share count of the chunk"))
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-tpgdcGrK.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-CP8smW_P.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-C5G6_6ql.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { _ as LOG_LEVEL_WARN } from "./bindingify-input-options-DkwIzK4F.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-D6u7COm1.mjs";
4
4
  import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-rw0HCMhn.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-tpgdcGrK.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-CYoDea9V.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-CP8smW_P.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,7 +1,7 @@
1
- import "./shared/binding-BSVL02lq.mjs";
2
- import "./shared/error-tpgdcGrK.mjs";
3
- import { n as parseSync, t as parse } from "./shared/parse-DFYpKkKl.mjs";
4
- import { a as minifySync, i as minify, n as transform, r as transformSync, t as import_binding } from "./shared/transform-BSCulZAO.mjs";
1
+ import "./shared/binding-C5G6_6ql.mjs";
2
+ import "./shared/error-CP8smW_P.mjs";
3
+ import { n as parseSync, t as parse } from "./shared/parse-8FR1cSLd.mjs";
4
+ import { a as minifySync, i as minify, n as transform, r as transformSync, t as import_binding } from "./shared/transform-BfdLLNnY.mjs";
5
5
  //#region ../../../node_modules/.pnpm/oxc-parser@0.115.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
6
6
  function walkNode(node, visitors) {
7
7
  if (node == null) return;
@@ -0,0 +1,5 @@
1
+ import "./main-BUXYXu1I.js";
2
+ import "./node-B3Gdtau1.js";
3
+ import { t as build$1 } from "./build-CpOl_krN-DF8oTAEE.js";
4
+ import "./filename-UU7z2A9Z.js";
5
+ export { build$1 as build };