@rolldown/browser 1.0.0-beta.58 → 1.0.0-beta.59

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 (30) hide show
  1. package/dist/cli.mjs +8 -8
  2. package/dist/config.d.mts +1 -1
  3. package/dist/config.mjs +6 -6
  4. package/dist/{constructors-BuqTjXTF.js → constructors-c0HHH7Qq.js} +1 -1
  5. package/dist/experimental-index.browser.mjs +17 -3
  6. package/dist/experimental-index.d.mts +13 -1
  7. package/dist/experimental-index.mjs +19 -5
  8. package/dist/experimental-runtime-types.d.ts +6 -2
  9. package/dist/filter-index.d.mts +1 -1
  10. package/dist/index.browser.mjs +2 -2
  11. package/dist/index.d.mts +1 -1
  12. package/dist/index.mjs +6 -6
  13. package/dist/{normalize-string-or-regex-3ql5-z8-.js → normalize-string-or-regex-BB1FWNyl.js} +2 -2
  14. package/dist/parallel-plugin-worker.mjs +3 -3
  15. package/dist/parallel-plugin.d.mts +1 -1
  16. package/dist/parse-ast-index.mjs +1 -1
  17. package/dist/plugins-index.browser.mjs +2 -2
  18. package/dist/plugins-index.mjs +2 -2
  19. package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
  20. package/dist/{rolldown-build-CRqas5jO.js → rolldown-build-Bfw5c2c3.js} +9 -7
  21. package/dist/shared/{bindingify-input-options--qcSYuhh.mjs → bindingify-input-options-BTd8uAdf.mjs} +7 -6
  22. package/dist/shared/{constructors-kOch67Sb.mjs → constructors-C8tBnLHP.mjs} +1 -1
  23. package/dist/shared/{define-config-yInAJbA1.d.mts → define-config-CpZLzJD0.d.mts} +13 -0
  24. package/dist/shared/{load-config-BZhApFJg.mjs → load-config-cKGxDu4K.mjs} +1 -1
  25. package/dist/shared/{normalize-string-or-regex-CIiT1lMg.mjs → normalize-string-or-regex-DJ5EwPtg.mjs} +2 -2
  26. package/dist/shared/{parse-ast-index-CgzK6cxG.mjs → parse-ast-index-BLdgtc2B.mjs} +1 -1
  27. package/dist/shared/{rolldown-Vl5SnJ_J.mjs → rolldown-8m9pjMU2.mjs} +1 -1
  28. package/dist/shared/{rolldown-build-7kWB1jqY.mjs → rolldown-build-DKF_S8hw.mjs} +4 -3
  29. package/dist/shared/{watch-CGYro6go.mjs → watch-BEzOq0zm.mjs} +3 -3
  30. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { n as onExit, t as watch } from "./shared/watch-CGYro6go.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-BEzOq0zm.mjs";
2
2
  import { t as arraify } from "./shared/misc-BubmxcE3.mjs";
3
- import { b as description, x as version } from "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
4
- import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-7kWB1jqY.mjs";
5
- import "./shared/bindingify-input-options--qcSYuhh.mjs";
6
- import "./shared/parse-ast-index-CgzK6cxG.mjs";
7
- import { t as rolldown } from "./shared/rolldown-Vl5SnJ_J.mjs";
8
- import { t as loadConfig } from "./shared/load-config-BZhApFJg.mjs";
3
+ import { b as description, x as version } from "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
4
+ import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-DKF_S8hw.mjs";
5
+ import "./shared/bindingify-input-options-BTd8uAdf.mjs";
6
+ import "./shared/parse-ast-index-BLdgtc2B.mjs";
7
+ import { t as rolldown } from "./shared/rolldown-8m9pjMU2.mjs";
8
+ import { t as loadConfig } from "./shared/load-config-cKGxDu4K.mjs";
9
9
  import path, { sep } from "node:path";
10
10
  import { formatWithOptions, parseArgs } from "node:util";
11
11
  import process$1 from "node:process";
@@ -1237,7 +1237,7 @@ function getClearScreenFunction(options$1) {
1237
1237
  }
1238
1238
 
1239
1239
  //#endregion
1240
- //#region \0@oxc-project+runtime@0.106.0/helpers/usingCtx.js
1240
+ //#region \0@oxc-project+runtime@0.107.0/helpers/usingCtx.js
1241
1241
  function _usingCtx() {
1242
1242
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1243
1243
  var n$2 = Error();
package/dist/config.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as ConfigExport, t as defineConfig } from "./shared/define-config-yInAJbA1.mjs";
1
+ import { n as ConfigExport, t as defineConfig } from "./shared/define-config-CpZLzJD0.mjs";
2
2
 
3
3
  //#region src/utils/load-config.d.ts
4
4
  declare function loadConfig(configPath: string): Promise<ConfigExport>;
package/dist/config.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { x as version } from "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
2
- import "./shared/rolldown-build-7kWB1jqY.mjs";
3
- import "./shared/bindingify-input-options--qcSYuhh.mjs";
4
- import "./shared/parse-ast-index-CgzK6cxG.mjs";
5
- import "./shared/rolldown-Vl5SnJ_J.mjs";
1
+ import { x as version } from "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
2
+ import "./shared/rolldown-build-DKF_S8hw.mjs";
3
+ import "./shared/bindingify-input-options-BTd8uAdf.mjs";
4
+ import "./shared/parse-ast-index-BLdgtc2B.mjs";
5
+ import "./shared/rolldown-8m9pjMU2.mjs";
6
6
  import { t as defineConfig } from "./shared/define-config-BF4P-Pum.mjs";
7
- import { t as loadConfig } from "./shared/load-config-BZhApFJg.mjs";
7
+ import { t as loadConfig } from "./shared/load-config-cKGxDu4K.mjs";
8
8
 
9
9
  //#region src/config.ts
10
10
  const VERSION = version;
@@ -1,4 +1,4 @@
1
- import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-3ql5-z8-.js";
1
+ import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BB1FWNyl.js";
2
2
 
3
3
  //#region src/builtin-plugin/constructors.ts
4
4
  function viteModulePreloadPolyfillPlugin(config) {
@@ -1,6 +1,6 @@
1
- import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./normalize-string-or-regex-3ql5-z8-.js";
2
- import { a as unwrapBindingResult, c as validateOption, i as normalizeBindingResult, l as PluginDriver, n as createBundlerOptions, o as parse, s as parseSync, t as RolldownBuild } from "./rolldown-build-CRqas5jO.js";
3
- import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./constructors-BuqTjXTF.js";
1
+ import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./normalize-string-or-regex-BB1FWNyl.js";
2
+ import { a as unwrapBindingResult, c as validateOption, i as normalizeBindingResult, l as PluginDriver, n as createBundlerOptions, o as parse, s as parseSync, t as RolldownBuild } from "./rolldown-build-Bfw5c2c3.js";
3
+ import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./constructors-c0HHH7Qq.js";
4
4
  import * as binding from "./rolldown-binding.wasi-browser.js";
5
5
  import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, createTokioRuntime, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi-browser.js";
6
6
 
@@ -80,6 +80,20 @@ var DevEngine = class DevEngine {
80
80
  async close() {
81
81
  await this.#inner.close();
82
82
  }
83
+ /**
84
+ * Compile a lazy entry module and return HMR-style patch code.
85
+ *
86
+ * This is called when a dynamically imported module is first requested at runtime.
87
+ * The module was previously stubbed with a proxy, and now we need to compile the
88
+ * actual module and its dependencies.
89
+ *
90
+ * @param moduleId - The absolute file path of the module to compile
91
+ * @param clientId - The client ID requesting this compilation
92
+ * @returns The compiled JavaScript code as a string (HMR patch format)
93
+ */
94
+ async compileEntry(moduleId, clientId) {
95
+ return this.#inner.compileEntry(moduleId, clientId);
96
+ }
83
97
  };
84
98
 
85
99
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { $ as transformSync, B as ParserOptions, C as BindingViteManifestPluginConfig, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as isolatedDeclarationSync, K as createTokioRuntime, L as MinifyResult, N as IsolatedDeclarationsOptions, O as BindingViteTransformPluginConfig, P as IsolatedDeclarationsResult, Q as transform, R as NapiResolveOptions, U as ResolverFactory, W as TransformOptions, X as minifySync, Y as minify, Z as moduleRunnerTransform, _ as BindingViteCssPostPluginConfig, b as BindingViteHtmlPluginConfig, c as BindingRebuildStrategy, f as BindingUrlResolver, g as BindingViteCssPluginConfig, m as BindingViteAssetPluginConfig, n as BindingBundleState, q as isolatedDeclaration, r as BindingClientHmrUpdate, z as ParseResult } from "./shared/binding-MAEzB4KA.mjs";
2
- import { Dt as freeExternalMemory, M as SourceMapInput, P as OutputBundle, St as OutputChunk, Tt as RolldownOutput, U as defineParallelPlugin, W as MinimalPluginContext, et as NormalizedOutputOptions, o as InputOptions, yt as OutputOptions } from "./shared/define-config-yInAJbA1.mjs";
2
+ import { Dt as freeExternalMemory, M as SourceMapInput, P as OutputBundle, St as OutputChunk, Tt as RolldownOutput, U as defineParallelPlugin, W as MinimalPluginContext, et as NormalizedOutputOptions, o as InputOptions, yt as OutputOptions } from "./shared/define-config-CpZLzJD0.mjs";
3
3
  import { t as BuiltinPlugin } from "./shared/utils-BGxZdOXA.mjs";
4
4
  import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-CQP6o3cR.mjs";
5
5
 
@@ -76,6 +76,18 @@ declare class DevEngine {
76
76
  registerModules(clientId: string, modules: string[]): Promise<void>;
77
77
  removeClient(clientId: string): Promise<void>;
78
78
  close(): Promise<void>;
79
+ /**
80
+ * Compile a lazy entry module and return HMR-style patch code.
81
+ *
82
+ * This is called when a dynamically imported module is first requested at runtime.
83
+ * The module was previously stubbed with a proxy, and now we need to compile the
84
+ * actual module and its dependencies.
85
+ *
86
+ * @param moduleId - The absolute file path of the module to compile
87
+ * @param clientId - The client ID requesting this compilation
88
+ * @returns The compiled JavaScript code as a string (HMR patch format)
89
+ */
90
+ compileEntry(moduleId: string, clientId: string): Promise<string>;
79
91
  }
80
92
  //#endregion
81
93
  //#region src/api/dev/index.d.ts
@@ -1,8 +1,8 @@
1
- import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
2
- import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-7kWB1jqY.mjs";
3
- import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options--qcSYuhh.mjs";
4
- import { i as parseSync, r as parse } from "./shared/parse-ast-index-CgzK6cxG.mjs";
5
- import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-kOch67Sb.mjs";
1
+ import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
2
+ import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-DKF_S8hw.mjs";
3
+ import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-BTd8uAdf.mjs";
4
+ import { i as parseSync, r as parse } from "./shared/parse-ast-index-BLdgtc2B.mjs";
5
+ import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-C8tBnLHP.mjs";
6
6
  import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, createTokioRuntime, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi.cjs";
7
7
  import { pathToFileURL } from "node:url";
8
8
 
@@ -82,6 +82,20 @@ var DevEngine = class DevEngine {
82
82
  async close() {
83
83
  await this.#inner.close();
84
84
  }
85
+ /**
86
+ * Compile a lazy entry module and return HMR-style patch code.
87
+ *
88
+ * This is called when a dynamically imported module is first requested at runtime.
89
+ * The module was previously stubbed with a proxy, and now we need to compile the
90
+ * actual module and its dependencies.
91
+ *
92
+ * @param moduleId - The absolute file path of the module to compile
93
+ * @param clientId - The client ID requesting this compilation
94
+ * @returns The compiled JavaScript code as a string (HMR patch format)
95
+ */
96
+ async compileEntry(moduleId, clientId) {
97
+ return this.#inner.compileEntry(moduleId, clientId);
98
+ }
85
99
  };
86
100
 
87
101
  //#endregion
@@ -55,8 +55,12 @@ export class DevRuntime {
55
55
  __toCommonJS: any;
56
56
  /** @internal */
57
57
  __exportAll: any;
58
- /** @internal */
59
- __toDynamicImportESM: any;
58
+ /**
59
+ * @param {boolean} [isNodeMode]
60
+ * @returns {(mod: any) => any}
61
+ * @internal
62
+ */
63
+ __toDynamicImportESM: (isNodeMode?: boolean) => (mod: any) => any;
60
64
  /** @internal */
61
65
  __reExport: any;
62
66
  sendModuleRegisteredMessage: (module: string) => void;
@@ -1,3 +1,3 @@
1
- import { k as withFilter } from "./shared/define-config-yInAJbA1.mjs";
1
+ import { k as withFilter } from "./shared/define-config-CpZLzJD0.mjs";
2
2
  export * from "@rolldown/pluginutils/filter";
3
3
  export { withFilter };
@@ -1,5 +1,5 @@
1
- import { E as arraify, P as logMultiplyNotifyOption, w as LOG_LEVEL_WARN, y as VERSION } from "./normalize-string-or-regex-3ql5-z8-.js";
2
- import { c as validateOption, l as PluginDriver, n as createBundlerOptions, r as aggregateBindingErrorsIntoJsError, t as RolldownBuild } from "./rolldown-build-CRqas5jO.js";
1
+ import { E as arraify, P as logMultiplyNotifyOption, w as LOG_LEVEL_WARN, y as VERSION } from "./normalize-string-or-regex-BB1FWNyl.js";
2
+ import { c as validateOption, l as PluginDriver, n as createBundlerOptions, r as aggregateBindingErrorsIntoJsError, t as RolldownBuild } from "./rolldown-build-Bfw5c2c3.js";
3
3
  import { BindingMagicString, BindingWatcher, shutdownAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
4
4
 
5
5
  //#region src/api/rolldown/index.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as RollupLog, i as RollupError, n as LogLevelOption, o as RollupLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-B4x9qar8.mjs";
2
2
  import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-MAEzB4KA.mjs";
3
- import { $ as InternalModuleFormat, A as VERSION, B as GetModuleInfo, C as ResolveIdResult, Ct as RenderedChunk, D as SourceDescription, E as RolldownPluginOption, Et as SourceMap, F as TreeshakingOptions, G as PluginContextMeta, H as DefineParallelPluginResult, I as TransformPluginContext, J as ModuleTypeFilter, K as GeneralHookFilter, L as EmittedAsset, M as SourceMapInput, N as RolldownOptionsFunction, O as TransformResult, Ot as ModuleInfo, P as OutputBundle, Q as RolldownFsModule, R as EmittedFile, S as ResolveIdExtraOptions, St as OutputChunk, T as RolldownPlugin, Tt as RolldownOutput, V as PluginContext, W as MinimalPluginContext, X as RolldownDirectoryEntry, Y as BufferEncoding, Z as RolldownFileStats, _ as ModuleType, _t as MinifyOptions, a as InputOption, at as RolldownWatcherEvent, b as PartialResolvedId, bt as PreRenderedAsset, c as OptimizationOptions, ct as RolldownBuild, d as CustomPluginOptions, dt as AddonFunction, et as NormalizedOutputOptions, f as FunctionPluginHooks, ft as ChunkFileNamesFunction, g as ModuleOptions, gt as GlobalsFunction, h as LoadResult, ht as GeneratedCodePreset, i as ExternalOption, it as RolldownWatcher, j as ExistingRawSourceMap, kt as SourcemapIgnoreListOption, l as WatcherOptions, lt as BuildOptions, m as ImportKind, mt as GeneratedCodeOptions, n as ConfigExport, nt as ChecksOptions, o as InputOptions, ot as WatchOptions, p as HookFilterExtension, pt as ChunkingContext, q as HookFilter, r as RolldownOptions, rt as watch, s as ModuleTypes, st as rolldown, t as defineConfig, tt as NormalizedInputOptions, u as AsyncPluginHooks, ut as build, v as ObjectHook, vt as ModuleFormat, w as ResolvedId, wt as RenderedModule, x as Plugin, xt as OutputAsset, y as ParallelPluginHooks, yt as OutputOptions, z as EmittedPrebuiltChunk } from "./shared/define-config-yInAJbA1.mjs";
3
+ import { $ as InternalModuleFormat, A as VERSION, B as GetModuleInfo, C as ResolveIdResult, Ct as RenderedChunk, D as SourceDescription, E as RolldownPluginOption, Et as SourceMap, F as TreeshakingOptions, G as PluginContextMeta, H as DefineParallelPluginResult, I as TransformPluginContext, J as ModuleTypeFilter, K as GeneralHookFilter, L as EmittedAsset, M as SourceMapInput, N as RolldownOptionsFunction, O as TransformResult, Ot as ModuleInfo, P as OutputBundle, Q as RolldownFsModule, R as EmittedFile, S as ResolveIdExtraOptions, St as OutputChunk, T as RolldownPlugin, Tt as RolldownOutput, V as PluginContext, W as MinimalPluginContext, X as RolldownDirectoryEntry, Y as BufferEncoding, Z as RolldownFileStats, _ as ModuleType, _t as MinifyOptions, a as InputOption, at as RolldownWatcherEvent, b as PartialResolvedId, bt as PreRenderedAsset, c as OptimizationOptions, ct as RolldownBuild, d as CustomPluginOptions, dt as AddonFunction, et as NormalizedOutputOptions, f as FunctionPluginHooks, ft as ChunkFileNamesFunction, g as ModuleOptions, gt as GlobalsFunction, h as LoadResult, ht as GeneratedCodePreset, i as ExternalOption, it as RolldownWatcher, j as ExistingRawSourceMap, kt as SourcemapIgnoreListOption, l as WatcherOptions, lt as BuildOptions, m as ImportKind, mt as GeneratedCodeOptions, n as ConfigExport, nt as ChecksOptions, o as InputOptions, ot as WatchOptions, p as HookFilterExtension, pt as ChunkingContext, q as HookFilter, r as RolldownOptions, rt as watch, s as ModuleTypes, st as rolldown, t as defineConfig, tt as NormalizedInputOptions, u as AsyncPluginHooks, ut as build, v as ObjectHook, vt as ModuleFormat, w as ResolvedId, wt as RenderedModule, x as Plugin, xt as OutputAsset, y as ParallelPluginHooks, yt as OutputOptions, z as EmittedPrebuiltChunk } from "./shared/define-config-CpZLzJD0.mjs";
4
4
  import { i as WarningHandlerWithDefault, l as PartialNull, n as LoggingFunction } from "./shared/utils-BGxZdOXA.mjs";
5
5
  export { AddonFunction, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, 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,9 +1,9 @@
1
- import { n as onExit, t as watch } from "./shared/watch-CGYro6go.mjs";
2
- import { y as VERSION } from "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
3
- import "./shared/rolldown-build-7kWB1jqY.mjs";
4
- import "./shared/bindingify-input-options--qcSYuhh.mjs";
5
- import "./shared/parse-ast-index-CgzK6cxG.mjs";
6
- import { t as rolldown } from "./shared/rolldown-Vl5SnJ_J.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-BEzOq0zm.mjs";
2
+ import { y as VERSION } from "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
3
+ import "./shared/rolldown-build-DKF_S8hw.mjs";
4
+ import "./shared/bindingify-input-options-BTd8uAdf.mjs";
5
+ import "./shared/parse-ast-index-BLdgtc2B.mjs";
6
+ import { t as rolldown } from "./shared/rolldown-8m9pjMU2.mjs";
7
7
  import { t as defineConfig } from "./shared/define-config-BF4P-Pum.mjs";
8
8
  import { isMainThread } from "node:worker_threads";
9
9
  import { BindingMagicString, initTraceSubscriber } from "./rolldown-binding.wasi.cjs";
@@ -236,7 +236,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
236
236
 
237
237
  //#endregion
238
238
  //#region package.json
239
- var version = "1.0.0-beta.58";
239
+ var version = "1.0.0-beta.59";
240
240
 
241
241
  //#endregion
242
242
  //#region src/version.ts
@@ -394,7 +394,7 @@ function bindingAssetSource(source) {
394
394
  }
395
395
 
396
396
  //#endregion
397
- //#region \0@oxc-project+runtime@0.106.0/helpers/decorate.js
397
+ //#region \0@oxc-project+runtime@0.107.0/helpers/decorate.js
398
398
  function __decorate(decorators, target, key, desc) {
399
399
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
400
400
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1,6 +1,6 @@
1
- import "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
2
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options--qcSYuhh.mjs";
3
- import "./shared/parse-ast-index-CgzK6cxG.mjs";
1
+ import "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
2
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BTd8uAdf.mjs";
3
+ import "./shared/parse-ast-index-BLdgtc2B.mjs";
4
4
  import { parentPort, workerData } from "node:worker_threads";
5
5
  import { registerPlugins } from "./rolldown-binding.wasi.cjs";
6
6
 
@@ -1,4 +1,4 @@
1
- import { x as Plugin } from "./shared/define-config-yInAJbA1.mjs";
1
+ import { x as Plugin } from "./shared/define-config-CpZLzJD0.mjs";
2
2
  import { s as MaybePromise } from "./shared/utils-BGxZdOXA.mjs";
3
3
 
4
4
  //#region src/plugin/parallel-plugin-implementation.d.ts
@@ -1,3 +1,3 @@
1
- import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-CgzK6cxG.mjs";
1
+ import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-BLdgtc2B.mjs";
2
2
 
3
3
  export { parseAst, parseAstAsync };
@@ -1,5 +1,5 @@
1
- import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./normalize-string-or-regex-3ql5-z8-.js";
2
- import { t as esmExternalRequirePlugin } from "./constructors-BuqTjXTF.js";
1
+ import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./normalize-string-or-regex-BB1FWNyl.js";
2
+ import { t as esmExternalRequirePlugin } from "./constructors-c0HHH7Qq.js";
3
3
 
4
4
  //#region src/builtin-plugin/replace-plugin.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-CIiT1lMg.mjs";
2
- import { t as esmExternalRequirePlugin } from "./shared/constructors-kOch67Sb.mjs";
1
+ import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-DJ5EwPtg.mjs";
2
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-C8tBnLHP.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/replace-plugin.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { A as augmentCodeLocation, C as LOG_LEVEL_INFO, D as unimplemented, E as arraify, F as logNoFileSystemInBrowser, I as logParseError, L as logPluginError, M as logCycleLoading, N as logInputHookInOutputPlugin, O as unreachable, R as locate, S as LOG_LEVEL_ERROR, T as logLevelPriority, _ as PlainObjectLike, a as bindingifyManifestPlugin, b as normalizeLog, c as collectChangedBundle, d as bindingifySourcemap$1, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, i as bindingifyCSSPostPlugin, j as error, k as unsupported, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_WARN, x as LOG_LEVEL_DEBUG, y as VERSION, z as getCodeFrame } from "./normalize-string-or-regex-3ql5-z8-.js";
1
+ import { A as augmentCodeLocation, C as LOG_LEVEL_INFO, D as unimplemented, E as arraify, F as logNoFileSystemInBrowser, I as logParseError, L as logPluginError, M as logCycleLoading, N as logInputHookInOutputPlugin, O as unreachable, R as locate, S as LOG_LEVEL_ERROR, T as logLevelPriority, _ as PlainObjectLike, a as bindingifyManifestPlugin, b as normalizeLog, c as collectChangedBundle, d as bindingifySourcemap$1, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, i as bindingifyCSSPostPlugin, j as error, k as unsupported, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_WARN, x as LOG_LEVEL_DEBUG, y as VERSION, z as getCodeFrame } from "./normalize-string-or-regex-BB1FWNyl.js";
2
2
  import { BindingAttachDebugInfo, BindingBundler, BindingChunkModuleOrderBy, BindingLogLevel, BindingMagicString, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, parse, parseSync, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
@@ -2108,7 +2108,8 @@ const InputOptionsSchema = strictObject({
2108
2108
  baseUrl: optional(string()),
2109
2109
  fileName: optional(string())
2110
2110
  })])),
2111
- nativeMagicString: optional(boolean())
2111
+ nativeMagicString: optional(boolean()),
2112
+ chunkOptimization: optional(boolean())
2112
2113
  })),
2113
2114
  transform: optional(TransformOptionsSchema),
2114
2115
  watch: optional(union([WatchOptionsSchema, literal(false)])),
@@ -2354,7 +2355,7 @@ var RolldownOutputImpl = class extends PlainObjectLike {
2354
2355
  __decorate([lazyProp], RolldownOutputImpl.prototype, "output", null);
2355
2356
 
2356
2357
  //#endregion
2357
- //#region ../../node_modules/.pnpm/oxc-parser@0.106.0/node_modules/oxc-parser/src-js/wrap.js
2358
+ //#region ../../node_modules/.pnpm/oxc-parser@0.107.0/node_modules/oxc-parser/src-js/wrap.js
2358
2359
  function wrap$1(result) {
2359
2360
  let program, module, comments, errors;
2360
2361
  return {
@@ -2632,7 +2633,7 @@ function exclude(expr) {
2632
2633
  }
2633
2634
 
2634
2635
  //#endregion
2635
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js
2636
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
2636
2637
  function e(e$1, t$2, n$1) {
2637
2638
  let r = (n$2) => e$1(n$2, ...t$2);
2638
2639
  return n$1 === void 0 ? r : Object.assign(r, {
@@ -2642,7 +2643,7 @@ function e(e$1, t$2, n$1) {
2642
2643
  }
2643
2644
 
2644
2645
  //#endregion
2645
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/purry-DH9cw9sy.js
2646
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/purry-GjwKKIlp.js
2646
2647
  function t$1(t$2, n$1, r) {
2647
2648
  let i = t$2.length - n$1.length;
2648
2649
  if (i === 0) return t$2(...n$1);
@@ -2651,7 +2652,7 @@ function t$1(t$2, n$1, r) {
2651
2652
  }
2652
2653
 
2653
2654
  //#endregion
2654
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/partition-DAu403JQ.js
2655
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/partition.js
2655
2656
  function t(...t$2) {
2656
2657
  return t$1(n, t$2);
2657
2658
  }
@@ -3992,7 +3993,8 @@ function bindingifyExperimental(experimental) {
3992
3993
  chunkImportMap: experimental?.chunkImportMap,
3993
3994
  onDemandWrapping: experimental?.onDemandWrapping,
3994
3995
  incrementalBuild: experimental?.incrementalBuild,
3995
- nativeMagicString: experimental?.nativeMagicString
3996
+ nativeMagicString: experimental?.nativeMagicString,
3997
+ chunkOptimization: experimental?.chunkOptimization
3996
3998
  };
3997
3999
  }
3998
4000
  function bindingifyResolve(resolve$1) {
@@ -1,7 +1,7 @@
1
1
  import { c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-DEfpOy5A.mjs";
2
2
  import { a as unreachable, o as unsupported, t as arraify } from "./misc-BubmxcE3.mjs";
3
- import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-CIiT1lMg.mjs";
4
- import { t as parseAst } from "./parse-ast-index-CgzK6cxG.mjs";
3
+ import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-DJ5EwPtg.mjs";
4
+ import { t as parseAst } from "./parse-ast-index-BLdgtc2B.mjs";
5
5
  import { a as id, f as or, n as code, r as exclude, s as include, t as and, u as moduleType } from "./composable-filters-C5qA4jo-.mjs";
6
6
  import { BindingAttachDebugInfo, BindingChunkModuleOrderBy, BindingLogLevel, BindingMagicString, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects } from "../rolldown-binding.wasi.cjs";
7
7
  import path from "node:path";
@@ -132,7 +132,7 @@ function normalizeTransformHookSourcemap(id$1, originalCode, rawMap) {
132
132
  }
133
133
 
134
134
  //#endregion
135
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js
135
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
136
136
  function e(e$1, t$2, n$1) {
137
137
  let r = (n$2) => e$1(n$2, ...t$2);
138
138
  return n$1 === void 0 ? r : Object.assign(r, {
@@ -142,7 +142,7 @@ function e(e$1, t$2, n$1) {
142
142
  }
143
143
 
144
144
  //#endregion
145
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/purry-DH9cw9sy.js
145
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/purry-GjwKKIlp.js
146
146
  function t$1(t$2, n$1, r) {
147
147
  let i = t$2.length - n$1.length;
148
148
  if (i === 0) return t$2(...n$1);
@@ -151,7 +151,7 @@ function t$1(t$2, n$1, r) {
151
151
  }
152
152
 
153
153
  //#endregion
154
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/partition-DAu403JQ.js
154
+ //#region ../../node_modules/.pnpm/remeda@2.33.0/node_modules/remeda/dist/partition.js
155
155
  function t(...t$2) {
156
156
  return t$1(n, t$2);
157
157
  }
@@ -1487,7 +1487,8 @@ function bindingifyExperimental(experimental) {
1487
1487
  chunkImportMap: experimental?.chunkImportMap,
1488
1488
  onDemandWrapping: experimental?.onDemandWrapping,
1489
1489
  incrementalBuild: experimental?.incrementalBuild,
1490
- nativeMagicString: experimental?.nativeMagicString
1490
+ nativeMagicString: experimental?.nativeMagicString,
1491
+ chunkOptimization: experimental?.chunkOptimization
1491
1492
  };
1492
1493
  }
1493
1494
  function bindingifyResolve(resolve) {
@@ -1,4 +1,4 @@
1
- import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CIiT1lMg.mjs";
1
+ import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DJ5EwPtg.mjs";
2
2
 
3
3
  //#region src/builtin-plugin/constructors.ts
4
4
  function viteModulePreloadPolyfillPlugin(config) {
@@ -1901,6 +1901,19 @@ interface InputOptions {
1901
1901
  * @default false
1902
1902
  */
1903
1903
  nativeMagicString?: boolean;
1904
+ /**
1905
+ * Control whether to optimize chunks by allowing entry chunks to have different exports than the underlying entry module.
1906
+ * This optimization can reduce the number of generated chunks.
1907
+ *
1908
+ * When enabled, rolldown will try to insert common modules directly into existing chunks rather than creating
1909
+ * separate chunks for them, which can result in fewer output files and better performance.
1910
+ *
1911
+ * This optimization is automatically disabled when any module uses top-level await (TLA) or contains TLA dependencies,
1912
+ * as it could affect execution order guarantees.
1913
+ *
1914
+ * @default true
1915
+ */
1916
+ chunkOptimization?: boolean;
1904
1917
  };
1905
1918
  /**
1906
1919
  * Configure how the code is transformed. This process happens after the `transform` hook.
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-Vl5SnJ_J.mjs";
1
+ import { t as rolldown } from "./rolldown-8m9pjMU2.mjs";
2
2
  import path from "node:path";
3
3
  import { readdir } from "node:fs/promises";
4
4
  import { pathToFileURL } from "node:url";
@@ -32,7 +32,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
32
32
 
33
33
  //#endregion
34
34
  //#region package.json
35
- var version = "1.0.0-beta.58";
35
+ var version = "1.0.0-beta.59";
36
36
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
37
37
 
38
38
  //#endregion
@@ -191,7 +191,7 @@ function bindingAssetSource(source) {
191
191
  }
192
192
 
193
193
  //#endregion
194
- //#region \0@oxc-project+runtime@0.106.0/helpers/decorate.js
194
+ //#region \0@oxc-project+runtime@0.107.0/helpers/decorate.js
195
195
  function __decorate(decorators, target, key, desc) {
196
196
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
197
197
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1,7 +1,7 @@
1
1
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./logs-DEfpOy5A.mjs";
2
2
  import { parse, parseSync } from "../rolldown-binding.wasi.cjs";
3
3
 
4
- //#region ../../node_modules/.pnpm/oxc-parser@0.106.0/node_modules/oxc-parser/src-js/wrap.js
4
+ //#region ../../node_modules/.pnpm/oxc-parser@0.107.0/node_modules/oxc-parser/src-js/wrap.js
5
5
  function wrap$1(result) {
6
6
  let program, module, comments, errors;
7
7
  return {
@@ -1,4 +1,4 @@
1
- import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-7kWB1jqY.mjs";
1
+ import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-DKF_S8hw.mjs";
2
2
 
3
3
  //#region src/api/rolldown/index.ts
4
4
  /** @category Programmatic APIs */
@@ -1,7 +1,7 @@
1
1
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-DEfpOy5A.mjs";
2
2
  import { i as unimplemented } from "./misc-BubmxcE3.mjs";
3
- import { C as LOG_LEVEL_DEBUG, D as logLevelPriority, E as LOG_LEVEL_WARN, S as normalizeLog, T as LOG_LEVEL_INFO, _ as PlainObjectLike, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, n as BuiltinPlugin, p as __decorate, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_ERROR, y as VERSION } from "./normalize-string-or-regex-CIiT1lMg.mjs";
4
- import { c as normalizeHook, i as transformModuleInfo, s as unwrapBindingResult, t as bindingifyInputOptions } from "./bindingify-input-options--qcSYuhh.mjs";
3
+ import { C as LOG_LEVEL_DEBUG, D as logLevelPriority, E as LOG_LEVEL_WARN, S as normalizeLog, T as LOG_LEVEL_INFO, _ as PlainObjectLike, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, n as BuiltinPlugin, p as __decorate, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_ERROR, y as VERSION } from "./normalize-string-or-regex-DJ5EwPtg.mjs";
4
+ import { c as normalizeHook, i as transformModuleInfo, s as unwrapBindingResult, t as bindingifyInputOptions } from "./bindingify-input-options-BTd8uAdf.mjs";
5
5
  import { Worker } from "node:worker_threads";
6
6
  import { BindingBundler, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
7
7
  import path from "node:path";
@@ -1741,7 +1741,8 @@ const InputOptionsSchema = strictObject({
1741
1741
  baseUrl: optional(string()),
1742
1742
  fileName: optional(string())
1743
1743
  })])),
1744
- nativeMagicString: optional(boolean())
1744
+ nativeMagicString: optional(boolean()),
1745
+ chunkOptimization: optional(boolean())
1745
1746
  })),
1746
1747
  transform: optional(TransformOptionsSchema),
1747
1748
  watch: optional(union([WatchOptionsSchema, literal(false)])),
@@ -1,8 +1,8 @@
1
1
  import { o as logMultiplyNotifyOption } from "./logs-DEfpOy5A.mjs";
2
2
  import { t as arraify } from "./misc-BubmxcE3.mjs";
3
- import { E as LOG_LEVEL_WARN } from "./normalize-string-or-regex-CIiT1lMg.mjs";
4
- import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-7kWB1jqY.mjs";
5
- import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options--qcSYuhh.mjs";
3
+ import { E as LOG_LEVEL_WARN } from "./normalize-string-or-regex-DJ5EwPtg.mjs";
4
+ import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-DKF_S8hw.mjs";
5
+ import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options-BTd8uAdf.mjs";
6
6
  import { BindingWatcher, shutdownAsyncRuntime } from "../rolldown-binding.wasi.cjs";
7
7
 
8
8
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolldown/browser",
3
- "version": "1.0.0-beta.58",
3
+ "version": "1.0.0-beta.59",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "keywords": [
6
6
  "bundler",