rolldown 1.0.0-beta.36 → 1.0.0-beta.37

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.
package/dist/config.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import "./shared/binding-wK0CRIMb.mjs";
2
- import { ConfigExport, defineConfig } from "./shared/define-config-wxvILtDx.mjs";
1
+ import "./shared/binding-Cjs27cfu.mjs";
2
+ import { ConfigExport, defineConfig } from "./shared/define-config-CV3aiNwN.mjs";
3
3
 
4
4
  //#region src/utils/load-config.d.ts
5
5
  declare function loadConfig(configPath: string): Promise<ConfigExport>;
package/dist/config.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import "./shared/parse-ast-index-CkDFQ-07.mjs";
2
- import { defineConfig, version } from "./shared/src-WjgJWoNk.mjs";
1
+ import "./shared/parse-ast-index-B5HcAOhq.mjs";
2
+ import { defineConfig, version } from "./shared/src-BtNlw_84.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
- import { loadConfig } from "./shared/load-config-Jqw6FAJp.mjs";
4
+ import { loadConfig } from "./shared/load-config-BOVuTpJm.mjs";
5
5
 
6
6
  //#region src/config.ts
7
7
  const VERSION = version;
@@ -1,13 +1,44 @@
1
- import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingDynamicImportVarsPluginConfig, BindingEsmExternalRequirePluginConfig, BindingHmrUpdate, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingModulePreloadPolyfillPluginConfig, BindingReplacePluginConfig, BindingReporterPluginConfig, BindingTransformPluginConfig, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-wK0CRIMb.mjs";
2
- import { BuiltinPlugin, InputOptions, OutputOptions, StringOrRegExp, defineParallelPlugin } from "./shared/define-config-wxvILtDx.mjs";
1
+ import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingDynamicImportVarsPluginConfig, BindingEsmExternalRequirePluginConfig, BindingHmrUpdate, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingModulePreloadPolyfillPluginConfig, BindingReplacePluginConfig, BindingReporterPluginConfig, BindingTransformPluginConfig, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-Cjs27cfu.mjs";
2
+ import { BuiltinPlugin, InputOptions, OutputOptions, StringOrRegExp, defineParallelPlugin } from "./shared/define-config-CV3aiNwN.mjs";
3
3
 
4
4
  //#region src/api/dev/dev-options.d.ts
5
5
  interface DevWatchOptions {
6
+ /**
7
+ * If `true`, use polling instead of native file system events for watching.
8
+ * @default false
9
+ */
6
10
  usePolling?: boolean;
11
+ /**
12
+ * Poll interval in milliseconds (only used when usePolling is true).
13
+ * @default 100
14
+ */
7
15
  pollInterval?: number;
16
+ /**
17
+ * If `true`, use debounced watcher. If `false`, use non-debounced watcher for immediate responses.
18
+ * @default true
19
+ */
20
+ useDebounce?: boolean;
21
+ /**
22
+ * Debounce duration in milliseconds (only used when useDebounce is true).
23
+ * @default 10
24
+ */
25
+ debounceDuration?: number;
26
+ /**
27
+ * Whether to compare file contents for poll-based watchers (only used when usePolling is true).
28
+ * When enabled, poll watchers will check file contents to determine if they actually changed.
29
+ * @default false
30
+ */
31
+ compareContentsForPolling?: boolean;
32
+ /**
33
+ * Tick rate in milliseconds for debounced watchers (only used when useDebounce is true).
34
+ * Controls how frequently the debouncer checks for events to process.
35
+ * When not specified, the debouncer will auto-select an appropriate tick rate (1/4 of the debounce duration).
36
+ * @default undefined (auto-select)
37
+ */
38
+ debounceTickRate?: number;
8
39
  }
9
40
  interface DevOptions {
10
- onHmrUpdates?: (updates: BindingHmrUpdate[]) => void | Promise<void>;
41
+ onHmrUpdates?: (updates: BindingHmrUpdate[], changedFiles: string[]) => void | Promise<void>;
11
42
  watch?: DevWatchOptions;
12
43
  }
13
44
  //#endregion
@@ -19,6 +50,10 @@ declare class DevEngine {
19
50
  run(): Promise<void>;
20
51
  ensureCurrentBuildFinish(): Promise<void>;
21
52
  ensureLatestBuild(): Promise<void>;
53
+ /**
54
+ * Returns true if a new build is scheduled.
55
+ */
56
+ scheduleBuildIfStale(): Promise<"scheduled" | "alreadyScheduled" | undefined>;
22
57
  invalidate(file: string, firstInvalidatedBy?: string): Promise<BindingHmrUpdate>;
23
58
  }
24
59
  //#endregion
@@ -1,6 +1,7 @@
1
- import { BindingBundler, BindingDevEngine, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-CkDFQ-07.mjs";
2
- import { PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBuiltinPlugin, createBundlerImpl, createBundlerOptions, dynamicImportVarsPlugin, esmExternalRequirePlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-WjgJWoNk.mjs";
1
+ import { BindingBundler, BindingDevEngine, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-B5HcAOhq.mjs";
2
+ import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, createBundlerOptions, dynamicImportVarsPlugin, esmExternalRequirePlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-BtNlw_84.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
+ import { logger } from "./shared/logger-CiCY7ucm.mjs";
4
5
  import { pathToFileURL } from "node:url";
5
6
 
6
7
  //#region src/api/dev/dev-engine.ts
@@ -14,7 +15,11 @@ var DevEngine = class DevEngine {
14
15
  onHmrUpdates: devOptions.onHmrUpdates,
15
16
  watch: devOptions.watch && {
16
17
  usePolling: devOptions.watch.usePolling,
17
- pollInterval: devOptions.watch.pollInterval
18
+ pollInterval: devOptions.watch.pollInterval,
19
+ useDebounce: devOptions.watch.useDebounce,
20
+ debounceDuration: devOptions.watch.debounceDuration,
21
+ compareContentsForPolling: devOptions.watch.compareContentsForPolling,
22
+ debounceTickRate: devOptions.watch.debounceTickRate
18
23
  }
19
24
  };
20
25
  const inner = new BindingDevEngine(options.bundlerOptions, bindingDevOptions);
@@ -37,6 +42,16 @@ var DevEngine = class DevEngine {
37
42
  async ensureLatestBuild() {
38
43
  await this.#inner.ensureLatestBuild();
39
44
  }
45
+ /**
46
+ * Returns true if a new build is scheduled.
47
+ */
48
+ async scheduleBuildIfStale() {
49
+ const scheduled = await this.#inner.scheduleBuildIfStale();
50
+ if (scheduled) {
51
+ scheduled.wait().catch(() => {});
52
+ return scheduled.alreadyScheduled() ? "alreadyScheduled" : "scheduled";
53
+ }
54
+ }
40
55
  async invalidate(file, firstInvalidatedBy) {
41
56
  return this.#inner.invalidate(file, firstInvalidatedBy);
42
57
  }
@@ -75,7 +90,7 @@ function defineParallelPlugin(pluginPath) {
75
90
  //#endregion
76
91
  //#region src/builtin-plugin/alias-plugin.ts
77
92
  function aliasPlugin(config) {
78
- return createBuiltinPlugin("builtin:alias", config);
93
+ return new BuiltinPlugin("builtin:alias", config);
79
94
  }
80
95
 
81
96
  //#endregion
@@ -103,10 +118,16 @@ function aliasPlugin(config) {
103
118
  * ```
104
119
  */
105
120
  function replacePlugin(values = {}, options = {}) {
121
+ let hasNonStringValues = false;
106
122
  Object.keys(values).forEach((key) => {
107
- values[key] = values[key].toString();
123
+ const value = values[key];
124
+ if (typeof value !== "string") {
125
+ hasNonStringValues = true;
126
+ values[key] = String(value);
127
+ }
108
128
  });
109
- return createBuiltinPlugin("builtin:replace", {
129
+ if (hasNonStringValues) logger.warn("Some values provided to `replacePlugin` are not strings. They will be converted to strings, but for better performance consider converting them manually.");
130
+ return new BuiltinPlugin("builtin:replace", {
110
131
  ...options,
111
132
  values
112
133
  });
@@ -122,7 +143,7 @@ function transformPlugin(config) {
122
143
  jsxRefreshInclude: normalizedStringOrRegex(config.jsxRefreshInclude),
123
144
  jsxRefreshExclude: normalizedStringOrRegex(config.jsxRefreshExclude)
124
145
  };
125
- return createBuiltinPlugin("builtin:transform", config);
146
+ return new BuiltinPlugin("builtin:transform", config);
126
147
  }
127
148
 
128
149
  //#endregion
@@ -1,4 +1,4 @@
1
- import "./shared/binding-wK0CRIMb.mjs";
2
- import { withFilter } from "./shared/define-config-wxvILtDx.mjs";
1
+ import "./shared/binding-Cjs27cfu.mjs";
2
+ import { withFilter } from "./shared/define-config-CV3aiNwN.mjs";
3
3
  import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
4
4
  export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { PreRenderedChunk } from "./shared/binding-wK0CRIMb.mjs";
2
- import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, 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, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-wxvILtDx.mjs";
3
- export { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, 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, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
1
+ import { PreRenderedChunk } from "./shared/binding-Cjs27cfu.mjs";
2
+ import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, 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, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-CV3aiNwN.mjs";
3
+ export { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, 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, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import "./shared/parse-ast-index-CkDFQ-07.mjs";
2
- import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-WjgJWoNk.mjs";
1
+ import "./shared/parse-ast-index-B5HcAOhq.mjs";
2
+ import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-BtNlw_84.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
4
 
5
5
  export { VERSION, build, defineConfig, rolldown, watch };
@@ -1,5 +1,5 @@
1
- import { registerPlugins } from "./shared/parse-ast-index-CkDFQ-07.mjs";
2
- import { PluginContextData, bindingifyPlugin } from "./shared/src-WjgJWoNk.mjs";
1
+ import { registerPlugins } from "./shared/parse-ast-index-B5HcAOhq.mjs";
2
+ import { PluginContextData, bindingifyPlugin } from "./shared/src-BtNlw_84.mjs";
3
3
  import "./shared/misc-CQeo-AFx.mjs";
4
4
  import { parentPort, workerData } from "node:worker_threads";
5
5
 
@@ -1,5 +1,5 @@
1
- import "./shared/binding-wK0CRIMb.mjs";
2
- import { MaybePromise, Plugin } from "./shared/define-config-wxvILtDx.mjs";
1
+ import "./shared/binding-Cjs27cfu.mjs";
2
+ import { MaybePromise, Plugin } from "./shared/define-config-CV3aiNwN.mjs";
3
3
 
4
4
  //#region src/plugin/parallel-plugin-implementation.d.ts
5
5
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- import { ParseResult, ParserOptions } from "./shared/binding-wK0CRIMb.mjs";
1
+ import { ParseResult, ParserOptions } from "./shared/binding-Cjs27cfu.mjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
 
4
4
  //#region src/parse-ast-index.d.ts
@@ -1,3 +1,3 @@
1
- import { parseAst, parseAstAsync } from "./shared/parse-ast-index-CkDFQ-07.mjs";
1
+ import { parseAst, parseAstAsync } from "./shared/parse-ast-index-B5HcAOhq.mjs";
2
2
 
3
3
  export { parseAst, parseAstAsync };
@@ -1,4 +1,4 @@
1
- import { BindingBuiltinPluginName, BindingBundlerImpl, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingRenderedChunk, BindingTransformHookExtraArgs, BindingWatcherEvent, MinifyOptions as MinifyOptions$1, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-wK0CRIMb.mjs";
1
+ import { BindingBuiltinPluginName, BindingBundlerImpl, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingRenderedChunk, BindingTransformHookExtraArgs, BindingWatcherEvent, MinifyOptions as MinifyOptions$1, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-Cjs27cfu.mjs";
2
2
  import { TopLevelFilterExpression } from "@rolldown/pluginutils";
3
3
  import { Program } from "@oxc-project/types";
4
4
 
@@ -802,6 +802,9 @@ interface OutputBundle {
802
802
  [fileName: string]: OutputAsset | OutputChunk;
803
803
  }
804
804
  //#endregion
805
+ //#region src/types/rolldown-options-function.d.ts
806
+ type RolldownOptionsFunction = (commandLineArguments: Record<string, any>) => MaybePromise<RolldownOptions | RolldownOptions[]>;
807
+ //#endregion
805
808
  //#region src/types/sourcemap.d.ts
806
809
  interface ExistingRawSourceMap {
807
810
  file?: string | null;
@@ -819,15 +822,11 @@ type SourceMapInput = ExistingRawSourceMap | string | null;
819
822
  declare const VERSION: string;
820
823
  //#endregion
821
824
  //#region src/builtin-plugin/utils.d.ts
822
- declare const BuiltinClassSymbol: symbol;
823
825
  declare class BuiltinPlugin {
824
826
  name: BindingBuiltinPluginName;
825
827
  _options?: unknown;
826
828
  constructor(name: BindingBuiltinPluginName, _options?: unknown);
827
829
  }
828
- interface BuiltinPlugin {
829
- [BuiltinClassSymbol]: boolean;
830
- }
831
830
  //#endregion
832
831
  //#region src/constants/plugin.d.ts
833
832
  declare const ENUMERATED_INPUT_PLUGIN_HOOK_NAMES: readonly ["options", "buildStart", "resolveId", "load", "transform", "moduleParsed", "buildEnd", "onLog", "resolveDynamicImport", "closeBundle", "closeWatcher", "watchChange"];
@@ -1411,11 +1410,12 @@ interface RolldownOptions extends InputOptions {
1411
1410
  /**
1412
1411
  * Type for `default export` of `rolldown.config.js` file.
1413
1412
  */
1414
- type ConfigExport = RolldownOptions | RolldownOptions[];
1413
+ type ConfigExport = RolldownOptions | RolldownOptions[] | RolldownOptionsFunction;
1415
1414
  //#endregion
1416
1415
  //#region src/utils/define-config.d.ts
1417
1416
  declare function defineConfig(config: RolldownOptions): RolldownOptions;
1418
1417
  declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
1418
+ declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
1419
1419
  declare function defineConfig(config: ConfigExport): ConfigExport;
1420
1420
  //#endregion
1421
- export { type AddonFunction, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, BuiltinPlugin, type ChunkFileNamesFunction, type ChunkingContext, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedFile, type ExistingRawSourceMap, type ExternalOption, type FunctionPluginHooks, type GeneralHookFilter, type GetModuleInfo, type GlobalsFunction, type HookFilter, type HookFilterExtension, type ImportKind, type InputOption, type InputOptions, type InternalModuleFormat, type LoadResult, type LogLevel, type LogLevelOption, type LogOrStringHandler, type LoggingFunction, MaybePromise, type MinifyOptions, type MinimalPluginContext, type ModuleFormat, type ModuleInfo, type ModuleOptions, type ModuleType, type ModuleTypeFilter, type ModuleTypes, type NormalizedInputOptions, type NormalizedOutputOptions, type ObjectHook, type OptimizationOptions, type OutputAsset, type OutputBundle, type OutputChunk, type OutputOptions, type ParallelPluginHooks, type PartialNull, type PartialResolvedId, type Plugin, type PluginContext, type PluginContextMeta, type PreRenderedAsset, type RenderedChunk, type RenderedModule, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownFileStats, type RolldownFsModule, type RolldownOptions, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RollupError, type RollupLog, type RollupLogWithString, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, StringOrRegExp, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherOptions, build, defineConfig, defineParallelPlugin, rolldown, watch, withFilter };
1421
+ export { type AddonFunction, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, BuiltinPlugin, type ChunkFileNamesFunction, type ChunkingContext, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedFile, type ExistingRawSourceMap, type ExternalOption, type FunctionPluginHooks, type GeneralHookFilter, type GetModuleInfo, type GlobalsFunction, type HookFilter, type HookFilterExtension, type ImportKind, type InputOption, type InputOptions, type InternalModuleFormat, type LoadResult, type LogLevel, type LogLevelOption, type LogOrStringHandler, type LoggingFunction, MaybePromise, type MinifyOptions, type MinimalPluginContext, type ModuleFormat, type ModuleInfo, type ModuleOptions, type ModuleType, type ModuleTypeFilter, type ModuleTypes, type NormalizedInputOptions, type NormalizedOutputOptions, type ObjectHook, type OptimizationOptions, type OutputAsset, type OutputBundle, type OutputChunk, type OutputOptions, type ParallelPluginHooks, type PartialNull, type PartialResolvedId, type Plugin, type PluginContext, type PluginContextMeta, type PreRenderedAsset, type RenderedChunk, type RenderedModule, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownFileStats, type RolldownFsModule, type RolldownOptions, type RolldownOptionsFunction, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RollupError, type RollupLog, type RollupLogWithString, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, StringOrRegExp, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherOptions, build, defineConfig, defineParallelPlugin, rolldown, watch, withFilter };
@@ -1,4 +1,4 @@
1
- import { rolldown } from "./src-WjgJWoNk.mjs";
1
+ import { rolldown } from "./src-BtNlw_84.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { pathToFileURL } from "node:url";