@rollipop/rolldown 1.0.0-rc.9 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/cli.mjs +6 -6
  2. package/dist/config.d.mts +1 -1
  3. package/dist/config.mjs +2 -2
  4. package/dist/experimental-index.d.mts +5 -8
  5. package/dist/experimental-index.mjs +9 -14
  6. package/dist/experimental-runtime-types.d.ts +14 -5
  7. package/dist/filter-index.d.mts +1 -1
  8. package/dist/index.d.mts +2 -2
  9. package/dist/index.mjs +4 -4
  10. package/dist/parallel-plugin-worker.mjs +2 -2
  11. package/dist/parallel-plugin.d.mts +1 -1
  12. package/dist/parse-ast-index.d.mts +1 -1
  13. package/dist/parse-ast-index.mjs +1 -1
  14. package/dist/plugins-index.d.mts +3 -3
  15. package/dist/plugins-index.mjs +2 -2
  16. package/dist/shared/{binding-hSQGgsUz.d.mts → binding-87e5dhsA.d.mts} +39 -11
  17. package/dist/shared/{binding-Bl6c6z8s.mjs → binding-DUKw6_Oz.mjs} +27 -27
  18. package/dist/shared/{bindingify-input-options-CG-zr72D.mjs → bindingify-input-options-I9YOS-fH.mjs} +93 -52
  19. package/dist/shared/{constructors-9XhoSpN5.mjs → constructors-DFmmZhz1.mjs} +1 -1
  20. package/dist/shared/{constructors-DMl58KN5.d.mts → constructors-Dk1hSC1s.d.mts} +2 -2
  21. package/dist/shared/{define-config-BSxBeCq6.d.mts → define-config-zdYh2BE8.d.mts} +36 -2
  22. package/dist/shared/{error-DkpaAqUJ.mjs → error-Bdico8El.mjs} +1 -1
  23. package/dist/shared/{load-config-C2OQbyVD.mjs → load-config-CpsLqlZ5.mjs} +1 -1
  24. package/dist/shared/{normalize-string-or-regex-CyjcHyFr.mjs → normalize-string-or-regex-BJ769uZ_.mjs} +3 -1
  25. package/dist/shared/{parse-BZ2yiInp.mjs → parse-nkDF8VUS.mjs} +3 -3
  26. package/dist/shared/{prompt-BYQIwEjg.mjs → prompt-U5ajztzG.mjs} +4 -2
  27. package/dist/shared/{resolve-tsconfig-eAEuR0Fg.mjs → resolve-tsconfig-uzcNee7s.mjs} +2 -2
  28. package/dist/shared/{rolldown-DmwmSODb.mjs → rolldown-DrhOhRCx.mjs} +1 -1
  29. package/dist/shared/{rolldown-build-CwfkzKYx.mjs → rolldown-build-DfXmP5hj.mjs} +89 -145
  30. package/dist/shared/{transform-DY2pi3Qm.d.mts → transform-SYT5xWOy.d.mts} +1 -1
  31. package/dist/shared/{watch-CUV8riOa.mjs → watch-Bp7l3KQc.mjs} +4 -4
  32. package/dist/utils-index.d.mts +3 -3
  33. package/dist/utils-index.mjs +5 -5
  34. package/package.json +18 -18
@@ -1,5 +1,6 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Bl6c6z8s.mjs";
2
- //#region ../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-DUKw6_Oz.mjs";
2
+ //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/wrap.js
3
+ var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
3
4
  function wrap(result) {
4
5
  let program, module, comments, errors;
5
6
  return {
@@ -36,7 +37,6 @@ function applyFix(program, fixPath) {
36
37
  }
37
38
  //#endregion
38
39
  //#region src/utils/parse.ts
39
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
40
40
  /**
41
41
  * Parse JS/TS source asynchronously on a separate thread.
42
42
  *
@@ -592,10 +592,12 @@ let wD = class extends x {
592
592
  return this.options[this.cursor].value;
593
593
  }
594
594
  toggleAll() {
595
- this.value = this.value.length === this.options.length ? [] : this.options.map((F) => F.value);
595
+ const u = this.value.length === this.options.length;
596
+ this.value = u ? [] : this.options.map((F) => F.value);
596
597
  }
597
598
  toggleValue() {
598
- this.value = this.value.includes(this._value) ? this.value.filter((F) => F !== this._value) : [...this.value, this._value];
599
+ const u = this.value.includes(this._value);
600
+ this.value = u ? this.value.filter((F) => F !== this._value) : [...this.value, this._value];
599
601
  }
600
602
  };
601
603
  var SD = Object.defineProperty, $D = (t, u, F) => u in t ? SD(t, u, {
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-Bl6c6z8s.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-DkpaAqUJ.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DUKw6_Oz.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-Bdico8El.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-CwfkzKYx.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-DfXmP5hj.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-Bl6c6z8s.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DUKw6_Oz.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-CyjcHyFr.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-CG-zr72D.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-BJ769uZ_.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-I9YOS-fH.mjs";
5
5
  import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
6
- import { i as unwrapBindingResult } from "./error-DkpaAqUJ.mjs";
6
+ import { i as unwrapBindingResult } from "./error-Bdico8El.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";
@@ -11,6 +11,7 @@ import process$1 from "node:process";
11
11
  import * as tty from "node:tty";
12
12
  import os from "node:os";
13
13
  //#region src/log/logger.ts
14
+ var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
14
15
  function getLogger(plugins, onLog, logLevel, watchMode) {
15
16
  const minimalPriority = logLevelPriority[logLevel];
16
17
  const logger = (level, log, skipped = /* @__PURE__ */ new Set()) => {
@@ -211,7 +212,7 @@ function getSortedPlugins(hookName, plugins) {
211
212
  ];
212
213
  }
213
214
  //#endregion
214
- //#region ../../node_modules/.pnpm/valibot@1.3.1_typescript@5.9.3/node_modules/valibot/dist/index.mjs
215
+ //#region ../../node_modules/.pnpm/valibot@1.3.1_typescript@6.0.3/node_modules/valibot/dist/index.mjs
215
216
  let store$4;
216
217
  /**
217
218
  * Returns the global configuration.
@@ -1396,9 +1397,7 @@ function styleText$1(...args) {
1396
1397
  }
1397
1398
  //#endregion
1398
1399
  //#region src/utils/validator.ts
1399
- function isTypeTrue() {}
1400
1400
  const StringOrRegExpSchema = /* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ instance(RegExp)]);
1401
- isTypeTrue();
1402
1401
  function vFunction() {
1403
1402
  return /* @__PURE__ */ function_();
1404
1403
  }
@@ -1407,32 +1406,25 @@ const LogLevelSchema = /* @__PURE__ */ union([
1407
1406
  /* @__PURE__ */ literal("info"),
1408
1407
  /* @__PURE__ */ literal("warn")
1409
1408
  ]);
1410
- isTypeTrue();
1411
1409
  const LogLevelOptionSchema = /* @__PURE__ */ union([LogLevelSchema, /* @__PURE__ */ literal("silent")]);
1412
- isTypeTrue();
1413
1410
  const LogLevelWithErrorSchema = /* @__PURE__ */ union([LogLevelSchema, /* @__PURE__ */ literal("error")]);
1414
- isTypeTrue();
1415
1411
  const RollupLogSchema = /* @__PURE__ */ any();
1416
1412
  const RollupLogWithStringSchema = /* @__PURE__ */ union([RollupLogSchema, /* @__PURE__ */ string()]);
1417
- isTypeTrue();
1418
1413
  const InputOptionSchema = /* @__PURE__ */ union([
1419
1414
  /* @__PURE__ */ string(),
1420
1415
  /* @__PURE__ */ array(/* @__PURE__ */ string()),
1421
1416
  /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())
1422
1417
  ]);
1423
- isTypeTrue();
1424
1418
  const ExternalOptionFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([
1425
1419
  /* @__PURE__ */ string(),
1426
1420
  /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1427
1421
  /* @__PURE__ */ boolean()
1428
1422
  ])), /* @__PURE__ */ returns(/* @__PURE__ */ nullish(/* @__PURE__ */ boolean())));
1429
- isTypeTrue();
1430
1423
  const ExternalOptionSchema = /* @__PURE__ */ union([
1431
1424
  StringOrRegExpSchema,
1432
1425
  /* @__PURE__ */ array(StringOrRegExpSchema),
1433
1426
  ExternalOptionFunctionSchema
1434
1427
  ]);
1435
- isTypeTrue();
1436
1428
  const ModuleTypesSchema = /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ union([
1437
1429
  /* @__PURE__ */ literal("asset"),
1438
1430
  /* @__PURE__ */ literal("base64"),
@@ -1448,76 +1440,63 @@ const ModuleTypesSchema = /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @_
1448
1440
  /* @__PURE__ */ literal("ts"),
1449
1441
  /* @__PURE__ */ literal("tsx")
1450
1442
  ]));
1451
- isTypeTrue();
1452
- const JsxOptionsSchema = /* @__PURE__ */ strictObject({
1453
- runtime: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("classic"), /* @__PURE__ */ literal("automatic")])), /* @__PURE__ */ description("Which runtime to use")),
1454
- development: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Development specific information")),
1455
- throwIfNamespace: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1456
- pure: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Mark JSX elements and top-level React method calls as pure for tree shaking.")),
1457
- importSource: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Import the factory of element and fragment if mode is classic")),
1458
- pragma: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Jsx element transformation")),
1459
- pragmaFrag: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Jsx fragment transformation")),
1460
- refresh: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ any()])), /* @__PURE__ */ description("Enable react fast refresh"))
1461
- });
1462
- isTypeTrue();
1463
- const HelperModeSchema = /* @__PURE__ */ union([/* @__PURE__ */ literal("Runtime"), /* @__PURE__ */ literal("External")]);
1464
- const DecoratorOptionSchema = /* @__PURE__ */ object({
1465
- legacy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1466
- emitDecoratorMetadata: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1467
- });
1468
- isTypeTrue();
1469
- const HelpersSchema = /* @__PURE__ */ object({ mode: /* @__PURE__ */ optional(HelperModeSchema) });
1470
- isTypeTrue();
1471
- const TypescriptSchema = /* @__PURE__ */ object({
1472
- jsxPragma: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1473
- jsxPragmaFrag: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1474
- onlyRemoveTypeImports: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1475
- allowNamespaces: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1476
- allowDeclareFields: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1477
- removeClassFieldsWithoutInitializer: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1478
- declaration: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1479
- stripInternal: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1480
- sourcemap: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1481
- })),
1482
- rewriteImportExtensions: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1483
- /* @__PURE__ */ literal("rewrite"),
1484
- /* @__PURE__ */ literal("remove"),
1485
- /* @__PURE__ */ boolean()
1486
- ]))
1487
- });
1488
- isTypeTrue();
1489
- const AssumptionsSchema = /* @__PURE__ */ object({
1490
- ignoreFunctionLength: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1491
- noDocumentAll: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1492
- objectRestNoSymbols: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1493
- pureGetters: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1494
- setPublicClassFields: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1495
- });
1496
- isTypeTrue();
1497
- const TransformPluginsSchema = /* @__PURE__ */ object({
1498
- styledComponents: /* @__PURE__ */ optional(/* @__PURE__ */ any()),
1499
- taggedTemplateEscape: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1500
- });
1501
- isTypeTrue();
1502
1443
  const TransformOptionsSchema = /* @__PURE__ */ object({
1503
- assumptions: /* @__PURE__ */ optional(AssumptionsSchema),
1504
- typescript: /* @__PURE__ */ optional(TypescriptSchema),
1505
- helpers: /* @__PURE__ */ optional(HelpersSchema),
1506
- decorator: /* @__PURE__ */ optional(DecoratorOptionSchema),
1444
+ assumptions: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1445
+ ignoreFunctionLength: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1446
+ noDocumentAll: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1447
+ objectRestNoSymbols: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1448
+ pureGetters: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1449
+ setPublicClassFields: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1450
+ })),
1451
+ typescript: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1452
+ jsxPragma: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1453
+ jsxPragmaFrag: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1454
+ onlyRemoveTypeImports: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1455
+ allowNamespaces: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1456
+ allowDeclareFields: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1457
+ removeClassFieldsWithoutInitializer: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1458
+ optimizeConstEnums: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1459
+ optimizeEnums: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1460
+ declaration: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1461
+ stripInternal: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1462
+ sourcemap: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1463
+ })),
1464
+ rewriteImportExtensions: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1465
+ /* @__PURE__ */ literal("rewrite"),
1466
+ /* @__PURE__ */ literal("remove"),
1467
+ /* @__PURE__ */ boolean()
1468
+ ]))
1469
+ })),
1470
+ helpers: /* @__PURE__ */ optional(/* @__PURE__ */ object({ mode: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("Runtime"), /* @__PURE__ */ literal("External")])) })),
1471
+ decorator: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1472
+ legacy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1473
+ emitDecoratorMetadata: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1474
+ })),
1507
1475
  jsx: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1508
1476
  /* @__PURE__ */ literal(false),
1509
1477
  /* @__PURE__ */ literal("preserve"),
1510
1478
  /* @__PURE__ */ literal("react"),
1511
1479
  /* @__PURE__ */ literal("react-jsx"),
1512
- JsxOptionsSchema
1480
+ /* @__PURE__ */ strictObject({
1481
+ runtime: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("classic"), /* @__PURE__ */ literal("automatic")])), /* @__PURE__ */ description("Which runtime to use")),
1482
+ development: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Development specific information")),
1483
+ throwIfNamespace: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Toggles whether to throw an error when a tag name uses an XML namespace")),
1484
+ pure: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Mark JSX elements and top-level React method calls as pure for tree shaking.")),
1485
+ importSource: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Import the factory of element and fragment if mode is classic")),
1486
+ pragma: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Jsx element transformation")),
1487
+ pragmaFrag: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Jsx fragment transformation")),
1488
+ refresh: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ any()])), /* @__PURE__ */ description("Enable react fast refresh"))
1489
+ })
1513
1490
  ])),
1514
1491
  target: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ array(/* @__PURE__ */ string())])), /* @__PURE__ */ description("The JavaScript target environment")),
1515
1492
  define: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ string())), /* @__PURE__ */ description("Define global variables (syntax: key:value,key2:value2)")),
1516
1493
  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
1494
  dropLabels: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Remove labeled statements with these label names")),
1518
- plugins: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(TransformPluginsSchema), /* @__PURE__ */ description("Third-party plugins to use"))
1495
+ plugins: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ object({
1496
+ styledComponents: /* @__PURE__ */ optional(/* @__PURE__ */ any()),
1497
+ taggedTemplateEscape: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1498
+ })), /* @__PURE__ */ description("Third-party plugins to use"))
1519
1499
  });
1520
- isTypeTrue();
1521
1500
  const WatcherFileWatcherOptionsSchema = /* @__PURE__ */ strictObject({
1522
1501
  usePolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use polling-based file watching instead of native OS events")),
1523
1502
  pollInterval: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Poll interval in milliseconds (only used when usePolling is true)")),
@@ -1537,7 +1516,6 @@ const WatcherOptionsSchema = /* @__PURE__ */ strictObject({
1537
1516
  clearScreen: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to clear the screen when a rebuild is triggered")),
1538
1517
  onInvalidate: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(vFunction()), /* @__PURE__ */ description("An optional function that will be called immediately every time a module changes that is part of the build."))
1539
1518
  });
1540
- isTypeTrue();
1541
1519
  const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1542
1520
  circularDependency: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when detecting circular dependency")),
1543
1521
  eval: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when detecting uses of direct `eval`s")),
@@ -1560,52 +1538,39 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1560
1538
  unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
1561
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"))
1562
1540
  });
1563
- isTypeTrue();
1564
- const CompressOptionsKeepNamesSchema = /* @__PURE__ */ strictObject({
1565
- function: /* @__PURE__ */ boolean(),
1566
- class: /* @__PURE__ */ boolean()
1567
- });
1568
- isTypeTrue();
1569
- const CompressTreeshakeOptionsSchema = /* @__PURE__ */ strictObject({
1570
- annotations: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1571
- manualPureFunctions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1572
- propertyReadSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("always")])),
1573
- unknownGlobalSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1574
- invalidImportSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1575
- });
1576
- isTypeTrue();
1577
- const CompressOptionsSchema = /* @__PURE__ */ strictObject({
1578
- target: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ array(/* @__PURE__ */ string())])),
1579
- dropConsole: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1580
- dropDebugger: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1581
- keepNames: /* @__PURE__ */ optional(CompressOptionsKeepNamesSchema),
1582
- unused: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("keep_assign")])),
1583
- joinVars: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1584
- sequences: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1585
- dropLabels: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1586
- maxIterations: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1587
- treeshake: /* @__PURE__ */ optional(CompressTreeshakeOptionsSchema)
1588
- });
1589
- isTypeTrue();
1590
- const MangleOptionsKeepNamesSchema = /* @__PURE__ */ strictObject({
1591
- function: /* @__PURE__ */ boolean(),
1592
- class: /* @__PURE__ */ boolean()
1593
- });
1594
- isTypeTrue();
1595
- const MangleOptionsSchema = /* @__PURE__ */ strictObject({
1596
- toplevel: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1597
- keepNames: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), MangleOptionsKeepNamesSchema])),
1598
- debug: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1599
- });
1600
- isTypeTrue();
1601
- const CodegenOptionsSchema = /* @__PURE__ */ strictObject({ removeWhitespace: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()) });
1602
- isTypeTrue();
1603
1541
  const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1604
- compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), CompressOptionsSchema])),
1605
- mangle: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), MangleOptionsSchema])),
1606
- codegen: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), CodegenOptionsSchema]))
1542
+ compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1543
+ target: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ array(/* @__PURE__ */ string())])),
1544
+ dropConsole: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1545
+ dropDebugger: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1546
+ keepNames: /* @__PURE__ */ optional(/* @__PURE__ */ strictObject({
1547
+ function: /* @__PURE__ */ boolean(),
1548
+ class: /* @__PURE__ */ boolean()
1549
+ })),
1550
+ unused: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("keep_assign")])),
1551
+ joinVars: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1552
+ sequences: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1553
+ dropLabels: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1554
+ maxIterations: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1555
+ treeshake: /* @__PURE__ */ optional(/* @__PURE__ */ strictObject({
1556
+ annotations: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1557
+ manualPureFunctions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1558
+ propertyReadSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("always")])),
1559
+ propertyWriteSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1560
+ unknownGlobalSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1561
+ invalidImportSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1562
+ }))
1563
+ })])),
1564
+ mangle: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1565
+ toplevel: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1566
+ keepNames: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1567
+ function: /* @__PURE__ */ boolean(),
1568
+ class: /* @__PURE__ */ boolean()
1569
+ })])),
1570
+ debug: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1571
+ })])),
1572
+ codegen: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({ removeWhitespace: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()) })]))
1607
1573
  });
1608
- isTypeTrue();
1609
1574
  const ResolveOptionsSchema = /* @__PURE__ */ strictObject({
1610
1575
  alias: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ union([
1611
1576
  /* @__PURE__ */ literal(false),
@@ -1623,7 +1588,6 @@ const ResolveOptionsSchema = /* @__PURE__ */ strictObject({
1623
1588
  symlinks: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1624
1589
  tsconfigFilename: /* @__PURE__ */ optional(/* @__PURE__ */ string())
1625
1590
  });
1626
- isTypeTrue();
1627
1591
  const TreeshakingOptionsSchema = /* @__PURE__ */ strictObject({
1628
1592
  moduleSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ any()),
1629
1593
  annotations: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
@@ -1634,7 +1598,6 @@ const TreeshakingOptionsSchema = /* @__PURE__ */ strictObject({
1634
1598
  propertyReadSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal(false), /* @__PURE__ */ literal("always")])),
1635
1599
  propertyWriteSideEffects: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal(false), /* @__PURE__ */ literal("always")]))
1636
1600
  });
1637
- isTypeTrue();
1638
1601
  const OptimizationOptionsSchema = /* @__PURE__ */ strictObject({
1639
1602
  inlineConst: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1640
1603
  mode: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("all"), /* @__PURE__ */ literal("smart")])),
@@ -1642,24 +1605,19 @@ const OptimizationOptionsSchema = /* @__PURE__ */ strictObject({
1642
1605
  })])), /* @__PURE__ */ description("Enable crossmodule constant inlining")),
1643
1606
  pifeForModuleWrappers: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use PIFE pattern for module wrappers"))
1644
1607
  });
1645
- isTypeTrue();
1646
1608
  const LogOrStringHandlerSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([LogLevelWithErrorSchema, RollupLogWithStringSchema])));
1647
- isTypeTrue();
1648
1609
  const OnLogSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([
1649
1610
  LogLevelSchema,
1650
1611
  RollupLogSchema,
1651
1612
  LogOrStringHandlerSchema
1652
1613
  ])));
1653
- isTypeTrue();
1654
1614
  const OnwarnSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([RollupLogSchema, /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ union([RollupLogWithStringSchema, /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ returns(RollupLogWithStringSchema))])])))])));
1655
- isTypeTrue();
1656
1615
  const DevModeSchema = /* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1657
1616
  port: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1658
1617
  host: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1659
1618
  implement: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1660
1619
  lazy: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1661
1620
  })]);
1662
- isTypeTrue();
1663
1621
  const InputOptionsSchema = /* @__PURE__ */ strictObject({
1664
1622
  input: /* @__PURE__ */ optional(InputOptionSchema),
1665
1623
  plugins: /* @__PURE__ */ optional(/* @__PURE__ */ custom(() => true)),
@@ -1713,7 +1671,6 @@ const InputOptionsSchema = /* @__PURE__ */ strictObject({
1713
1671
  tsconfig: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ string()])), /* @__PURE__ */ description("Path to the tsconfig.json file.")),
1714
1672
  id: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Unique identifier for build task"))
1715
1673
  });
1716
- isTypeTrue();
1717
1674
  const InputCliOverrideSchema = /* @__PURE__ */ strictObject({
1718
1675
  input: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Entry file")),
1719
1676
  external: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
@@ -1742,32 +1699,22 @@ const ModuleFormatSchema = /* @__PURE__ */ union([
1742
1699
  /* @__PURE__ */ literal("iife"),
1743
1700
  /* @__PURE__ */ literal("umd")
1744
1701
  ]);
1745
- isTypeTrue();
1746
1702
  const AddonFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ custom(() => true)])), /* @__PURE__ */ returnsAsync(/* @__PURE__ */ unionAsync([/* @__PURE__ */ string(), /* @__PURE__ */ pipeAsync(/* @__PURE__ */ promise(), /* @__PURE__ */ awaitAsync(), /* @__PURE__ */ string())])));
1747
- isTypeTrue();
1748
1703
  const ChunkFileNamesFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ custom(() => true)])), /* @__PURE__ */ returns(/* @__PURE__ */ string()));
1749
- isTypeTrue();
1750
1704
  const ChunkFileNamesSchema = /* @__PURE__ */ union([/* @__PURE__ */ string(), ChunkFileNamesFunctionSchema]);
1751
1705
  const AssetFileNamesFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ custom(() => true)])), /* @__PURE__ */ returns(/* @__PURE__ */ string()));
1752
- isTypeTrue();
1753
1706
  const AssetFileNamesSchema = /* @__PURE__ */ union([/* @__PURE__ */ string(), AssetFileNamesFunctionSchema]);
1754
1707
  const SanitizeFileNameFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string()])), /* @__PURE__ */ returns(/* @__PURE__ */ string()));
1755
- isTypeTrue();
1756
1708
  const SanitizeFileNameSchema = /* @__PURE__ */ union([/* @__PURE__ */ boolean(), SanitizeFileNameFunctionSchema]);
1757
1709
  const GlobalsFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string()])), /* @__PURE__ */ returns(/* @__PURE__ */ string()));
1758
- isTypeTrue();
1759
1710
  const PathsFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string()])), /* @__PURE__ */ returns(/* @__PURE__ */ string()));
1760
- isTypeTrue();
1761
1711
  const ManualChunksFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string(), /* @__PURE__ */ object({})])), /* @__PURE__ */ returns(/* @__PURE__ */ nullish(/* @__PURE__ */ string())));
1762
- isTypeTrue();
1763
1712
  const AdvancedChunksNameFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string(), /* @__PURE__ */ object({})])), /* @__PURE__ */ returns(/* @__PURE__ */ nullish(/* @__PURE__ */ string())));
1764
- isTypeTrue();
1765
1713
  const AdvancedChunksTestFunctionSchema = /* @__PURE__ */ pipe(vFunction(), /* @__PURE__ */ args(/* @__PURE__ */ tuple([/* @__PURE__ */ string()])), /* @__PURE__ */ returns(/* @__PURE__ */ union([
1766
1714
  /* @__PURE__ */ boolean(),
1767
1715
  /* @__PURE__ */ void_(),
1768
1716
  /* @__PURE__ */ undefined_()
1769
1717
  ])));
1770
- isTypeTrue();
1771
1718
  const AdvancedChunksSchema = /* @__PURE__ */ strictObject({
1772
1719
  includeDependenciesRecursively: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1773
1720
  minSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
@@ -1785,18 +1732,15 @@ const AdvancedChunksSchema = /* @__PURE__ */ strictObject({
1785
1732
  minModuleSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1786
1733
  maxModuleSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1787
1734
  entriesAware: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1788
- entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number())
1735
+ entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1736
+ tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string()))
1789
1737
  })))
1790
1738
  });
1791
- isTypeTrue();
1792
- const GeneratedCodePresetSchema = /* @__PURE__ */ union([/* @__PURE__ */ literal("es5"), /* @__PURE__ */ literal("es2015")]);
1793
- isTypeTrue();
1794
1739
  const GeneratedCodeOptionsSchema = /* @__PURE__ */ strictObject({
1795
1740
  symbols: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to use Symbol.toStringTag for namespace objects")),
1796
- preset: /* @__PURE__ */ optional(GeneratedCodePresetSchema),
1741
+ preset: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ literal("es5"), /* @__PURE__ */ literal("es2015")])),
1797
1742
  profilerNames: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to add readable names to internal variables for profiling purposes"))
1798
1743
  });
1799
- isTypeTrue();
1800
1744
  const OutputOptionsSchema = /* @__PURE__ */ strictObject({
1801
1745
  dir: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Output directory, defaults to `dist` if `file` is not set")),
1802
1746
  file: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Single output file")),
@@ -1874,7 +1818,6 @@ const OutputOptionsSchema = /* @__PURE__ */ strictObject({
1874
1818
  persistentCache: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Enable persistent transform cache to disk.")),
1875
1819
  globalIdentifiers: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Reserved global identifiers to be avoided when generating export binding names for module chunks"))
1876
1820
  });
1877
- isTypeTrue();
1878
1821
  const getAddonDescription = (placement, wrapper) => {
1879
1822
  return `Code to insert the ${styleText$1("bold", placement)} of the bundled file (${styleText$1("bold", wrapper)} the wrapper function)`;
1880
1823
  };
@@ -1965,6 +1908,7 @@ function getCliSchemaInfo() {
1965
1908
  //#endregion
1966
1909
  //#region src/types/rolldown-output-impl.ts
1967
1910
  var RolldownOutputImpl = class extends PlainObjectLike {
1911
+ bindingOutputs;
1968
1912
  constructor(bindingOutputs) {
1969
1913
  super();
1970
1914
  this.bindingOutputs = bindingOutputs;
@@ -1988,6 +1932,7 @@ __decorate([lazyProp], RolldownOutputImpl.prototype, "output", null);
1988
1932
  //#endregion
1989
1933
  //#region src/types/chunking-context.ts
1990
1934
  var ChunkingContextImpl = class {
1935
+ context;
1991
1936
  constructor(context) {
1992
1937
  this.context = context;
1993
1938
  }
@@ -2767,7 +2712,7 @@ function n(e) {
2767
2712
  return e ? e !== "false" : false;
2768
2713
  }
2769
2714
  const I = globalThis.process?.platform || "", T = n(o.CI) || l.ci !== false, a = n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), g = n(o.DEBUG), R = t === "test" || n(o.TEST);
2770
- n(o.MINIMAL);
2715
+ o.MINIMAL;
2771
2716
  const A = /^win/i.test(I);
2772
2717
  !n(o.NO_COLOR) && (n(o.FORCE_COLOR) || (a || A) && o.TERM);
2773
2718
  const C = (globalThis.process?.versions?.node || "").replace(/^v/, "") || null;
@@ -2936,7 +2881,7 @@ function createConsola(options = {}) {
2936
2881
  defaults: { level },
2937
2882
  stdout: process.stdout,
2938
2883
  stderr: process.stderr,
2939
- prompt: (...args) => import("./prompt-BYQIwEjg.mjs").then((m) => m.prompt(...args)),
2884
+ prompt: (...args) => import("./prompt-U5ajztzG.mjs").then((m) => m.prompt(...args)),
2940
2885
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
2941
2886
  ...options
2942
2887
  });
@@ -3129,7 +3074,6 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
3129
3074
  }
3130
3075
  //#endregion
3131
3076
  //#region src/utils/initialize-parallel-plugins.ts
3132
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
3133
3077
  async function initializeParallelPlugins(plugins) {
3134
3078
  const pluginInfos = [];
3135
3079
  for (const [index, plugin] of plugins.entries()) if ("_parallel" in plugin) {
@@ -1,5 +1,5 @@
1
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-hSQGgsUz.mjs";
2
+ import { F as MinifyOptions$1, G as TsconfigCache$1, I as MinifyResult$1, R as ParseResult$1, U as SourceMap, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, y as BindingTsconfigResult, z as ParserOptions$1 } from "./binding-87e5dhsA.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-Bl6c6z8s.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DUKw6_Oz.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-CG-zr72D.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-I9YOS-fH.mjs";
4
4
  import { t as arraify } from "./misc-DJYbNKZX.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-CwfkzKYx.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-DkpaAqUJ.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-DfXmP5hj.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-Bdico8El.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-hSQGgsUz.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-DY2pi3Qm.mjs";
1
+ import { _ as BindingTsconfigCompilerOptions, v as BindingTsconfigRawOptions } from "./shared/binding-87e5dhsA.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-SYT5xWOy.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.121.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-BZ2yiInp.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-eAEuR0Fg.mjs";
3
- //#region ../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
1
+ import { n as parseSync, t as parse } from "./shared/parse-nkDF8VUS.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-uzcNee7s.mjs";
3
+ //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
2015
  const NODE_TYPE_IDS_MAP = new Map([
2016
2016
  ["DebuggerStatement", 0],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../node_modules/.pnpm/oxc-parser@0.121.0/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];