@rollipop/rolldown 1.0.7 → 1.0.9

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 (40) hide show
  1. package/dist/cli.mjs +7 -7
  2. package/dist/config.d.mts +1 -1
  3. package/dist/config.mjs +3 -3
  4. package/dist/experimental-index.d.mts +21 -4
  5. package/dist/experimental-index.mjs +14 -9
  6. package/dist/filter-index.d.mts +1 -1
  7. package/dist/filter-index.mjs +1 -1
  8. package/dist/get-log-filter.d.mts +3 -3
  9. package/dist/index.d.mts +4 -4
  10. package/dist/index.mjs +5 -5
  11. package/dist/parallel-plugin-worker.mjs +2 -2
  12. package/dist/parallel-plugin.d.mts +1 -1
  13. package/dist/parse-ast-index.d.mts +1 -1
  14. package/dist/parse-ast-index.mjs +2 -2
  15. package/dist/plugins-index.d.mts +3 -3
  16. package/dist/plugins-index.mjs +2 -2
  17. package/dist/shared/{binding-Cte7eMrW.mjs → binding-CACG6D2Z.mjs} +27 -26
  18. package/dist/shared/{binding-BAK1LNST.d.mts → binding-DH6N8z26.d.mts} +32 -3
  19. package/dist/shared/{bindingify-input-options-CBYV4iSS.mjs → bindingify-input-options-1VolU1hK.mjs} +13 -13
  20. package/dist/shared/{constructors-CAy2ANVb.d.mts → constructors-Ba5M986p.d.mts} +2 -2
  21. package/dist/shared/{constructors-l-K5rh-q.mjs → constructors-CQ637kTQ.mjs} +1 -1
  22. package/dist/shared/{define-config--ZeBGjK8.d.mts → define-config-D0mSBwZy.d.mts} +68 -14
  23. package/dist/shared/{error-DlTo4RRs.mjs → error-B9MniJPb.mjs} +1 -1
  24. package/dist/shared/{get-log-filter-semyr3Lj.d.mts → get-log-filter-BpNVNJ5-.d.mts} +1 -1
  25. package/dist/shared/{load-config-Ri-LeCCd.mjs → load-config-28ouCNUE.mjs} +1 -1
  26. package/dist/shared/{normalize-string-or-regex-BWwXD4PE.mjs → normalize-string-or-regex-BrwPzjpV.mjs} +2 -2
  27. package/dist/shared/{parse-9AEqW065.mjs → parse-DyaWmd0j.mjs} +2 -2
  28. package/dist/shared/{prompt-U5ajztzG.mjs → prompt-DYnaB1Nb.mjs} +1 -1
  29. package/dist/shared/{resolve-tsconfig-Dt1OY06-.mjs → resolve-tsconfig-DZ7wFlyL.mjs} +15 -4
  30. package/dist/shared/{rolldown-CEWFep-2.mjs → rolldown-DoadWN1p.mjs} +1 -1
  31. package/dist/shared/{rolldown-build-EhkMDtj3.mjs → rolldown-build-DOmcVgQR.mjs} +54 -65
  32. package/dist/shared/{transform-CbwKjzKh.d.mts → transform-DlM64_VL.d.mts} +2 -2
  33. package/dist/shared/{watch-D5xbdwJl.mjs → watch-BlFNsm9O.mjs} +6 -6
  34. package/dist/utils-index.d.mts +3 -3
  35. package/dist/utils-index.mjs +5 -5
  36. package/package.json +26 -20
  37. /package/dist/shared/{define-config-DJOr6Iwt.mjs → define-config-Demdg3_4.mjs} +0 -0
  38. /package/dist/shared/{logging-C6h4g8dA.d.mts → logging-BSNejiLS.d.mts} +0 -0
  39. /package/dist/shared/{logs-D80CXhvg.mjs → logs-aMKUxRpj.mjs} +0 -0
  40. /package/dist/shared/{misc-DJYbNKZX.mjs → misc-CoQm4NHO.mjs} +0 -0
@@ -1,14 +1,14 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Cte7eMrW.mjs";
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-BWwXD4PE.mjs";
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-DlTo4RRs.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-aMKUxRpj.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BrwPzjpV.mjs";
4
+ import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CoQm4NHO.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-B9MniJPb.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import path from "node:path";
8
8
  import * as filter from "@rollipop/rolldown-pluginutils";
9
9
  import fsp from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "1.0.7";
11
+ var version = "1.0.9";
12
12
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
  //#endregion
14
14
  //#region src/constants/version.ts
@@ -219,7 +219,7 @@ function bindingAssetSource(source) {
219
219
  return { inner: source };
220
220
  }
221
221
  //#endregion
222
- //#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
222
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
223
223
  function __decorate(decorators, target, key, desc) {
224
224
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
225
225
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -516,7 +516,7 @@ function transformToOutputBundle(context, output, changed) {
516
516
  const originalStackTraceLimit = Error.stackTraceLimit;
517
517
  Error.stackTraceLimit = 2;
518
518
  const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored. https://rollupjs.org/plugin-development/#generatebundle:~:text=DANGER,this.emitFile.";
519
- const stack = new Error(message).stack ?? message;
519
+ const stack = (/* @__PURE__ */ new Error(message)).stack ?? message;
520
520
  Error.stackTraceLimit = originalStackTraceLimit;
521
521
  context.warn({
522
522
  message: stack,
@@ -674,7 +674,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
674
674
  return map;
675
675
  }
676
676
  //#endregion
677
- //#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
677
+ //#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
678
678
  function e(e, t, n) {
679
679
  let r = (n) => e(n, ...t);
680
680
  return n === void 0 ? r : Object.assign(r, {
@@ -683,7 +683,7 @@ function e(e, t, n) {
683
683
  });
684
684
  }
685
685
  //#endregion
686
- //#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/purry.js
686
+ //#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/purry.js
687
687
  function t$1(t, n, r) {
688
688
  let i = t.length - n.length;
689
689
  if (i === 0) return t(...n);
@@ -691,7 +691,7 @@ function t$1(t, n, r) {
691
691
  throw Error(`Wrong number of arguments`);
692
692
  }
693
693
  //#endregion
694
- //#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/partition.js
694
+ //#region ../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/partition.js
695
695
  function t(...t) {
696
696
  return t$1(n, t);
697
697
  }
@@ -1201,7 +1201,7 @@ function bindingifyTransform(args) {
1201
1201
  }
1202
1202
  return {
1203
1203
  code: normalizedCode,
1204
- map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, map)),
1204
+ map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, map)) ?? (ret.map === null ? null : void 0),
1205
1205
  moduleSideEffects: moduleOption.moduleSideEffects ?? void 0,
1206
1206
  moduleType: ret.moduleType
1207
1207
  };
@@ -2010,7 +2010,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
2010
2010
  platform: inputOptions.platform,
2011
2011
  shimMissingExports: inputOptions.shimMissingExports,
2012
2012
  logLevel: bindingifyLogLevel(logLevel),
2013
- onLog: async (level, log) => onLog(level, log),
2013
+ onLog,
2014
2014
  treeshake: bindingifyTreeshakeOptions(inputOptions.treeshake),
2015
2015
  moduleTypes: inputOptions.moduleTypes,
2016
2016
  define: normalizedTransform.define,
@@ -1,5 +1,5 @@
1
- import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-BAK1LNST.mjs";
2
- import { N as BuiltinPlugin, Vt as StringOrRegExp } from "./define-config--ZeBGjK8.mjs";
1
+ import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DH6N8z26.mjs";
2
+ import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-D0mSBwZy.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-BWwXD4PE.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BrwPzjpV.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
- 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 { B as ParserOptions, F as JsxOptions, G as TransformOptions$1, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, j as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString } from "./binding-BAK1LNST.mjs";
1
+ import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-BSNejiLS.mjs";
2
+ import { B as ParserOptions, F as JsxOptions, G as TransformOptions$1, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, j as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString } from "./binding-DH6N8z26.mjs";
3
3
  import { TopLevelFilterExpression } from "@rollipop/rolldown-pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
@@ -861,8 +861,6 @@ interface OutputOptions {
861
861
  *
862
862
  * When both `legalComments` and `comments.legal` are set, `comments.legal` takes priority.
863
863
  *
864
- *
865
- *
866
864
  * @default true
867
865
  */
868
866
  comments?: boolean | CommentsOptions;
@@ -906,9 +904,18 @@ interface OutputOptions {
906
904
  */
907
905
  preserveModulesRoot?: string;
908
906
  /**
909
- * Whether to use `var` declarations at the top level scope instead of function / class / let / const expressions.
907
+ * Whether to convert top-level `let` and `const` declarations into `var` declarations.
910
908
  *
911
- * Enabling this option can improve runtime performance of the generated code in certain environments.
909
+ * Enabling this option can improve runtime performance of the generated code in
910
+ * certain environments by avoiding Temporal Dead Zone (TDZ) checks. Only declarations
911
+ * in the module's top-level scope are rewritten — declarations inside nested scopes
912
+ * (functions, blocks, etc.) are left as-is.
913
+ *
914
+ * Note:
915
+ * - Top-level `class X {}` declarations are always emitted as `var X = class {}` so
916
+ * rolldown can hoist them alongside other top-level bindings; this transform is
917
+ * independent of `topLevelVar`.
918
+ * - Top-level `function` declarations are never rewritten.
912
919
  *
913
920
  * @default false
914
921
  *
@@ -1513,6 +1520,15 @@ interface ChecksOptions {
1513
1520
  * */
1514
1521
  missingNameOptionForIifeExport?: boolean;
1515
1522
  /**
1523
+ * Whether to emit warnings when a `#__PURE__` / `@__PURE__` annotation has no effect due to its position.
1524
+ *
1525
+ * Annotations placed where they cannot annotate a call expression (e.g. before a non-call expression,
1526
+ * before a statement declaration, or between an identifier and `=` in a variable declarator) are
1527
+ * ignored by the parser. Matches Rollup's `INVALID_ANNOTATION` log code.
1528
+ * @default true
1529
+ * */
1530
+ invalidAnnotation?: boolean;
1531
+ /**
1516
1532
  * Whether to emit warnings when the way to export values is ambiguous.
1517
1533
  *
1518
1534
  * See [`output.exports`](https://rolldown.rs/reference/OutputOptions.exports).
@@ -1620,6 +1636,17 @@ interface ChecksOptions {
1620
1636
  * @default true
1621
1637
  * */
1622
1638
  ineffectiveDynamicImport?: boolean;
1639
+ /**
1640
+ * Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000).
1641
+ *
1642
+ * Such modules can significantly slow down module resolution. Consider using
1643
+ * [`@rolldown/plugin-transform-imports`](https://github.com/rolldown/plugins/tree/main/packages/transform-imports)
1644
+ * to rewrite barrel imports at the source level so the barrel file is never loaded.
1645
+ *
1646
+ * See [Large barrel modules](https://rolldown.rs/in-depth/lazy-barrel-optimization#large-barrel-modules) for more details.
1647
+ * @default true
1648
+ * */
1649
+ largeBarrelModules?: boolean;
1623
1650
  }
1624
1651
  //#endregion
1625
1652
  //#region src/options/transform-options.d.ts
@@ -3091,6 +3118,28 @@ type InputOption = string | string[] | Record<string, string>;
3091
3118
  type ExternalOptionFunction = (id: string, parentId: string | undefined, isResolved: boolean) => NullValue<boolean>;
3092
3119
  /** @inline */
3093
3120
  type ExternalOption = StringOrRegExp | StringOrRegExp[] | ExternalOptionFunction;
3121
+ interface ChunkOptimizationOptions {
3122
+ /**
3123
+ * Merge common chunks into existing entry chunks when it is safe.
3124
+ *
3125
+ * This can reduce the number of emitted chunks by moving shared/common modules
3126
+ * into an entry chunk that already depends on them. Rolldown only applies the
3127
+ * merge when it does not create a circular chunk dependency or change strict
3128
+ * entry export signatures. This pass also covers safe empty-facade cleanup.
3129
+ *
3130
+ * @default true
3131
+ */
3132
+ mergeCommonChunks?: boolean;
3133
+ /**
3134
+ * Avoid emitting redundant chunk loads for dynamic entries.
3135
+ *
3136
+ * This pass can reduce dynamic-entry dependent chunks when the shared modules
3137
+ * are guaranteed to be loaded by every importer of that dynamic entry.
3138
+ *
3139
+ * @default true
3140
+ */
3141
+ avoidRedundantChunkLoads?: boolean;
3142
+ }
3094
3143
  type ModuleTypes = Record<string, "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css" | "asset" | "copy">;
3095
3144
  interface WatcherFileWatcherOptions {
3096
3145
  /**
@@ -3694,18 +3743,18 @@ interface InputOptions {
3694
3743
  */
3695
3744
  nativeMagicString?: boolean;
3696
3745
  /**
3697
- * Control whether to optimize chunks by allowing entry chunks to have different exports than the underlying entry module.
3698
- * This optimization can reduce the number of generated chunks.
3746
+ * Control chunk optimizations.
3699
3747
  *
3700
- * When enabled, rolldown will try to insert common modules directly into existing chunks rather than creating
3701
- * separate chunks for them, which can result in fewer output files and better performance.
3748
+ * `true` enables both common-chunk merging and redundant dynamic chunk-load avoidance.
3749
+ * `false` disables all chunk optimizations. Use the object form to control
3750
+ * `mergeCommonChunks` and `avoidRedundantChunkLoads` separately.
3702
3751
  *
3703
- * This optimization is automatically disabled when any module uses top-level await (TLA) or contains TLA dependencies,
3704
- * as it could affect execution order guarantees.
3752
+ * These optimizations are automatically disabled when any module uses top-level await (TLA) or contains TLA dependencies,
3753
+ * as they could affect execution order guarantees.
3705
3754
  *
3706
3755
  * @default true
3707
3756
  */
3708
- chunkOptimization?: boolean;
3757
+ chunkOptimization?: boolean | ChunkOptimizationOptions;
3709
3758
  /**
3710
3759
  * Control whether to enable lazy barrel optimization.
3711
3760
  *
@@ -3760,6 +3809,11 @@ interface InputOptions {
3760
3809
  makeAbsoluteExternalsRelative?: MakeAbsoluteExternalsRelative;
3761
3810
  /**
3762
3811
  * Devtools integration options.
3812
+ *
3813
+ * When enabled, Rolldown writes JSON-lines devtools output under
3814
+ * `node_modules/.rolldown/{session_id}/`. Consumers can parse the output with
3815
+ * `@rolldown/debug` after `await bundle.close()` resolves.
3816
+ *
3763
3817
  * @experimental
3764
3818
  */
3765
3819
  devtools?: {
@@ -3841,4 +3895,4 @@ declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
3841
3895
  declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
3842
3896
  declare function defineConfig(config: ConfigExport): ConfigExport;
3843
3897
  //#endregion
3844
- 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, RolldownMagicString 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 };
3898
+ export { PluginContextMeta as $, RolldownPluginOption as A, CodeSplittingGroup as At, OutputBundle as B, PreRenderedAsset as Bt, ParallelPluginHooks as C, build as Ct, ResolveIdResult as D, BuiltinModuleTag as Dt, ResolveIdExtraOptions as E, AdvancedChunksOptions as Et, RUNTIME_MODULE_ID as F, GeneratedCodePreset as Ft, EmittedFile as G, OutputChunk as Gt, TransformPluginContext as H, PartialNull as Ht, VERSION as I, GlobalsFunction as It, PluginContext as J, RolldownOutput as Jt, EmittedPrebuiltChunk as K, RenderedChunk as Kt, BundleError as L, MinifyOptions as Lt, TransformResult as M, CodeSplittingOptions as Mt, withFilter as N, CommentsOptions as Nt, ResolvedId as O, ChunkFileNamesFunction as Ot, BuiltinPlugin as P, GeneratedCodeOptions as Pt, MinimalPluginContext as Q, SourcemapIgnoreListOption as Qt, ExistingRawSourceMap as R, ModuleFormat as Rt, ObjectHook as S, BuildOptions as St, Plugin as T, AdvancedChunksGroup as Tt, EmittedAsset as U, StringOrRegExp as Ut, TreeshakingOptions as V, MaybePromise as Vt, EmittedChunk as W, OutputAsset as Wt, DefineParallelPluginResult as X, freeExternalMemory as Xt, PluginContextResolveOptions as Y, SourceMap as Yt, defineParallelPlugin as Z, ModuleInfo as Zt, HookFilterExtension as _, RolldownWatcherEvent as _t, ChunkOptimizationOptions as a, RolldownFileStats as at, ModuleOptions as b, rolldown as bt, InputOption as c, NormalizedOutputOptions as ct, OptimizationOptions as d, ChecksOptions as dt, GeneralHookFilter as et, WatcherFileWatcherOptions as f, LoggingFunction as ft, FunctionPluginHooks as g, RolldownWatcher as gt, CustomPluginOptions as h, watch as ht, RolldownOptions as i, RolldownDirectoryEntry as it, SourceDescription as j, CodeSplittingNameFunction as jt, RolldownPlugin as k, ChunkingContext as kt, InputOptions as l, NormalizedInputOptions as lt, AsyncPluginHooks as m, RolldownMagicString as mt, RolldownOptionsFunction as n, ModuleTypeFilter as nt, ExternalOption as o, RolldownFsModule as ot, WatcherOptions as p, WarningHandlerWithDefault as pt, GetModuleInfo as q, RenderedModule as qt, defineConfig as r, BufferEncoding as rt, ExternalOptionFunction as s, InternalModuleFormat as st, ConfigExport as t, HookFilter as tt, ModuleTypes as u, TransformOptions as ut, ImportKind as v, RolldownWatcherWatcherEventMap as vt, PartialResolvedId as w, AddonFunction as wt, ModuleType as x, RolldownBuild as xt, LoadResult as y, WatchOptions as yt, SourceMapInput as z, OutputOptions as zt };
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-Cte7eMrW.mjs";
1
+ import { t as require_binding } from "./binding-CACG6D2Z.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 { a as RolldownLog } from "./logging-C6h4g8dA.mjs";
1
+ import { a as RolldownLog } from "./logging-BSNejiLS.mjs";
2
2
 
3
3
  //#region src/get-log-filter.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-CEWFep-2.mjs";
1
+ import { t as rolldown } from "./rolldown-DoadWN1p.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Cte7eMrW.mjs";
2
- import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ import { c as logPluginError, n as error } from "./logs-aMKUxRpj.mjs";
3
3
  //#region src/builtin-plugin/utils.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  var BuiltinPlugin = class {
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Cte7eMrW.mjs";
2
- //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ //#region ../../node_modules/.pnpm/oxc-parser@0.133.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;
@@ -134,7 +134,7 @@ function requirePicocolors() {
134
134
  picocolors.exports.createColors = createColors;
135
135
  return picocolors.exports;
136
136
  }
137
- const e = /* @__PURE__ */ getDefaultExportFromCjs(/* @__PURE__ */ requirePicocolors());
137
+ const e = /*@__PURE__*/ getDefaultExportFromCjs(/* @__PURE__ */ requirePicocolors());
138
138
  function J({ onlyFirst: t = false } = {}) {
139
139
  const F = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
140
140
  return new RegExp(F, t ? void 0 : "g");
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Cte7eMrW.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-DlTo4RRs.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-B9MniJPb.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -37,6 +37,17 @@ function minifySync(filename, sourceText, options) {
37
37
  //#endregion
38
38
  //#region src/utils/transform.ts
39
39
  const yarnPnp$1 = typeof process === "object" && !!process.versions?.pnp;
40
+ function normalizeBindingWarning(warning) {
41
+ if (warning.type === "JsError") return warning.field0;
42
+ return {
43
+ code: warning.field0.kind,
44
+ message: warning.field0.message,
45
+ id: warning.field0.id,
46
+ exporter: warning.field0.exporter,
47
+ loc: warning.field0.loc,
48
+ pos: warning.field0.pos
49
+ };
50
+ }
40
51
  /**
41
52
  * Transpile a JavaScript or TypeScript into a target ECMAScript version, asynchronously.
42
53
  *
@@ -60,7 +71,7 @@ async function transform(filename, sourceText, options, cache) {
60
71
  return {
61
72
  ...result,
62
73
  errors: result.errors.map(normalizeBindingError),
63
- warnings: result.warnings.map((w) => w.field0)
74
+ warnings: result.warnings.map(normalizeBindingWarning)
64
75
  };
65
76
  }
66
77
  /**
@@ -84,7 +95,7 @@ function transformSync(filename, sourceText, options, cache) {
84
95
  return {
85
96
  ...result,
86
97
  errors: result.errors.map(normalizeBindingError),
87
- warnings: result.warnings.map((w) => w.field0)
98
+ warnings: result.warnings.map(normalizeBindingWarning)
88
99
  };
89
100
  }
90
101
  //#endregion
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-EhkMDtj3.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-DOmcVgQR.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-Cte7eMrW.mjs";
2
- import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-BWwXD4PE.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-CBYV4iSS.mjs";
5
- import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-DlTo4RRs.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ import { i as logInputHookInOutputPlugin, n as error } from "./logs-aMKUxRpj.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-BrwPzjpV.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-1VolU1hK.mjs";
5
+ import { i as unimplemented } from "./misc-CoQm4NHO.mjs";
6
+ import { i as unwrapBindingResult } from "./error-B9MniJPb.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";
@@ -211,9 +211,12 @@ function getSortedPlugins(hookName, plugins) {
211
211
  ...post
212
212
  ];
213
213
  }
214
- //#endregion
215
- //#region ../../node_modules/.pnpm/valibot@1.3.1_typescript@6.0.3/node_modules/valibot/dist/index.mjs
216
- let store$4;
214
+ const DEFAULT_CONFIG = {
215
+ lang: void 0,
216
+ message: void 0,
217
+ abortEarly: void 0,
218
+ abortPipeEarly: void 0
219
+ };
217
220
  /**
218
221
  * Returns the global configuration.
219
222
  *
@@ -223,50 +226,14 @@ let store$4;
223
226
  */
224
227
  /* @__NO_SIDE_EFFECTS__ */
225
228
  function getGlobalConfig(config$1) {
229
+ if (!config$1 && true) return DEFAULT_CONFIG;
226
230
  return {
227
- lang: config$1?.lang ?? store$4?.lang,
231
+ lang: config$1?.lang ?? void 0,
228
232
  message: config$1?.message,
229
- abortEarly: config$1?.abortEarly ?? store$4?.abortEarly,
230
- abortPipeEarly: config$1?.abortPipeEarly ?? store$4?.abortPipeEarly
233
+ abortEarly: config$1?.abortEarly ?? void 0,
234
+ abortPipeEarly: config$1?.abortPipeEarly ?? void 0
231
235
  };
232
236
  }
233
- let store$3;
234
- /**
235
- * Returns a global error message.
236
- *
237
- * @param lang The language of the message.
238
- *
239
- * @returns The error message.
240
- */
241
- /* @__NO_SIDE_EFFECTS__ */
242
- function getGlobalMessage(lang) {
243
- return store$3?.get(lang);
244
- }
245
- let store$2;
246
- /**
247
- * Returns a schema error message.
248
- *
249
- * @param lang The language of the message.
250
- *
251
- * @returns The error message.
252
- */
253
- /* @__NO_SIDE_EFFECTS__ */
254
- function getSchemaMessage(lang) {
255
- return store$2?.get(lang);
256
- }
257
- let store$1;
258
- /**
259
- * Returns a specific error message.
260
- *
261
- * @param reference The identifier reference.
262
- * @param lang The language of the message.
263
- *
264
- * @returns The error message.
265
- */
266
- /* @__NO_SIDE_EFFECTS__ */
267
- function getSpecificMessage(reference, lang) {
268
- return store$1?.get(reference)?.get(lang);
269
- }
270
237
  /**
271
238
  * Stringifies an unknown input to a literal or type string.
272
239
  *
@@ -314,12 +281,13 @@ function _addIssue(context, label, dataset, config$1, other) {
314
281
  abortPipeEarly: config$1.abortPipeEarly
315
282
  };
316
283
  const isSchema = context.kind === "schema";
317
- const message$1 = other?.message ?? context.message ?? /* @__PURE__ */ getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? /* @__PURE__ */ getSchemaMessage(issue.lang) : null) ?? config$1.message ?? /* @__PURE__ */ getGlobalMessage(issue.lang);
284
+ const message$1 = other?.message ?? context.message ?? (context.reference, issue.lang, void 0) ?? (isSchema ? (issue.lang, void 0) : null) ?? config$1.message ?? (issue.lang, void 0);
318
285
  if (message$1 !== void 0) issue.message = typeof message$1 === "function" ? message$1(issue) : message$1;
319
286
  if (isSchema) dataset.typed = false;
320
287
  if (dataset.issues) dataset.issues.push(issue);
321
288
  else dataset.issues = [issue];
322
289
  }
290
+ const _standardCache = /* @__PURE__ */ new WeakMap();
323
291
  /**
324
292
  * Returns the Standard Schema properties.
325
293
  *
@@ -329,13 +297,18 @@ function _addIssue(context, label, dataset, config$1, other) {
329
297
  */
330
298
  /* @__NO_SIDE_EFFECTS__ */
331
299
  function _getStandardProps(context) {
332
- return {
333
- version: 1,
334
- vendor: "valibot",
335
- validate(value$1) {
336
- return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
337
- }
338
- };
300
+ let cached = _standardCache.get(context);
301
+ if (!cached) {
302
+ cached = {
303
+ version: 1,
304
+ vendor: "valibot",
305
+ validate(value$1) {
306
+ return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
307
+ }
308
+ };
309
+ _standardCache.set(context, cached);
310
+ }
311
+ return cached;
339
312
  }
340
313
  /**
341
314
  * Disallows inherited object properties and prevents object prototype
@@ -350,7 +323,7 @@ function _getStandardProps(context) {
350
323
  */
351
324
  /* @__NO_SIDE_EFFECTS__ */
352
325
  function _isValidObjectKey(object$1, key) {
353
- return Object.hasOwn(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
326
+ return Object.prototype.hasOwnProperty.call(object$1, key) && key !== "__proto__" && key !== "prototype" && key !== "constructor";
354
327
  }
355
328
  /**
356
329
  * Joins multiple `expects` values with the given separator.
@@ -474,6 +447,7 @@ function returnsAsync(schema) {
474
447
  }
475
448
  };
476
449
  }
450
+ const ABORT_EARLY_CONFIG = { abortEarly: true };
477
451
  /**
478
452
  * Returns the fallback value of the schema.
479
453
  *
@@ -511,7 +485,7 @@ function getDefault(schema, dataset, config$1) {
511
485
  */
512
486
  /* @__NO_SIDE_EFFECTS__ */
513
487
  function is(schema, input) {
514
- return !schema["~run"]({ value: input }, { abortEarly: true }).issues;
488
+ return !schema["~run"]({ value: input }, ABORT_EARLY_CONFIG).issues;
515
489
  }
516
490
  /**
517
491
  * Creates an any schema.
@@ -1123,7 +1097,7 @@ function undefined_(message$1) {
1123
1097
  /* @__NO_SIDE_EFFECTS__ */
1124
1098
  function _subIssues(datasets) {
1125
1099
  let issues;
1126
- if (datasets) for (const dataset of datasets) if (issues) issues.push(...dataset.issues);
1100
+ if (datasets) for (const dataset of datasets) if (issues) for (const issue of dataset.issues) issues.push(issue);
1127
1101
  else issues = dataset.issues;
1128
1102
  return issues;
1129
1103
  }
@@ -1470,7 +1444,8 @@ const TransformOptionsSchema = /* @__PURE__ */ object({
1470
1444
  helpers: /* @__PURE__ */ optional(/* @__PURE__ */ object({ mode: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("Runtime"), /* @__PURE__ */ literal("External")])) })),
1471
1445
  decorator: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1472
1446
  legacy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1473
- emitDecoratorMetadata: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1447
+ emitDecoratorMetadata: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1448
+ strictNullChecks: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1474
1449
  })),
1475
1450
  jsx: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1476
1451
  /* @__PURE__ */ literal(false),
@@ -1521,6 +1496,7 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1521
1496
  eval: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when detecting uses of direct `eval`s")),
1522
1497
  missingGlobalName: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the `output.globals` option is missing when needed")),
1523
1498
  missingNameOptionForIifeExport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the `output.name` option is missing when needed")),
1499
+ invalidAnnotation: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a `#__PURE__` / `@__PURE__` annotation has no effect due to its position")),
1524
1500
  mixedExports: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when the way to export values is ambiguous")),
1525
1501
  unresolvedEntry: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when an entrypoint cannot be resolved")),
1526
1502
  unresolvedImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when an import cannot be resolved")),
@@ -1536,7 +1512,8 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1536
1512
  pluginTimings: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when plugins take significant time during the build process")),
1537
1513
  duplicateShebang: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when both the code and postBanner contain shebang")),
1538
1514
  unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
1539
- ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting"))
1515
+ ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting")),
1516
+ largeBarrelModules: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000)"))
1540
1517
  });
1541
1518
  const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1542
1519
  compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
@@ -1569,7 +1546,16 @@ const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1569
1546
  })])),
1570
1547
  debug: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1571
1548
  })])),
1572
- codegen: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({ removeWhitespace: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()) })]))
1549
+ codegen: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1550
+ removeWhitespace: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1551
+ legalComments: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1552
+ /* @__PURE__ */ literal("none"),
1553
+ /* @__PURE__ */ literal("inline"),
1554
+ /* @__PURE__ */ literal("eof"),
1555
+ /* @__PURE__ */ literal("external"),
1556
+ /* @__PURE__ */ strictObject({ linked: /* @__PURE__ */ string() })
1557
+ ]))
1558
+ })]))
1573
1559
  });
1574
1560
  const ResolveOptionsSchema = /* @__PURE__ */ strictObject({
1575
1561
  alias: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ union([
@@ -1654,7 +1640,10 @@ const InputOptionsSchema = /* @__PURE__ */ strictObject({
1654
1640
  onDemandWrapping: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1655
1641
  incrementalBuild: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1656
1642
  nativeMagicString: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1657
- chunkOptimization: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1643
+ chunkOptimization: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1644
+ mergeCommonChunks: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1645
+ avoidRedundantChunkLoads: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1646
+ })])),
1658
1647
  lazyBarrel: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1659
1648
  })),
1660
1649
  transform: /* @__PURE__ */ optional(TransformOptionsSchema),
@@ -2881,7 +2870,7 @@ function createConsola(options = {}) {
2881
2870
  defaults: { level },
2882
2871
  stdout: process.stdout,
2883
2872
  stderr: process.stderr,
2884
- prompt: (...args) => import("./prompt-U5ajztzG.mjs").then((m) => m.prompt(...args)),
2873
+ prompt: (...args) => import("./prompt-DYnaB1Nb.mjs").then((m) => m.prompt(...args)),
2885
2874
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
2886
2875
  ...options
2887
2876
  });
@@ -1,5 +1,5 @@
1
- import { a as RolldownLog } from "./logging-C6h4g8dA.mjs";
2
- import { B as ParserOptions$1, I as MinifyOptions$1, K as TsconfigCache$1, L as MinifyResult$1, W as SourceMap, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, z as ParseResult$1 } from "./binding-BAK1LNST.mjs";
1
+ import { a as RolldownLog } from "./logging-BSNejiLS.mjs";
2
+ import { B as ParserOptions$1, I as MinifyOptions$1, K as TsconfigCache$1, L as MinifyResult$1, W as SourceMap, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, z as ParseResult$1 } from "./binding-DH6N8z26.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-Cte7eMrW.mjs";
2
- import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-CBYV4iSS.mjs";
4
- import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-EhkMDtj3.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-DlTo4RRs.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-CACG6D2Z.mjs";
2
+ import { o as logMultipleWatcherOption } from "./logs-aMKUxRpj.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-1VolU1hK.mjs";
4
+ import { t as arraify } from "./misc-CoQm4NHO.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-DOmcVgQR.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-B9MniJPb.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 { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-BAK1LNST.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-CbwKjzKh.mjs";
1
+ import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-DH6N8z26.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-DlM64_VL.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.129.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../node_modules/.pnpm/oxc-parser@0.133.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;