@rolldown/browser 1.0.0-beta.26-commit.ce29359 → 1.0.0-beta.26-commit.e5d5666

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 (39) hide show
  1. package/dist/cli.cjs +5 -5
  2. package/dist/cli.mjs +5 -5
  3. package/dist/config.cjs +3 -3
  4. package/dist/config.d.cts +2 -2
  5. package/dist/config.d.mts +2 -2
  6. package/dist/config.mjs +3 -3
  7. package/dist/experimental-index.browser.mjs +1 -1
  8. package/dist/experimental-index.cjs +2 -2
  9. package/dist/experimental-index.d.cts +2 -2
  10. package/dist/experimental-index.d.mts +2 -2
  11. package/dist/experimental-index.mjs +2 -2
  12. package/dist/filter-index.d.cts +2 -2
  13. package/dist/filter-index.d.mts +2 -2
  14. package/dist/index.browser.mjs +1 -1
  15. package/dist/index.cjs +2 -2
  16. package/dist/index.d.cts +2 -2
  17. package/dist/index.d.mts +2 -2
  18. package/dist/index.mjs +2 -2
  19. package/dist/parallel-plugin-worker.cjs +2 -2
  20. package/dist/parallel-plugin-worker.mjs +2 -2
  21. package/dist/parallel-plugin.d.cts +2 -2
  22. package/dist/parallel-plugin.d.mts +2 -2
  23. package/dist/parse-ast-index.cjs +1 -1
  24. package/dist/parse-ast-index.d.cts +1 -1
  25. package/dist/parse-ast-index.d.mts +1 -1
  26. package/dist/parse-ast-index.mjs +1 -1
  27. package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
  28. package/dist/shared/{binding-B9-3a5q4.d.cts → binding-CCU51T2Z.d.mts} +88 -4
  29. package/dist/shared/{binding-DQYRWAqj.d.mts → binding-Drc5ua4y.d.cts} +88 -4
  30. package/dist/shared/{define-config-BtEiHmBk.d.mts → define-config-BR48x-Ul.d.mts} +1 -1
  31. package/dist/shared/{define-config-ZN70csxk.d.cts → define-config-DarysRyQ.d.cts} +1 -1
  32. package/dist/shared/{load-config-B1natnW1.mjs → load-config-CS-d4xrw.mjs} +1 -1
  33. package/dist/shared/{load-config-CljKtk2X.cjs → load-config-Ci-6lrRF.cjs} +1 -1
  34. package/dist/shared/{parse-ast-index-80TSV2Ni.cjs → parse-ast-index-DnpPfWeq.cjs} +1 -1
  35. package/dist/shared/{parse-ast-index-Bo5jcF9A.mjs → parse-ast-index-Unr-JnKv.mjs} +1 -1
  36. package/dist/shared/{src-DqKnSNa2.cjs → src-Cqx7UOrh.cjs} +2 -2
  37. package/dist/shared/{src-QLswhVWj.mjs → src-DS2ne1Xx.mjs} +2 -2
  38. package/dist/{src-CvB7ZObP.js → src-JI1XClDg.js} +2 -2
  39. package/package.json +2 -2
package/dist/cli.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-DqKnSNa2.cjs');
2
+ const require_src = require('./shared/src-Cqx7UOrh.cjs');
3
3
  const require_dist = require('./shared/dist-BVAp8sOm.cjs');
4
- require('./shared/parse-ast-index-80TSV2Ni.cjs');
5
- const require_load_config = require('./shared/load-config-CljKtk2X.cjs');
4
+ require('./shared/parse-ast-index-DnpPfWeq.cjs');
5
+ const require_load_config = require('./shared/load-config-Ci-6lrRF.cjs');
6
6
  const node_path = require_chunk.__toESM(require("node:path"));
7
7
  const node_process = require_chunk.__toESM(require("node:process"));
8
8
  const node_util = require_chunk.__toESM(require("node:util"));
@@ -1423,8 +1423,8 @@ const process$2 = globalThis.process;
1423
1423
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
1424
1424
 
1425
1425
  //#endregion
1426
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.76.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1427
- var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.76.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1426
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1427
+ var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1428
1428
  function _usingCtx() {
1429
1429
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1430
1430
  var n$2 = Error();
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { __commonJS, __toESM, ansis_default, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-QLswhVWj.mjs";
1
+ import { __commonJS, __toESM, ansis_default, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-DS2ne1Xx.mjs";
2
2
  import { arraify } from "./shared/dist-DvBwroyk.mjs";
3
- import "./shared/parse-ast-index-Bo5jcF9A.mjs";
4
- import { loadConfig } from "./shared/load-config-B1natnW1.mjs";
3
+ import "./shared/parse-ast-index-Unr-JnKv.mjs";
4
+ import { loadConfig } from "./shared/load-config-CS-d4xrw.mjs";
5
5
  import path, { sep } from "node:path";
6
6
  import process$1 from "node:process";
7
7
  import { formatWithOptions, parseArgs } from "node:util";
@@ -1422,8 +1422,8 @@ const process$2 = globalThis.process;
1422
1422
  const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
1423
1423
 
1424
1424
  //#endregion
1425
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.76.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1426
- var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.76.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1425
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
1426
+ var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
1427
1427
  function _usingCtx() {
1428
1428
  var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
1429
1429
  var n$2 = Error();
package/dist/config.cjs CHANGED
@@ -1,7 +1,7 @@
1
- const require_src = require('./shared/src-DqKnSNa2.cjs');
1
+ const require_src = require('./shared/src-Cqx7UOrh.cjs');
2
2
  require('./shared/dist-BVAp8sOm.cjs');
3
- require('./shared/parse-ast-index-80TSV2Ni.cjs');
4
- const require_load_config = require('./shared/load-config-CljKtk2X.cjs');
3
+ require('./shared/parse-ast-index-DnpPfWeq.cjs');
4
+ const require_load_config = require('./shared/load-config-Ci-6lrRF.cjs');
5
5
 
6
6
  //#region src/config.ts
7
7
  const VERSION = require_src.version;
package/dist/config.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import "./shared/binding-B9-3a5q4.cjs";
2
- import { ConfigExport, defineConfig } from "./shared/define-config-ZN70csxk.cjs";
1
+ import "./shared/binding-Drc5ua4y.cjs";
2
+ import { ConfigExport, defineConfig } from "./shared/define-config-DarysRyQ.cjs";
3
3
 
4
4
  //#region src/utils/load-config.d.ts
5
5
  declare function loadConfig(configPath: string): Promise<ConfigExport>;
package/dist/config.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import "./shared/binding-DQYRWAqj.mjs";
2
- import { ConfigExport, defineConfig } from "./shared/define-config-BtEiHmBk.mjs";
1
+ import "./shared/binding-CCU51T2Z.mjs";
2
+ import { ConfigExport, defineConfig } from "./shared/define-config-BR48x-Ul.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 { defineConfig, version } from "./shared/src-QLswhVWj.mjs";
1
+ import { defineConfig, version } from "./shared/src-DS2ne1Xx.mjs";
2
2
  import "./shared/dist-DvBwroyk.mjs";
3
- import "./shared/parse-ast-index-Bo5jcF9A.mjs";
4
- import { loadConfig } from "./shared/load-config-B1natnW1.mjs";
3
+ import "./shared/parse-ast-index-Unr-JnKv.mjs";
4
+ import { loadConfig } from "./shared/load-config-CS-d4xrw.mjs";
5
5
 
6
6
  //#region src/config.ts
7
7
  const VERSION = version;
@@ -1,4 +1,4 @@
1
- import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./src-CvB7ZObP.js";
1
+ import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./src-JI1XClDg.js";
2
2
  import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi-browser.js";
3
3
 
4
4
  //#region src/api/experimental.ts
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-DqKnSNa2.cjs');
2
+ const require_src = require('./shared/src-Cqx7UOrh.cjs');
3
3
  require('./shared/dist-BVAp8sOm.cjs');
4
- require('./shared/parse-ast-index-80TSV2Ni.cjs');
4
+ require('./shared/parse-ast-index-DnpPfWeq.cjs');
5
5
  const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
6
6
  const node_url = require_chunk.__toESM(require("node:url"));
7
7
 
@@ -1,5 +1,5 @@
1
- import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-B9-3a5q4.cjs";
2
- import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-ZN70csxk.cjs";
1
+ import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-Drc5ua4y.cjs";
2
+ import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-DarysRyQ.cjs";
3
3
 
4
4
  //#region src/api/experimental.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
- import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-DQYRWAqj.mjs";
2
- import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-BtEiHmBk.mjs";
1
+ import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-CCU51T2Z.mjs";
2
+ import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-BR48x-Ul.mjs";
3
3
 
4
4
  //#region src/api/experimental.d.ts
5
5
 
@@ -1,6 +1,6 @@
1
- import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-QLswhVWj.mjs";
1
+ import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-DS2ne1Xx.mjs";
2
2
  import "./shared/dist-DvBwroyk.mjs";
3
- import "./shared/parse-ast-index-Bo5jcF9A.mjs";
3
+ import "./shared/parse-ast-index-Unr-JnKv.mjs";
4
4
  import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
5
5
  import { pathToFileURL } from "node:url";
6
6
 
@@ -1,4 +1,4 @@
1
- import "./shared/binding-B9-3a5q4.cjs";
2
- import { withFilter } from "./shared/define-config-ZN70csxk.cjs";
1
+ import "./shared/binding-Drc5ua4y.cjs";
2
+ import { withFilter } from "./shared/define-config-DarysRyQ.cjs";
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 };
@@ -1,4 +1,4 @@
1
- import "./shared/binding-DQYRWAqj.mjs";
2
- import { withFilter } from "./shared/define-config-BtEiHmBk.mjs";
1
+ import "./shared/binding-CCU51T2Z.mjs";
2
+ import { withFilter } from "./shared/define-config-BR48x-Ul.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 };
@@ -1,3 +1,3 @@
1
- import { VERSION, build, defineConfig, rolldown, watch } from "./src-CvB7ZObP.js";
1
+ import { VERSION, build, defineConfig, rolldown, watch } from "./src-JI1XClDg.js";
2
2
 
3
3
  export { VERSION, build, defineConfig, rolldown, watch };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
- const require_src = require('./shared/src-DqKnSNa2.cjs');
1
+ const require_src = require('./shared/src-Cqx7UOrh.cjs');
2
2
  require('./shared/dist-BVAp8sOm.cjs');
3
- require('./shared/parse-ast-index-80TSV2Ni.cjs');
3
+ require('./shared/parse-ast-index-DnpPfWeq.cjs');
4
4
 
5
5
  exports.VERSION = require_src.VERSION;
6
6
  exports.build = require_src.build;
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { PreRenderedChunk } from "./shared/binding-B9-3a5q4.cjs";
2
- import { AddonFunction, AsyncPluginHooks, 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, 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-ZN70csxk.cjs";
1
+ import { PreRenderedChunk } from "./shared/binding-Drc5ua4y.cjs";
2
+ import { AddonFunction, AsyncPluginHooks, 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, 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-DarysRyQ.cjs";
3
3
  export { AddonFunction, AsyncPluginHooks, 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, RolldownOptions, 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.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { PreRenderedChunk } from "./shared/binding-DQYRWAqj.mjs";
2
- import { AddonFunction, AsyncPluginHooks, 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, 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-BtEiHmBk.mjs";
1
+ import { PreRenderedChunk } from "./shared/binding-CCU51T2Z.mjs";
2
+ import { AddonFunction, AsyncPluginHooks, 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, 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-BR48x-Ul.mjs";
3
3
  export { AddonFunction, AsyncPluginHooks, 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, RolldownOptions, 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 { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-QLswhVWj.mjs";
1
+ import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-DS2ne1Xx.mjs";
2
2
  import "./shared/dist-DvBwroyk.mjs";
3
- import "./shared/parse-ast-index-Bo5jcF9A.mjs";
3
+ import "./shared/parse-ast-index-Unr-JnKv.mjs";
4
4
 
5
5
  export { VERSION, build, defineConfig, rolldown, watch };
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
2
- const require_src = require('./shared/src-DqKnSNa2.cjs');
2
+ const require_src = require('./shared/src-Cqx7UOrh.cjs');
3
3
  require('./shared/dist-BVAp8sOm.cjs');
4
- require('./shared/parse-ast-index-80TSV2Ni.cjs');
4
+ require('./shared/parse-ast-index-DnpPfWeq.cjs');
5
5
  const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
6
6
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
7
7
 
@@ -1,6 +1,6 @@
1
- import { PluginContextData, bindingifyPlugin } from "./shared/src-QLswhVWj.mjs";
1
+ import { PluginContextData, bindingifyPlugin } from "./shared/src-DS2ne1Xx.mjs";
2
2
  import "./shared/dist-DvBwroyk.mjs";
3
- import "./shared/parse-ast-index-Bo5jcF9A.mjs";
3
+ import "./shared/parse-ast-index-Unr-JnKv.mjs";
4
4
  import { registerPlugins } from "./rolldown-binding.wasi.cjs";
5
5
  import { parentPort, workerData } from "node:worker_threads";
6
6
 
@@ -1,5 +1,5 @@
1
- import "./shared/binding-B9-3a5q4.cjs";
2
- import { MaybePromise, Plugin } from "./shared/define-config-ZN70csxk.cjs";
1
+ import "./shared/binding-Drc5ua4y.cjs";
2
+ import { MaybePromise, Plugin } from "./shared/define-config-DarysRyQ.cjs";
3
3
 
4
4
  //#region src/plugin/parallel-plugin-implementation.d.ts
5
5
  type ParallelPluginImplementation = Plugin;
@@ -1,5 +1,5 @@
1
- import "./shared/binding-DQYRWAqj.mjs";
2
- import { MaybePromise, Plugin } from "./shared/define-config-BtEiHmBk.mjs";
1
+ import "./shared/binding-CCU51T2Z.mjs";
2
+ import { MaybePromise, Plugin } from "./shared/define-config-BR48x-Ul.mjs";
3
3
 
4
4
  //#region src/plugin/parallel-plugin-implementation.d.ts
5
5
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- const require_parse_ast_index = require('./shared/parse-ast-index-80TSV2Ni.cjs');
1
+ const require_parse_ast_index = require('./shared/parse-ast-index-DnpPfWeq.cjs');
2
2
 
3
3
  exports.parseAst = require_parse_ast_index.parseAst;
4
4
  exports.parseAstAsync = require_parse_ast_index.parseAstAsync;
@@ -1,4 +1,4 @@
1
- import { ParseResult, ParserOptions } from "./shared/binding-B9-3a5q4.cjs";
1
+ import { ParseResult, ParserOptions } from "./shared/binding-Drc5ua4y.cjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
 
4
4
  //#region src/parse-ast-index.d.ts
@@ -1,4 +1,4 @@
1
- import { ParseResult, ParserOptions } from "./shared/binding-DQYRWAqj.mjs";
1
+ import { ParseResult, ParserOptions } from "./shared/binding-CCU51T2Z.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-Bo5jcF9A.mjs";
1
+ import { parseAst, parseAstAsync } from "./shared/parse-ast-index-Unr-JnKv.mjs";
2
2
 
3
3
  export { parseAst, parseAstAsync };
@@ -105,8 +105,8 @@ type ImportNameKind = /** `import { x } from "mod"` */
105
105
  */
106
106
 
107
107
  interface ParserOptions {
108
- /** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
109
- lang?: 'js' | 'jsx' | 'ts' | 'tsx';
108
+ /** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */
109
+ lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
110
110
  /** Treat the source text as `script` or `module` code. */
111
111
  sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
112
112
  /**
@@ -769,6 +769,9 @@ interface ModuleRunnerTransformResult {
769
769
  */
770
770
  errors: Array<OxcError>;
771
771
  }
772
+ interface PluginsOptions {
773
+ styledComponents?: StyledComponentsOptions;
774
+ }
772
775
  interface ReactRefreshOptions {
773
776
  /**
774
777
  * Specify the identifier of the refresh registration variable.
@@ -785,6 +788,85 @@ interface ReactRefreshOptions {
785
788
  emitFullSignatures?: boolean;
786
789
  }
787
790
 
791
+ /**
792
+ * Configure how styled-components are transformed.
793
+ *
794
+ * @see {@link https://styled-components.com/docs/tooling#babel-plugin}
795
+ */
796
+ interface StyledComponentsOptions {
797
+ /**
798
+ * Enhances the attached CSS class name on each component with richer output to help
799
+ * identify your components in the DOM without React DevTools.
800
+ *
801
+ * @default true
802
+ */
803
+ displayName?: boolean;
804
+ /**
805
+ * Controls whether the `displayName` of a component will be prefixed with the filename
806
+ * to make the component name as unique as possible.
807
+ *
808
+ * @default true
809
+ */
810
+ fileName?: boolean;
811
+ /**
812
+ * Adds a unique identifier to every styled component to avoid checksum mismatches
813
+ * due to different class generation on the client and server during server-side rendering.
814
+ *
815
+ * @default true
816
+ */
817
+ ssr?: boolean;
818
+ /**
819
+ * Transpiles styled-components tagged template literals to a smaller representation
820
+ * than what Babel normally creates, helping to reduce bundle size.
821
+ *
822
+ * @default true
823
+ */
824
+ transpileTemplateLiterals?: boolean;
825
+ /**
826
+ * Minifies CSS content by removing all whitespace and comments from your CSS,
827
+ * keeping valuable bytes out of your bundles.
828
+ *
829
+ * @default true
830
+ */
831
+ minify?: boolean;
832
+ /**
833
+ * Enables transformation of JSX `css` prop when using styled-components.
834
+ *
835
+ * **Note: This feature is not yet implemented in oxc.**
836
+ *
837
+ * @default true
838
+ */
839
+ cssProp?: boolean;
840
+ /**
841
+ * Enables "pure annotation" to aid dead code elimination by bundlers.
842
+ *
843
+ * @default false
844
+ */
845
+ pure?: boolean;
846
+ /**
847
+ * Adds a namespace prefix to component identifiers to ensure class names are unique.
848
+ *
849
+ * Example: With `namespace: "my-app"`, generates `componentId: "my-app__sc-3rfj0a-1"`
850
+ */
851
+ namespace?: string;
852
+ /**
853
+ * List of file names that are considered meaningless for component naming purposes.
854
+ *
855
+ * When the `fileName` option is enabled and a component is in a file with a name
856
+ * from this list, the directory name will be used instead of the file name for
857
+ * the component's display name.
858
+ *
859
+ * @default ["index"]
860
+ */
861
+ meaninglessFileNames?: Array<string>;
862
+ /**
863
+ * Import paths to be considered as styled-components imports at the top level.
864
+ *
865
+ * **Note: This feature is not yet implemented in oxc.**
866
+ */
867
+ topLevelImportPaths?: Array<string>;
868
+ }
869
+
788
870
  /**
789
871
  * Transpile a JavaScript or TypeScript into a target ECMAScript version.
790
872
  *
@@ -805,8 +887,8 @@ declare function transform(filename: string, sourceText: string, options?: Trans
805
887
  * @see {@link transform}
806
888
  */
807
889
  interface TransformOptions {
808
- /** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
809
- lang?: 'js' | 'jsx' | 'ts' | 'tsx';
890
+ /** Treat the source text as `js`, `jsx`, `ts`, `tsx`, or `dts`. */
891
+ lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
810
892
  /** Treat the source text as `script` or `module` code. */
811
893
  sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
812
894
  /**
@@ -853,6 +935,8 @@ interface TransformOptions {
853
935
  inject?: Record<string, string | [string, string]>;
854
936
  /** Decorator plugin */
855
937
  decorator?: DecoratorOptions;
938
+ /** Third-party plugins to use. */
939
+ plugins?: PluginsOptions;
856
940
  }
857
941
  interface TransformResult {
858
942
  /**
@@ -105,8 +105,8 @@ type ImportNameKind = /** `import { x } from "mod"` */
105
105
  */
106
106
 
107
107
  interface ParserOptions {
108
- /** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
109
- lang?: 'js' | 'jsx' | 'ts' | 'tsx';
108
+ /** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */
109
+ lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
110
110
  /** Treat the source text as `script` or `module` code. */
111
111
  sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
112
112
  /**
@@ -769,6 +769,9 @@ interface ModuleRunnerTransformResult {
769
769
  */
770
770
  errors: Array<OxcError>;
771
771
  }
772
+ interface PluginsOptions {
773
+ styledComponents?: StyledComponentsOptions;
774
+ }
772
775
  interface ReactRefreshOptions {
773
776
  /**
774
777
  * Specify the identifier of the refresh registration variable.
@@ -785,6 +788,85 @@ interface ReactRefreshOptions {
785
788
  emitFullSignatures?: boolean;
786
789
  }
787
790
 
791
+ /**
792
+ * Configure how styled-components are transformed.
793
+ *
794
+ * @see {@link https://styled-components.com/docs/tooling#babel-plugin}
795
+ */
796
+ interface StyledComponentsOptions {
797
+ /**
798
+ * Enhances the attached CSS class name on each component with richer output to help
799
+ * identify your components in the DOM without React DevTools.
800
+ *
801
+ * @default true
802
+ */
803
+ displayName?: boolean;
804
+ /**
805
+ * Controls whether the `displayName` of a component will be prefixed with the filename
806
+ * to make the component name as unique as possible.
807
+ *
808
+ * @default true
809
+ */
810
+ fileName?: boolean;
811
+ /**
812
+ * Adds a unique identifier to every styled component to avoid checksum mismatches
813
+ * due to different class generation on the client and server during server-side rendering.
814
+ *
815
+ * @default true
816
+ */
817
+ ssr?: boolean;
818
+ /**
819
+ * Transpiles styled-components tagged template literals to a smaller representation
820
+ * than what Babel normally creates, helping to reduce bundle size.
821
+ *
822
+ * @default true
823
+ */
824
+ transpileTemplateLiterals?: boolean;
825
+ /**
826
+ * Minifies CSS content by removing all whitespace and comments from your CSS,
827
+ * keeping valuable bytes out of your bundles.
828
+ *
829
+ * @default true
830
+ */
831
+ minify?: boolean;
832
+ /**
833
+ * Enables transformation of JSX `css` prop when using styled-components.
834
+ *
835
+ * **Note: This feature is not yet implemented in oxc.**
836
+ *
837
+ * @default true
838
+ */
839
+ cssProp?: boolean;
840
+ /**
841
+ * Enables "pure annotation" to aid dead code elimination by bundlers.
842
+ *
843
+ * @default false
844
+ */
845
+ pure?: boolean;
846
+ /**
847
+ * Adds a namespace prefix to component identifiers to ensure class names are unique.
848
+ *
849
+ * Example: With `namespace: "my-app"`, generates `componentId: "my-app__sc-3rfj0a-1"`
850
+ */
851
+ namespace?: string;
852
+ /**
853
+ * List of file names that are considered meaningless for component naming purposes.
854
+ *
855
+ * When the `fileName` option is enabled and a component is in a file with a name
856
+ * from this list, the directory name will be used instead of the file name for
857
+ * the component's display name.
858
+ *
859
+ * @default ["index"]
860
+ */
861
+ meaninglessFileNames?: Array<string>;
862
+ /**
863
+ * Import paths to be considered as styled-components imports at the top level.
864
+ *
865
+ * **Note: This feature is not yet implemented in oxc.**
866
+ */
867
+ topLevelImportPaths?: Array<string>;
868
+ }
869
+
788
870
  /**
789
871
  * Transpile a JavaScript or TypeScript into a target ECMAScript version.
790
872
  *
@@ -805,8 +887,8 @@ declare function transform(filename: string, sourceText: string, options?: Trans
805
887
  * @see {@link transform}
806
888
  */
807
889
  interface TransformOptions {
808
- /** Treat the source text as `js`, `jsx`, `ts`, or `tsx`. */
809
- lang?: 'js' | 'jsx' | 'ts' | 'tsx';
890
+ /** Treat the source text as `js`, `jsx`, `ts`, `tsx`, or `dts`. */
891
+ lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
810
892
  /** Treat the source text as `script` or `module` code. */
811
893
  sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
812
894
  /**
@@ -853,6 +935,8 @@ interface TransformOptions {
853
935
  inject?: Record<string, string | [string, string]>;
854
936
  /** Decorator plugin */
855
937
  decorator?: DecoratorOptions;
938
+ /** Third-party plugins to use. */
939
+ plugins?: PluginsOptions;
856
940
  }
857
941
  interface TransformResult {
858
942
  /**
@@ -1,4 +1,4 @@
1
- import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-DQYRWAqj.mjs";
1
+ import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-CCU51T2Z.mjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
  import { TopLevelFilterExpression } from "@rolldown/pluginutils";
4
4
 
@@ -1,4 +1,4 @@
1
- import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-B9-3a5q4.cjs";
1
+ import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-Drc5ua4y.cjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
  import { TopLevelFilterExpression } from "@rolldown/pluginutils";
4
4
 
@@ -1,4 +1,4 @@
1
- import { rolldown } from "./src-QLswhVWj.mjs";
1
+ import { rolldown } from "./src-DS2ne1Xx.mjs";
2
2
  import path from "node:path";
3
3
  import { pathToFileURL } from "node:url";
4
4
  import { cwd } from "node:process";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_src = require('./src-DqKnSNa2.cjs');
2
+ const require_src = require('./src-Cqx7UOrh.cjs');
3
3
  const node_path = require_chunk.__toESM(require("node:path"));
4
4
  const node_url = require_chunk.__toESM(require("node:url"));
5
5
  const node_process = require_chunk.__toESM(require("node:process"));
@@ -187,7 +187,7 @@ function augmentCodeLocation(properties, pos, source, id) {
187
187
  }
188
188
 
189
189
  //#endregion
190
- //#region ../../node_modules/.pnpm/oxc-parser@0.76.0/node_modules/oxc-parser/wrap.mjs
190
+ //#region ../../node_modules/.pnpm/oxc-parser@0.77.0/node_modules/oxc-parser/wrap.mjs
191
191
  function wrap$1(result) {
192
192
  let program, module$1, comments, errors;
193
193
  return {
@@ -186,7 +186,7 @@ function augmentCodeLocation(properties, pos, source, id) {
186
186
  }
187
187
 
188
188
  //#endregion
189
- //#region ../../node_modules/.pnpm/oxc-parser@0.76.0/node_modules/oxc-parser/wrap.mjs
189
+ //#region ../../node_modules/.pnpm/oxc-parser@0.77.0/node_modules/oxc-parser/wrap.mjs
190
190
  function wrap$1(result) {
191
191
  let program, module, comments, errors;
192
192
  return {
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
2
  const require_dist = require('./dist-BVAp8sOm.cjs');
3
- const require_parse_ast_index = require('./parse-ast-index-80TSV2Ni.cjs');
3
+ const require_parse_ast_index = require('./parse-ast-index-DnpPfWeq.cjs');
4
4
  const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("../rolldown-binding.wasi.cjs"));
5
5
  const node_path = require_chunk.__toESM(require("node:path"));
6
6
  const node_url = require_chunk.__toESM(require("node:url"));
@@ -8,7 +8,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
8
8
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
9
9
 
10
10
  //#region package.json
11
- var version = "1.0.0-beta.26-commit.ce29359";
11
+ var version = "1.0.0-beta.26-commit.e5d5666";
12
12
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
 
14
14
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { and, arraify, code, exclude, id, include, moduleType, noop, or, unimplemented, unreachable, unsupported } from "./dist-DvBwroyk.mjs";
2
- import { augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-Bo5jcF9A.mjs";
2
+ import { augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-Unr-JnKv.mjs";
3
3
  import { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, ParallelJsPluginRegistry, shutdownAsyncRuntime, startAsyncRuntime } from "../rolldown-binding.wasi.cjs";
4
4
  import path from "node:path";
5
5
  import { fileURLToPath } from "node:url";
@@ -33,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
 
34
34
  //#endregion
35
35
  //#region package.json
36
- var version = "1.0.0-beta.26-commit.ce29359";
36
+ var version = "1.0.0-beta.26-commit.e5d5666";
37
37
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
38
38
 
39
39
  //#endregion
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
 
28
28
  //#endregion
29
29
  //#region package.json
30
- var version = "1.0.0-beta.26-commit.ce29359";
30
+ var version = "1.0.0-beta.26-commit.e5d5666";
31
31
 
32
32
  //#endregion
33
33
  //#region src/utils/normalize-string-or-regex.ts
@@ -2956,7 +2956,7 @@ function bindingPluginOrder(order) {
2956
2956
  }
2957
2957
 
2958
2958
  //#endregion
2959
- //#region ../../node_modules/.pnpm/oxc-parser@0.76.0/node_modules/oxc-parser/wrap.mjs
2959
+ //#region ../../node_modules/.pnpm/oxc-parser@0.77.0/node_modules/oxc-parser/wrap.mjs
2960
2960
  function wrap$1(result) {
2961
2961
  let program, module$1, comments, errors;
2962
2962
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolldown/browser",
3
- "version": "1.0.0-beta.26-commit.ce29359",
3
+ "version": "1.0.0-beta.26-commit.e5d5666",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "homepage": "https://rolldown.rs/",
6
6
  "type": "module",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@napi-rs/wasm-runtime": "^0.2.10",
59
- "@oxc-project/runtime": "=0.76.0"
59
+ "@oxc-project/runtime": "=0.77.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "pnpm run build:debug",