@rollipop/rolldown 1.0.11 → 1.0.12

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 (33) hide show
  1. package/dist/cli.mjs +6 -6
  2. package/dist/config.d.mts +1 -1
  3. package/dist/config.mjs +2 -2
  4. package/dist/experimental-index.d.mts +4 -4
  5. package/dist/experimental-index.mjs +10 -10
  6. package/dist/filter-index.d.mts +9 -10
  7. package/dist/filter-index.mjs +2 -8
  8. package/dist/index.d.mts +2 -2
  9. package/dist/index.mjs +4 -4
  10. package/dist/parallel-plugin-worker.mjs +2 -2
  11. package/dist/parallel-plugin.d.mts +1 -1
  12. package/dist/parse-ast-index.d.mts +1 -1
  13. package/dist/parse-ast-index.mjs +1 -1
  14. package/dist/plugins-index.d.mts +3 -3
  15. package/dist/plugins-index.mjs +2 -2
  16. package/dist/shared/{binding-B6Fu5YXW.mjs → binding-DJ1x2shg.mjs} +31 -30
  17. package/dist/shared/{binding-DH6N8z26.d.mts → binding-jiExtga6.d.mts} +97 -1
  18. package/dist/shared/{bindingify-input-options-Ce9WlHuS.mjs → bindingify-input-options-_tRHQ_SK.mjs} +17 -9
  19. package/dist/shared/{constructors-DHgqGLqV.d.mts → constructors-BdRC8bw0.d.mts} +2 -2
  20. package/dist/shared/{constructors-D_E20W5z.mjs → constructors-C66YZc9h.mjs} +1 -1
  21. package/dist/shared/{define-config-CeNECOFF.d.mts → define-config-DaDVVe8Q.d.mts} +31 -13
  22. package/dist/shared/{error-BoEXv9Cb.mjs → error-B4nVgJBQ.mjs} +1 -1
  23. package/dist/shared/{load-config-CWccODAN.mjs → load-config-Bl_CqIdv.mjs} +1 -1
  24. package/dist/shared/{normalize-string-or-regex-BJlqEUbv.mjs → normalize-string-or-regex-gejUvANq.mjs} +1 -1
  25. package/dist/shared/{parse-BwK2RuuY.mjs → parse-Dn4O7SLK.mjs} +2 -2
  26. package/dist/shared/{resolve-tsconfig-oH9vGt_I.mjs → resolve-tsconfig-CbOINBwz.mjs} +2 -2
  27. package/dist/shared/{rolldown-DV8d8Uh9.mjs → rolldown-Cs6iFFkX.mjs} +1 -1
  28. package/dist/shared/{rolldown-build-DNVk6IXy.mjs → rolldown-build-BQuFBSl3.mjs} +48 -6
  29. package/dist/shared/{transform-DlM64_VL.d.mts → transform-DCPeJrGN.d.mts} +1 -1
  30. package/dist/shared/{watch-DqWEjdul.mjs → watch-DpUykwMf.mjs} +4 -4
  31. package/dist/utils-index.d.mts +3 -3
  32. package/dist/utils-index.mjs +5 -5
  33. package/package.json +17 -17
package/dist/cli.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { n as onExit, t as watch } from "./shared/watch-DqWEjdul.mjs";
2
- import { C as version, S as description } from "./shared/bindingify-input-options-Ce9WlHuS.mjs";
1
+ import { n as onExit, t as watch } from "./shared/watch-DpUykwMf.mjs";
2
+ import { C as version, S as description } from "./shared/bindingify-input-options-_tRHQ_SK.mjs";
3
3
  import { t as arraify } from "./shared/misc-CoQm4NHO.mjs";
4
- import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-DNVk6IXy.mjs";
5
- import { t as rolldown } from "./shared/rolldown-DV8d8Uh9.mjs";
6
- import { t as loadConfig } from "./shared/load-config-CWccODAN.mjs";
4
+ import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-BQuFBSl3.mjs";
5
+ import { t as rolldown } from "./shared/rolldown-Cs6iFFkX.mjs";
6
+ import { t as loadConfig } from "./shared/load-config-Bl_CqIdv.mjs";
7
7
  import path from "node:path";
8
8
  import process$1 from "node:process";
9
9
  import { performance } from "node:perf_hooks";
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
847
847
  };
848
848
  }
849
849
  //#endregion
850
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/usingCtx.js
850
+ //#region \0@oxc-project+runtime@0.135.0/helpers/esm/usingCtx.js
851
851
  function _usingCtx() {
852
852
  var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
853
853
  var n = Error();
package/dist/config.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { I as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-CeNECOFF.mjs";
1
+ import { I as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-DaDVVe8Q.mjs";
2
2
 
3
3
  //#region src/utils/load-config.d.ts
4
4
  /**
package/dist/config.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { x as VERSION } from "./shared/bindingify-input-options-Ce9WlHuS.mjs";
1
+ import { x as VERSION } from "./shared/bindingify-input-options-_tRHQ_SK.mjs";
2
2
  import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
3
- import { t as loadConfig } from "./shared/load-config-CWccODAN.mjs";
3
+ import { t as loadConfig } from "./shared/load-config-Bl_CqIdv.mjs";
4
4
  export { VERSION, defineConfig, loadConfig };
@@ -1,7 +1,7 @@
1
- import { A as BindingViteTransformPluginConfig, H as ResolveResult, J as isolatedDeclarationSync, N as IsolatedDeclarationsOptions, P as IsolatedDeclarationsResult, R as NapiResolveOptions, T as BindingViteManifestPluginConfig, U as ResolverFactory, Y as moduleRunnerTransform, f as BindingRebuildStrategy, g as BindingRollipopReactRefreshWrapperPluginConfig, h as BindingRollipopReactNativeTransformResult, i as BindingClientHmrUpdate, n as BindingBundleAnalyzerPluginConfig, q as isolatedDeclaration, r as BindingBundleState, v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-DH6N8z26.mjs";
2
- import { Jt as RolldownOutput, P as BuiltinPlugin, Ut as StringOrRegExp, Xt as freeExternalMemory, Z as defineParallelPlugin, ct as NormalizedOutputOptions, l as InputOptions, zt as OutputOptions } from "./shared/define-config-CeNECOFF.mjs";
3
- import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-DlM64_VL.mjs";
4
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DHgqGLqV.mjs";
1
+ import { A as BindingViteTransformPluginConfig, H as ResolveResult, J as isolatedDeclarationSync, N as IsolatedDeclarationsOptions, P as IsolatedDeclarationsResult, R as NapiResolveOptions, T as BindingViteManifestPluginConfig, U as ResolverFactory, Y as moduleRunnerTransform, f as BindingRebuildStrategy, g as BindingRollipopReactRefreshWrapperPluginConfig, h as BindingRollipopReactNativeTransformResult, i as BindingClientHmrUpdate, n as BindingBundleAnalyzerPluginConfig, q as isolatedDeclaration, r as BindingBundleState, v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-jiExtga6.mjs";
2
+ import { Jt as RolldownOutput, P as BuiltinPlugin, Ut as StringOrRegExp, Xt as freeExternalMemory, Z as defineParallelPlugin, ct as NormalizedOutputOptions, l as InputOptions, zt as OutputOptions } from "./shared/define-config-DaDVVe8Q.mjs";
3
+ import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-DCPeJrGN.mjs";
4
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-BdRC8bw0.mjs";
5
5
 
6
6
  //#region src/api/dev/dev-options.d.ts
7
7
  type DevOnHmrUpdates = (result: Error | {
@@ -1,11 +1,11 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-B6Fu5YXW.mjs";
2
- import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-BJlqEUbv.mjs";
3
- import { o as transformToRollupOutput } from "./shared/bindingify-input-options-Ce9WlHuS.mjs";
4
- import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-DNVk6IXy.mjs";
5
- import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-BoEXv9Cb.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-BwK2RuuY.mjs";
7
- import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-D_E20W5z.mjs";
8
- import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-oH9vGt_I.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DJ1x2shg.mjs";
2
+ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-gejUvANq.mjs";
3
+ import { o as transformToRollupOutput } from "./shared/bindingify-input-options-_tRHQ_SK.mjs";
4
+ import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-BQuFBSl3.mjs";
5
+ import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-B4nVgJBQ.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-Dn4O7SLK.mjs";
7
+ import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-C66YZc9h.mjs";
8
+ import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-CbOINBwz.mjs";
9
9
  import { pathToFileURL } from "node:url";
10
10
  //#region src/api/dev/dev-engine.ts
11
11
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -72,13 +72,13 @@ var DevEngine = class DevEngine {
72
72
  return this.#inner.getBundleState();
73
73
  }
74
74
  async ensureLatestBuildOutput() {
75
- await this.#inner.ensureLatestBuildOutput();
75
+ unwrapBindingResult(await this.#inner.ensureLatestBuildOutput());
76
76
  }
77
77
  triggerFullBuild() {
78
78
  this.#inner.triggerFullBuild();
79
79
  }
80
80
  async invalidate(file, firstInvalidatedBy) {
81
- return this.#inner.invalidate(file, firstInvalidatedBy);
81
+ return unwrapBindingResult(await this.#inner.invalidate(file, firstInvalidatedBy));
82
82
  }
83
83
  async registerModules(clientId, modules) {
84
84
  await this.#inner.registerModules(clientId, modules);
@@ -1,6 +1,7 @@
1
- import { N as withFilter } from "./shared/define-config-CeNECOFF.mjs";
1
+ import { N as withFilter } from "./shared/define-config-DaDVVe8Q.mjs";
2
2
 
3
- //#region ../pluginutils/dist/filter/composable-filters.d.ts
3
+ //#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts
4
+ //#region src/filter/composable-filters.d.ts
4
5
  type StringOrRegExp = string | RegExp;
5
6
  type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {});
6
7
  type FilterExpressionKind = FilterExpression['kind'];
@@ -89,9 +90,8 @@ interface InterpreterCtx {
89
90
  urlSearchParamsCache?: URLSearchParams;
90
91
  }
91
92
  declare function interpreterImpl(expr: TopLevelFilterExpression[], code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean;
92
- declare function exprInterpreter(expr: FilterExpression, code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean;
93
- //#endregion
94
- //#region ../pluginutils/dist/filter/filter-vite-plugins.d.ts
93
+ declare function exprInterpreter(expr: FilterExpression, code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean; //#endregion
94
+ //#region src/filter/filter-vite-plugins.d.ts
95
95
  /**
96
96
  * Filters out Vite plugins that have `apply: 'serve'` set.
97
97
  *
@@ -103,7 +103,7 @@ declare function exprInterpreter(expr: FilterExpression, code?: string, id?: str
103
103
  *
104
104
  * @example
105
105
  * ```ts
106
- * import { defineConfig } from '@rollipop/rolldown';
106
+ * import { defineConfig } from 'rolldown';
107
107
  * import { filterVitePlugins } from '@rolldown/pluginutils';
108
108
  * import viteReact from '@vitejs/plugin-react';
109
109
  *
@@ -119,9 +119,8 @@ declare function exprInterpreter(expr: FilterExpression, code?: string, id?: str
119
119
  * });
120
120
  * ```
121
121
  */
122
- declare function filterVitePlugins<T = any>(plugins: T | T[] | null | undefined | false): T[];
123
- //#endregion
124
- //#region ../pluginutils/dist/filter/simple-filters.d.ts
122
+ declare function filterVitePlugins<T = any>(plugins: T | T[] | null | undefined | false): T[]; //#endregion
123
+ //#region src/filter/simple-filters.d.ts
125
124
  /**
126
125
  * Constructs a RegExp that matches the exact string specified.
127
126
  *
@@ -191,6 +190,6 @@ type WidenString<T> = T extends string ? string : T;
191
190
  */
192
191
  declare function makeIdFiltersToMatchWithQuery<T extends string | RegExp>(input: T): WidenString<T>;
193
192
  declare function makeIdFiltersToMatchWithQuery<T extends string | RegExp>(input: readonly T[]): WidenString<T>[];
194
- declare function makeIdFiltersToMatchWithQuery(input: string | RegExp | readonly (string | RegExp)[]): string | RegExp | (string | RegExp)[];
193
+ declare function makeIdFiltersToMatchWithQuery(input: string | RegExp | readonly (string | RegExp)[]): string | RegExp | (string | RegExp)[]; //#endregion
195
194
  //#endregion
196
195
  export { FilterExpression, FilterExpressionKind, QueryFilterObject, TopLevelFilterExpression, and, code, exactRegex, exclude, exprInterpreter, filterVitePlugins, id, importerId, include, interpreter, interpreterImpl, makeIdFiltersToMatchWithQuery, moduleType, not, or, prefixRegex, queries, query, withFilter };
@@ -1,5 +1,5 @@
1
1
  import { n as isPromiseLike, t as arraify } from "./shared/misc-CoQm4NHO.mjs";
2
- //#region ../pluginutils/dist/utils.js
2
+ //#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.1/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs
3
3
  const postfixRE = /[?#].*$/;
4
4
  function cleanUrl(url) {
5
5
  return url.replace(postfixRE, "");
@@ -11,8 +11,6 @@ function extractQueryWithoutFragment(url) {
11
11
  if (fragmentIndex === -1) return url.substring(questionMarkIndex);
12
12
  else return url.substring(questionMarkIndex, fragmentIndex);
13
13
  }
14
- //#endregion
15
- //#region ../pluginutils/dist/filter/composable-filters.js
16
14
  var And = class {
17
15
  kind;
18
16
  args;
@@ -201,8 +199,6 @@ function exprInterpreter(expr, code, id, moduleType, importerId, ctx = {}) {
201
199
  default: throw new Error(`Expression ${JSON.stringify(expr)} is not expected.`);
202
200
  }
203
201
  }
204
- //#endregion
205
- //#region ../pluginutils/dist/filter/filter-vite-plugins.js
206
202
  /**
207
203
  * Filters out Vite plugins that have `apply: 'serve'` set.
208
204
  *
@@ -214,7 +210,7 @@ function exprInterpreter(expr, code, id, moduleType, importerId, ctx = {}) {
214
210
  *
215
211
  * @example
216
212
  * ```ts
217
- * import { defineConfig } from '@rollipop/rolldown';
213
+ * import { defineConfig } from 'rolldown';
218
214
  * import { filterVitePlugins } from '@rolldown/pluginutils';
219
215
  * import viteReact from '@vitejs/plugin-react';
220
216
  *
@@ -257,8 +253,6 @@ function filterVitePlugins(plugins) {
257
253
  }
258
254
  return result;
259
255
  }
260
- //#endregion
261
- //#region ../pluginutils/dist/filter/simple-filters.js
262
256
  /**
263
257
  * Constructs a RegExp that matches the exact string specified.
264
258
  *
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-BSNejiLS.mjs";
2
- import { V as PreRenderedChunk } from "./shared/binding-DH6N8z26.mjs";
3
- import { $ as PluginContextMeta, A as RolldownPluginOption, At as CodeSplittingGroup, B as OutputBundle, Bt as PreRenderedAsset, C as ParallelPluginHooks, Ct as build, D as ResolveIdResult, Dt as BuiltinModuleTag, E as ResolveIdExtraOptions, Et as AdvancedChunksOptions, F as RUNTIME_MODULE_ID, Ft as GeneratedCodePreset, G as EmittedFile, Gt as OutputChunk, H as TransformPluginContext, Ht as PartialNull, I as VERSION, It as GlobalsFunction, J as PluginContext, Jt as RolldownOutput, K as EmittedPrebuiltChunk, Kt as RenderedChunk, L as BundleError, Lt as MinifyOptions, M as TransformResult, Mt as CodeSplittingOptions, Nt as CommentsOptions, O as ResolvedId, Ot as ChunkFileNamesFunction, Pt as GeneratedCodeOptions, Q as MinimalPluginContext, Qt as SourcemapIgnoreListOption, R as ExistingRawSourceMap, Rt as ModuleFormat, S as ObjectHook, St as BuildOptions, T as Plugin, Tt as AdvancedChunksGroup, U as EmittedAsset, V as TreeshakingOptions, W as EmittedChunk, Wt as OutputAsset, X as DefineParallelPluginResult, Y as PluginContextResolveOptions, Yt as SourceMap, Zt as ModuleInfo, _ as HookFilterExtension, _t as RolldownWatcherEvent, a as ChunkOptimizationOptions, at as RolldownFileStats, b as ModuleOptions, bt as rolldown, c as InputOption, ct as NormalizedOutputOptions, d as OptimizationOptions, dt as ChecksOptions, et as GeneralHookFilter, f as WatcherFileWatcherOptions, ft as LoggingFunction, g as FunctionPluginHooks, gt as RolldownWatcher, h as CustomPluginOptions, ht as watch, i as RolldownOptions, it as RolldownDirectoryEntry, j as SourceDescription, jt as CodeSplittingNameFunction, k as RolldownPlugin, kt as ChunkingContext, l as InputOptions, lt as NormalizedInputOptions, m as AsyncPluginHooks, mt as RolldownMagicString, n as RolldownOptionsFunction, nt as ModuleTypeFilter, o as ExternalOption, ot as RolldownFsModule, p as WatcherOptions, pt as WarningHandlerWithDefault, q as GetModuleInfo, qt as RenderedModule, r as defineConfig, rt as BufferEncoding, s as ExternalOptionFunction, st as InternalModuleFormat, t as ConfigExport, tt as HookFilter, u as ModuleTypes, ut as TransformOptions, v as ImportKind, vt as RolldownWatcherWatcherEventMap, w as PartialResolvedId, wt as AddonFunction, x as ModuleType, xt as RolldownBuild, y as LoadResult, yt as WatchOptions, z as SourceMapInput, zt as OutputOptions } from "./shared/define-config-CeNECOFF.mjs";
2
+ import { V as PreRenderedChunk } from "./shared/binding-jiExtga6.mjs";
3
+ import { $ as PluginContextMeta, A as RolldownPluginOption, At as CodeSplittingGroup, B as OutputBundle, Bt as PreRenderedAsset, C as ParallelPluginHooks, Ct as build, D as ResolveIdResult, Dt as BuiltinModuleTag, E as ResolveIdExtraOptions, Et as AdvancedChunksOptions, F as RUNTIME_MODULE_ID, Ft as GeneratedCodePreset, G as EmittedFile, Gt as OutputChunk, H as TransformPluginContext, Ht as PartialNull, I as VERSION, It as GlobalsFunction, J as PluginContext, Jt as RolldownOutput, K as EmittedPrebuiltChunk, Kt as RenderedChunk, L as BundleError, Lt as MinifyOptions, M as TransformResult, Mt as CodeSplittingOptions, Nt as CommentsOptions, O as ResolvedId, Ot as ChunkFileNamesFunction, Pt as GeneratedCodeOptions, Q as MinimalPluginContext, Qt as SourcemapIgnoreListOption, R as ExistingRawSourceMap, Rt as ModuleFormat, S as ObjectHook, St as BuildOptions, T as Plugin, Tt as AdvancedChunksGroup, U as EmittedAsset, V as TreeshakingOptions, W as EmittedChunk, Wt as OutputAsset, X as DefineParallelPluginResult, Y as PluginContextResolveOptions, Yt as SourceMap, Zt as ModuleInfo, _ as HookFilterExtension, _t as RolldownWatcherEvent, a as ChunkOptimizationOptions, at as RolldownFileStats, b as ModuleOptions, bt as rolldown, c as InputOption, ct as NormalizedOutputOptions, d as OptimizationOptions, dt as ChecksOptions, et as GeneralHookFilter, f as WatcherFileWatcherOptions, ft as LoggingFunction, g as FunctionPluginHooks, gt as RolldownWatcher, h as CustomPluginOptions, ht as watch, i as RolldownOptions, it as RolldownDirectoryEntry, j as SourceDescription, jt as CodeSplittingNameFunction, k as RolldownPlugin, kt as ChunkingContext, l as InputOptions, lt as NormalizedInputOptions, m as AsyncPluginHooks, mt as RolldownMagicString, n as RolldownOptionsFunction, nt as ModuleTypeFilter, o as ExternalOption, ot as RolldownFsModule, p as WatcherOptions, pt as WarningHandlerWithDefault, q as GetModuleInfo, qt as RenderedModule, r as defineConfig, rt as BufferEncoding, s as ExternalOptionFunction, st as InternalModuleFormat, t as ConfigExport, tt as HookFilter, u as ModuleTypes, ut as TransformOptions, v as ImportKind, vt as RolldownWatcherWatcherEventMap, w as PartialResolvedId, wt as AddonFunction, x as ModuleType, xt as RolldownBuild, y as LoadResult, yt as WatchOptions, z as SourceMapInput, zt as OutputOptions } from "./shared/define-config-DaDVVe8Q.mjs";
4
4
  export { type AddonFunction, type AdvancedChunksGroup, type AdvancedChunksOptions, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, type BuiltinModuleTag, type BundleError, type ChecksOptions, type ChunkFileNamesFunction, type ChunkOptimizationOptions, type ChunkingContext, type CodeSplittingGroup, type CodeSplittingNameFunction, type CodeSplittingOptions, type CommentsOptions, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedChunk, type EmittedFile, type EmittedPrebuiltChunk, type ExistingRawSourceMap, type ExternalOption, type ExternalOptionFunction, type FunctionPluginHooks, type GeneralHookFilter, type GeneratedCodeOptions, type GeneratedCodePreset, 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, 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 PluginContextResolveOptions, type PreRenderedAsset, type PreRenderedChunk, RUNTIME_MODULE_ID, type RenderedChunk, type RenderedModule, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownError, type RolldownError as RollupError, type RolldownFileStats, type RolldownFsModule, type RolldownLog, type RolldownLog as RollupLog, type RolldownLogWithString, type RolldownLogWithString as RollupLogWithString, RolldownMagicString, type RolldownOptions, type RolldownOptionsFunction, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RolldownWatcherWatcherEventMap, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, type TransformOptions, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherFileWatcherOptions, type WatcherOptions, build, defineConfig, rolldown, watch };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-B6Fu5YXW.mjs";
2
- import { n as onExit, t as watch } from "./shared/watch-DqWEjdul.mjs";
3
- import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-Ce9WlHuS.mjs";
4
- import { t as rolldown } from "./shared/rolldown-DV8d8Uh9.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DJ1x2shg.mjs";
2
+ import { n as onExit, t as watch } from "./shared/watch-DpUykwMf.mjs";
3
+ import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-_tRHQ_SK.mjs";
4
+ import { t as rolldown } from "./shared/rolldown-Cs6iFFkX.mjs";
5
5
  import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
6
6
  import { isMainThread } from "node:worker_threads";
7
7
  //#region src/setup.ts
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-B6Fu5YXW.mjs";
2
- import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-Ce9WlHuS.mjs";
1
+ import { n as __toESM, t as require_binding } from "./shared/binding-DJ1x2shg.mjs";
2
+ import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-_tRHQ_SK.mjs";
3
3
  import { parentPort, workerData } from "node:worker_threads";
4
4
  //#region src/parallel-plugin-worker.ts
5
5
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,4 +1,4 @@
1
- import { T as Plugin, Vt as MaybePromise } from "./shared/define-config-CeNECOFF.mjs";
1
+ import { T as Plugin, Vt as MaybePromise } from "./shared/define-config-DaDVVe8Q.mjs";
2
2
 
3
3
  //#region src/plugin/parallel-plugin-implementation.d.ts
4
4
  type ParallelPluginImplementation = Plugin;
@@ -1,4 +1,4 @@
1
- import { B as ParserOptions$1, z as ParseResult$1 } from "./shared/binding-DH6N8z26.mjs";
1
+ import { B as ParserOptions$1, z as ParseResult$1 } from "./shared/binding-jiExtga6.mjs";
2
2
  import { Program } from "@oxc-project/types";
3
3
 
4
4
  //#region src/parse-ast-index.d.ts
@@ -1,5 +1,5 @@
1
1
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-aMKUxRpj.mjs";
2
- import { n as parseSync, t as parse } from "./shared/parse-BwK2RuuY.mjs";
2
+ import { n as parseSync, t as parse } from "./shared/parse-Dn4O7SLK.mjs";
3
3
  //#region src/parse-ast-index.ts
4
4
  function wrap(result, filename, sourceText) {
5
5
  if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
@@ -1,6 +1,6 @@
1
- import { m as BindingReplacePluginConfig } from "./shared/binding-DH6N8z26.mjs";
2
- import { P as BuiltinPlugin } from "./shared/define-config-CeNECOFF.mjs";
3
- import { t as esmExternalRequirePlugin } from "./shared/constructors-DHgqGLqV.mjs";
1
+ import { m as BindingReplacePluginConfig } from "./shared/binding-jiExtga6.mjs";
2
+ import { P as BuiltinPlugin } from "./shared/define-config-DaDVVe8Q.mjs";
3
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-BdRC8bw0.mjs";
4
4
 
5
5
  //#region src/builtin-plugin/replace-plugin.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-BJlqEUbv.mjs";
2
- import { t as esmExternalRequirePlugin } from "./shared/constructors-D_E20W5z.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-gejUvANq.mjs";
2
+ import { t as esmExternalRequirePlugin } from "./shared/constructors-C66YZc9h.mjs";
3
3
  //#region src/builtin-plugin/replace-plugin.ts
4
4
  /**
5
5
  * Replaces targeted strings in files while bundling.
@@ -103,7 +103,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
103
103
  try {
104
104
  const binding = __require("@rollipop/rolldown-binding-android-arm64");
105
105
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm64/package.json").version;
106
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
107
  return binding;
108
108
  } catch (e) {
109
109
  loadErrors.push(e);
@@ -117,7 +117,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
117
117
  try {
118
118
  const binding = __require("@rollipop/rolldown-binding-android-arm-eabi");
119
119
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm-eabi/package.json").version;
120
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
121
  return binding;
122
122
  } catch (e) {
123
123
  loadErrors.push(e);
@@ -132,7 +132,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
132
132
  try {
133
133
  const binding = __require("@rollipop/rolldown-binding-win32-x64-gnu");
134
134
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-gnu/package.json").version;
135
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
136
136
  return binding;
137
137
  } catch (e) {
138
138
  loadErrors.push(e);
@@ -146,7 +146,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
146
146
  try {
147
147
  const binding = __require("@rollipop/rolldown-binding-win32-x64-msvc");
148
148
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-msvc/package.json").version;
149
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
150
150
  return binding;
151
151
  } catch (e) {
152
152
  loadErrors.push(e);
@@ -161,7 +161,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
161
161
  try {
162
162
  const binding = __require("@rollipop/rolldown-binding-win32-ia32-msvc");
163
163
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-ia32-msvc/package.json").version;
164
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
165
165
  return binding;
166
166
  } catch (e) {
167
167
  loadErrors.push(e);
@@ -175,7 +175,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
175
175
  try {
176
176
  const binding = __require("@rollipop/rolldown-binding-win32-arm64-msvc");
177
177
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-arm64-msvc/package.json").version;
178
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
178
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
179
179
  return binding;
180
180
  } catch (e) {
181
181
  loadErrors.push(e);
@@ -190,7 +190,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
190
190
  try {
191
191
  const binding = __require("@rollipop/rolldown-binding-darwin-universal");
192
192
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-universal/package.json").version;
193
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
194
  return binding;
195
195
  } catch (e) {
196
196
  loadErrors.push(e);
@@ -204,7 +204,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
204
204
  try {
205
205
  const binding = __require("@rollipop/rolldown-binding-darwin-x64");
206
206
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-x64/package.json").version;
207
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -218,7 +218,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
218
218
  try {
219
219
  const binding = __require("@rollipop/rolldown-binding-darwin-arm64");
220
220
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-arm64/package.json").version;
221
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
222
  return binding;
223
223
  } catch (e) {
224
224
  loadErrors.push(e);
@@ -233,7 +233,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
233
233
  try {
234
234
  const binding = __require("@rollipop/rolldown-binding-freebsd-x64");
235
235
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-x64/package.json").version;
236
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
237
237
  return binding;
238
238
  } catch (e) {
239
239
  loadErrors.push(e);
@@ -247,7 +247,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
247
247
  try {
248
248
  const binding = __require("@rollipop/rolldown-binding-freebsd-arm64");
249
249
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-arm64/package.json").version;
250
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
251
251
  return binding;
252
252
  } catch (e) {
253
253
  loadErrors.push(e);
@@ -262,7 +262,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
262
262
  try {
263
263
  const binding = __require("@rollipop/rolldown-binding-linux-x64-musl");
264
264
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-musl/package.json").version;
265
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
266
266
  return binding;
267
267
  } catch (e) {
268
268
  loadErrors.push(e);
@@ -276,7 +276,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
276
276
  try {
277
277
  const binding = __require("@rollipop/rolldown-binding-linux-x64-gnu");
278
278
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-gnu/package.json").version;
279
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
280
280
  return binding;
281
281
  } catch (e) {
282
282
  loadErrors.push(e);
@@ -291,7 +291,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
291
291
  try {
292
292
  const binding = __require("@rollipop/rolldown-binding-linux-arm64-musl");
293
293
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-musl/package.json").version;
294
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
294
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
295
295
  return binding;
296
296
  } catch (e) {
297
297
  loadErrors.push(e);
@@ -305,7 +305,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
305
305
  try {
306
306
  const binding = __require("@rollipop/rolldown-binding-linux-arm64-gnu");
307
307
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-gnu/package.json").version;
308
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
309
  return binding;
310
310
  } catch (e) {
311
311
  loadErrors.push(e);
@@ -320,7 +320,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
320
320
  try {
321
321
  const binding = __require("@rollipop/rolldown-binding-linux-arm-musleabihf");
322
322
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-musleabihf/package.json").version;
323
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
324
  return binding;
325
325
  } catch (e) {
326
326
  loadErrors.push(e);
@@ -334,7 +334,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
334
334
  try {
335
335
  const binding = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf");
336
336
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf/package.json").version;
337
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
338
338
  return binding;
339
339
  } catch (e) {
340
340
  loadErrors.push(e);
@@ -349,7 +349,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
349
349
  try {
350
350
  const binding = __require("@rollipop/rolldown-binding-linux-loong64-musl");
351
351
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-musl/package.json").version;
352
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
353
353
  return binding;
354
354
  } catch (e) {
355
355
  loadErrors.push(e);
@@ -363,7 +363,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
363
363
  try {
364
364
  const binding = __require("@rollipop/rolldown-binding-linux-loong64-gnu");
365
365
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-gnu/package.json").version;
366
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
366
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
367
367
  return binding;
368
368
  } catch (e) {
369
369
  loadErrors.push(e);
@@ -378,7 +378,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
378
378
  try {
379
379
  const binding = __require("@rollipop/rolldown-binding-linux-riscv64-musl");
380
380
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-musl/package.json").version;
381
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
381
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
382
382
  return binding;
383
383
  } catch (e) {
384
384
  loadErrors.push(e);
@@ -392,7 +392,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
392
392
  try {
393
393
  const binding = __require("@rollipop/rolldown-binding-linux-riscv64-gnu");
394
394
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-gnu/package.json").version;
395
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
396
396
  return binding;
397
397
  } catch (e) {
398
398
  loadErrors.push(e);
@@ -407,7 +407,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
407
407
  try {
408
408
  const binding = __require("@rollipop/rolldown-binding-linux-ppc64-gnu");
409
409
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-ppc64-gnu/package.json").version;
410
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
411
411
  return binding;
412
412
  } catch (e) {
413
413
  loadErrors.push(e);
@@ -421,7 +421,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
421
421
  try {
422
422
  const binding = __require("@rollipop/rolldown-binding-linux-s390x-gnu");
423
423
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-s390x-gnu/package.json").version;
424
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
424
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
425
425
  return binding;
426
426
  } catch (e) {
427
427
  loadErrors.push(e);
@@ -436,7 +436,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
436
436
  try {
437
437
  const binding = __require("@rollipop/rolldown-binding-openharmony-arm64");
438
438
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm64/package.json").version;
439
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
439
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
440
440
  return binding;
441
441
  } catch (e) {
442
442
  loadErrors.push(e);
@@ -450,7 +450,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
450
450
  try {
451
451
  const binding = __require("@rollipop/rolldown-binding-openharmony-x64");
452
452
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-x64/package.json").version;
453
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
453
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
454
454
  return binding;
455
455
  } catch (e) {
456
456
  loadErrors.push(e);
@@ -464,7 +464,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
464
464
  try {
465
465
  const binding = __require("@rollipop/rolldown-binding-openharmony-arm");
466
466
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm/package.json").version;
467
- if (bindingPackageVersion !== "1.0.11" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.11 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
467
+ if (bindingPackageVersion !== "1.0.12" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
468
468
  return binding;
469
469
  } catch (e) {
470
470
  loadErrors.push(e);
@@ -473,20 +473,21 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
473
473
  else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
474
474
  }
475
475
  nativeBinding = requireNative();
476
- if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
476
+ const forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
477
+ if (!nativeBinding || forceWasi) {
477
478
  let wasiBinding = null;
478
479
  let wasiBindingError = null;
479
480
  try {
480
481
  wasiBinding = __require("../rolldown-binding.wasi.cjs");
481
482
  nativeBinding = wasiBinding;
482
483
  } catch (err) {
483
- if (process.env.NAPI_RS_FORCE_WASI) wasiBindingError = err;
484
+ if (forceWasi) wasiBindingError = err;
484
485
  }
485
- if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) try {
486
+ if (!nativeBinding || forceWasi) try {
486
487
  wasiBinding = __require("@rollipop/rolldown-binding-wasm32-wasi");
487
488
  nativeBinding = wasiBinding;
488
489
  } catch (err) {
489
- if (process.env.NAPI_RS_FORCE_WASI) {
490
+ if (forceWasi) {
490
491
  if (!wasiBindingError) wasiBindingError = err;
491
492
  else wasiBindingError.cause = err;
492
493
  loadErrors.push(err);
@@ -37,7 +37,7 @@ interface CompressOptions {
37
37
  *
38
38
  * @default 'esnext'
39
39
  *
40
- * @see [esbuild#target](https://esbuild.github.io/api/#target)
40
+ * @see [oxc#target](https://oxc.rs/docs/guide/usage/transformer/lowering#target)
41
41
  */
42
42
  target?: string | Array<string>;
43
43
  /**
@@ -982,6 +982,94 @@ interface PluginsOptions {
982
982
  styledComponents?: StyledComponentsOptions;
983
983
  taggedTemplateEscape?: boolean;
984
984
  }
985
+ /** Dynamic gating for {@link ReactCompilerOptions#dynamicGating}. */
986
+ interface ReactCompilerDynamicGating {
987
+ /** Module the gating import comes from. */
988
+ source: string;
989
+ }
990
+ /** Static gating for {@link ReactCompilerOptions#gating}. */
991
+ interface ReactCompilerGating {
992
+ /** Module the gating import comes from. */
993
+ source: string;
994
+ /** Imported specifier used as the gate. */
995
+ importSpecifierName: string;
996
+ }
997
+ /**
998
+ * Options for the experimental [React Compiler](https://github.com/facebook/react/pull/36173).
999
+ *
1000
+ * Mirrors the compiler's `PluginOptions`. The deep `environment` configuration
1001
+ * (inference / validation flags) is not surfaced here.
1002
+ *
1003
+ * @see {@link TransformOptions#reactCompiler}
1004
+ */
1005
+ interface ReactCompilerOptions {
1006
+ /**
1007
+ * Which functions to compile.
1008
+ *
1009
+ * @default 'infer'
1010
+ */
1011
+ compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all';
1012
+ /**
1013
+ * What to do when a function cannot be compiled.
1014
+ *
1015
+ * @default 'none'
1016
+ */
1017
+ panicThreshold?: 'none' | 'critical_errors' | 'all_errors';
1018
+ /**
1019
+ * React runtime version target. `17` and `18` require the
1020
+ * `react-compiler-runtime` package; `19` ships the runtime in `react`.
1021
+ *
1022
+ * @default '19'
1023
+ */
1024
+ target?: '17' | '18' | '19';
1025
+ /**
1026
+ * Analyze and report diagnostics only; emit no transformed code.
1027
+ *
1028
+ * @default false
1029
+ */
1030
+ noEmit?: boolean;
1031
+ /**
1032
+ * Compiler output mode.
1033
+ *
1034
+ * @default undefined
1035
+ */
1036
+ outputMode?: 'client' | 'ssr' | 'lint';
1037
+ /**
1038
+ * Compile even functions marked with the `"use no memo"` / `"use no forget"`
1039
+ * opt-out directives.
1040
+ *
1041
+ * @default false
1042
+ */
1043
+ ignoreUseNoForget?: boolean;
1044
+ /**
1045
+ * Treat Flow suppression comments as opt-outs.
1046
+ *
1047
+ * @default true
1048
+ */
1049
+ flowSuppressions?: boolean;
1050
+ /**
1051
+ * Enable `react-native-reanimated` support.
1052
+ *
1053
+ * @default false
1054
+ */
1055
+ enableReanimated?: boolean;
1056
+ /**
1057
+ * Development mode (extra validation / instrumentation).
1058
+ *
1059
+ * @default false
1060
+ */
1061
+ isDev?: boolean;
1062
+ /** Source file name, used for the fast-refresh hash and in diagnostics. */
1063
+ filename?: string;
1064
+ /** ESLint rules whose suppressions opt a function out of compilation. */
1065
+ eslintSuppressionRules?: Array<string>;
1066
+ /** Extra directives that opt a function out of compilation. */
1067
+ customOptOutDirectives?: Array<string>;
1068
+ /** Also emit a gated (feature-flagged) version of each compiled function. */
1069
+ gating?: ReactCompilerGating;
1070
+ /** Dynamically-gated compilation. */
1071
+ dynamicGating?: ReactCompilerDynamicGating;
1072
+ }
985
1073
  interface ReactRefreshOptions {
986
1074
  /**
987
1075
  * Specify the identifier of the refresh registration variable.
@@ -1141,6 +1229,14 @@ interface TransformOptions {
1141
1229
  inject?: Record<string, string | [string, string]>;
1142
1230
  /** Decorator plugin */
1143
1231
  decorator?: DecoratorOptions;
1232
+ /**
1233
+ * Enable the experimental [React Compiler](https://github.com/facebook/react/pull/36173).
1234
+ *
1235
+ * `true` enables it with default options; an object enables it with the
1236
+ * given options; `false` or omitted disables it. When enabled, the compiler
1237
+ * runs as the first transform and memoizes React components and hooks.
1238
+ */
1239
+ reactCompiler?: boolean | ReactCompilerOptions;
1144
1240
  /**
1145
1241
  * Third-party plugins to use.
1146
1242
  * @see {@link https://oxc.rs/docs/guide/usage/transformer/plugins}
@@ -1,14 +1,14 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
2
  import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-aMKUxRpj.mjs";
3
- import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BJlqEUbv.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-gejUvANq.mjs";
4
4
  import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CoQm4NHO.mjs";
5
- import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BoEXv9Cb.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-B4nVgJBQ.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import path from "node:path";
8
- import * as filter from "@rollipop/rolldown-pluginutils";
8
+ import * as filter from "@rolldown/pluginutils";
9
9
  import fsp from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "1.0.11";
11
+ var version = "1.0.12";
12
12
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
  //#endregion
14
14
  //#region src/constants/version.ts
@@ -219,7 +219,7 @@ function bindingAssetSource(source) {
219
219
  return { inner: source };
220
220
  }
221
221
  //#endregion
222
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
222
+ //#region \0@oxc-project+runtime@0.135.0/helpers/esm/decorate.js
223
223
  function __decorate(decorators, target, key, desc) {
224
224
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
225
225
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1192,16 +1192,18 @@ function bindingifyTransform(args) {
1192
1192
  });
1193
1193
  let normalizedCode = void 0;
1194
1194
  let map = ret.map;
1195
+ let mapHandledByNativeChannel = false;
1195
1196
  if (typeof ret.code === "string") normalizedCode = ret.code;
1196
1197
  else if (ret.code instanceof RolldownMagicString) {
1197
1198
  let magicString = ret.code;
1198
1199
  normalizedCode = magicString.toString();
1199
1200
  let fallbackSourcemap = ctx.sendMagicString(magicString);
1200
1201
  if (fallbackSourcemap != void 0) map = fallbackSourcemap;
1202
+ else mapHandledByNativeChannel = true;
1201
1203
  }
1202
1204
  return {
1203
1205
  code: normalizedCode,
1204
- map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, map)) ?? (ret.map === null ? null : void 0),
1206
+ map: bindingifySourcemap(normalizeTransformHookSourcemap(id, code, map)) ?? (mapHandledByNativeChannel || ret.map === null ? null : void 0),
1205
1207
  moduleSideEffects: moduleOption.moduleSideEffects ?? void 0,
1206
1208
  moduleType: ret.moduleType
1207
1209
  };
@@ -1318,7 +1320,10 @@ function bindingifyRenderChunk(args) {
1318
1320
  if (ret.code instanceof RolldownMagicString) {
1319
1321
  const magicString = ret.code;
1320
1322
  const normalizedCode = magicString.toString();
1321
- if (ret.map === null) return { code: normalizedCode };
1323
+ if (ret.map === null) return {
1324
+ code: normalizedCode,
1325
+ map: null
1326
+ };
1322
1327
  if (ret.map === void 0) {
1323
1328
  const generatedMap = magicString.generateMap();
1324
1329
  return {
@@ -1337,7 +1342,10 @@ function bindingifyRenderChunk(args) {
1337
1342
  map: bindingifySourcemap(ret.map)
1338
1343
  };
1339
1344
  }
1340
- if (!ret.map) return { code: ret.code };
1345
+ if (ret.map === null) return {
1346
+ code: ret.code,
1347
+ map: null
1348
+ };
1341
1349
  return {
1342
1350
  code: ret.code,
1343
1351
  map: bindingifySourcemap(ret.map)
@@ -1,5 +1,5 @@
1
- import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DH6N8z26.mjs";
2
- import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-CeNECOFF.mjs";
1
+ import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-jiExtga6.mjs";
2
+ import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-DaDVVe8Q.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BJlqEUbv.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-gejUvANq.mjs";
2
2
  //#region src/builtin-plugin/constructors.ts
3
3
  function viteModulePreloadPolyfillPlugin(config) {
4
4
  return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
@@ -1,6 +1,6 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-BSNejiLS.mjs";
2
- import { B as ParserOptions, F as JsxOptions, G as TransformOptions$1, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, j as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString } from "./binding-DH6N8z26.mjs";
3
- import { TopLevelFilterExpression } from "@rollipop/rolldown-pluginutils";
2
+ import { B as ParserOptions, F as JsxOptions, G as TransformOptions$1, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, j as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString } from "./binding-jiExtga6.mjs";
3
+ import { TopLevelFilterExpression } from "@rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
6
  //#region src/types/misc.d.ts
@@ -1155,6 +1155,20 @@ type CodeSplittingGroup = {
1155
1155
  */
1156
1156
  entriesAwareMergeThreshold?: number;
1157
1157
  /**
1158
+ * Whether to include captured modules' dependencies.
1159
+ *
1160
+ * Enabling this option reduces the chance of generating circular chunks.
1161
+ *
1162
+ * If you want to disable this behavior, it's recommended to both set
1163
+ * - {@linkcode InputOptions.preserveEntrySignatures | preserveEntrySignatures}: `false | 'allow-extension'`
1164
+ * - {@linkcode OutputOptions.strictExecutionOrder | strictExecutionOrder}: `true`
1165
+ *
1166
+ * to avoid generating invalid chunks.
1167
+ *
1168
+ * @default true
1169
+ */
1170
+ includeDependenciesRecursively?: boolean;
1171
+ /**
1158
1172
  * Filter modules by tags. Only modules that have **all** specified tags
1159
1173
  * are captured by this group. Combines with `test` and other filters —
1160
1174
  * a module must match all criteria.
@@ -1181,15 +1195,7 @@ type AdvancedChunksGroup = CodeSplittingGroup;
1181
1195
  */
1182
1196
  type CodeSplittingOptions = {
1183
1197
  /**
1184
- * By default, each group will also include captured modules' dependencies. This reduces the chance of generating circular chunks.
1185
- *
1186
- * If you want to disable this behavior, it's recommended to both set
1187
- * - {@linkcode InputOptions.preserveEntrySignatures | preserveEntrySignatures}: `false | 'allow-extension'`
1188
- * - {@linkcode OutputOptions.strictExecutionOrder | strictExecutionOrder}: `true`
1189
- *
1190
- * to avoid generating invalid chunks.
1191
- *
1192
- * @default true
1198
+ * Global fallback of {@linkcode CodeSplittingGroup.includeDependenciesRecursively | group.includeDependenciesRecursively}, if it's not specified in the group.
1193
1199
  */
1194
1200
  includeDependenciesRecursively?: boolean;
1195
1201
  /**
@@ -1296,6 +1302,10 @@ declare class RolldownBuild {
1296
1302
  /**
1297
1303
  * Close the bundle and free resources.
1298
1304
  *
1305
+ * This method should be called even if the {@linkcode generate} method
1306
+ * or the {@linkcode write} method threw an error. It should be called
1307
+ * even if neither of the methods are called.
1308
+ *
1299
1309
  * This method is called automatically when using `using` syntax.
1300
1310
  *
1301
1311
  * @example
@@ -1647,6 +1657,11 @@ interface ChecksOptions {
1647
1657
  * @default true
1648
1658
  * */
1649
1659
  largeBarrelModules?: boolean;
1660
+ /**
1661
+ * Whether to emit warnings when a plugin transforms code without generating a sourcemap.
1662
+ * @default true
1663
+ * */
1664
+ sourcemapBroken?: boolean;
1650
1665
  }
1651
1666
  //#endregion
1652
1667
  //#region src/options/transform-options.d.ts
@@ -3762,8 +3777,11 @@ interface InputOptions {
3762
3777
  * Lazy barrel optimization avoids compiling unused re-export modules in side-effect-free barrel modules,
3763
3778
  * significantly improving build performance for large codebases with many barrel modules.
3764
3779
  *
3780
+ * This option is planned to be removed in the future. If you need to opt out, please open an issue
3781
+ * describing your use case so we can address it before the option is gone.
3782
+ *
3765
3783
  * @see {@link https://rolldown.rs/in-depth/lazy-barrel-optimization | Lazy Barrel Documentation}
3766
- * @default false
3784
+ * @default true
3767
3785
  */
3768
3786
  lazyBarrel?: boolean;
3769
3787
  };
@@ -3813,7 +3831,7 @@ interface InputOptions {
3813
3831
  *
3814
3832
  * When enabled, Rolldown writes JSON-lines devtools output under
3815
3833
  * `node_modules/.rolldown/{session_id}/`. Consumers can parse the output with
3816
- * `@rolldown/debug` after `await bundle.close()` resolves.
3834
+ * `@rollipop/rolldown-debug` after `await bundle.close()` resolves.
3817
3835
  *
3818
3836
  * @experimental
3819
3837
  */
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-B6Fu5YXW.mjs";
1
+ import { t as require_binding } from "./binding-DJ1x2shg.mjs";
2
2
  //#region src/types/sourcemap.ts
3
3
  function bindingifySourcemap(map) {
4
4
  if (map == null) return;
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-DV8d8Uh9.mjs";
1
+ import { t as rolldown } from "./rolldown-Cs6iFFkX.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
2
  import { c as logPluginError, n as error } from "./logs-aMKUxRpj.mjs";
3
3
  //#region src/builtin-plugin/utils.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
2
- //#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
+ //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
4
4
  function wrap(result) {
5
5
  let program, module, comments, errors;
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
2
- import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-BoEXv9Cb.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
+ import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-B4nVgJBQ.mjs";
3
3
  //#region src/utils/minify.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-DNVk6IXy.mjs";
1
+ import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-BQuFBSl3.mjs";
2
2
  //#region src/api/rolldown/index.ts
3
3
  /**
4
4
  * The API compatible with Rollup's `rollup` function.
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
2
  import { i as logInputHookInOutputPlugin, n as error } from "./logs-aMKUxRpj.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-BJlqEUbv.mjs";
4
- import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-Ce9WlHuS.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-gejUvANq.mjs";
4
+ import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-_tRHQ_SK.mjs";
5
5
  import { i as unimplemented } from "./misc-CoQm4NHO.mjs";
6
- import { i as unwrapBindingResult } from "./error-BoEXv9Cb.mjs";
6
+ import { i as unwrapBindingResult } from "./error-B4nVgJBQ.mjs";
7
7
  import { Worker } from "node:worker_threads";
8
8
  import path, { sep } from "node:path";
9
9
  import { formatWithOptions, styleText } from "node:util";
@@ -1471,7 +1471,43 @@ const TransformOptionsSchema = /* @__PURE__ */ object({
1471
1471
  plugins: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ object({
1472
1472
  styledComponents: /* @__PURE__ */ optional(/* @__PURE__ */ any()),
1473
1473
  taggedTemplateEscape: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1474
- })), /* @__PURE__ */ description("Third-party plugins to use"))
1474
+ })), /* @__PURE__ */ description("Third-party plugins to use")),
1475
+ reactCompiler: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ object({
1476
+ compilationMode: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1477
+ /* @__PURE__ */ literal("infer"),
1478
+ /* @__PURE__ */ literal("syntax"),
1479
+ /* @__PURE__ */ literal("annotation"),
1480
+ /* @__PURE__ */ literal("all")
1481
+ ])),
1482
+ panicThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1483
+ /* @__PURE__ */ literal("none"),
1484
+ /* @__PURE__ */ literal("critical_errors"),
1485
+ /* @__PURE__ */ literal("all_errors")
1486
+ ])),
1487
+ target: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1488
+ /* @__PURE__ */ literal("17"),
1489
+ /* @__PURE__ */ literal("18"),
1490
+ /* @__PURE__ */ literal("19")
1491
+ ])),
1492
+ noEmit: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1493
+ outputMode: /* @__PURE__ */ optional(/* @__PURE__ */ union([
1494
+ /* @__PURE__ */ literal("client"),
1495
+ /* @__PURE__ */ literal("ssr"),
1496
+ /* @__PURE__ */ literal("lint")
1497
+ ])),
1498
+ ignoreUseNoForget: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1499
+ flowSuppressions: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1500
+ enableReanimated: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1501
+ isDev: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1502
+ filename: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
1503
+ eslintSuppressionRules: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1504
+ customOptOutDirectives: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1505
+ gating: /* @__PURE__ */ optional(/* @__PURE__ */ object({
1506
+ source: /* @__PURE__ */ string(),
1507
+ importSpecifierName: /* @__PURE__ */ string()
1508
+ })),
1509
+ dynamicGating: /* @__PURE__ */ optional(/* @__PURE__ */ object({ source: /* @__PURE__ */ string() }))
1510
+ })]))
1475
1511
  });
1476
1512
  const WatcherFileWatcherOptionsSchema = /* @__PURE__ */ strictObject({
1477
1513
  usePolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use polling-based file watching instead of native OS events")),
@@ -1514,7 +1550,8 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1514
1550
  duplicateShebang: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when both the code and postBanner contain shebang")),
1515
1551
  unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
1516
1552
  ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting")),
1517
- largeBarrelModules: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000)"))
1553
+ largeBarrelModules: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000)")),
1554
+ sourcemapBroken: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a plugin transforms code without generating a sourcemap"))
1518
1555
  });
1519
1556
  const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1520
1557
  compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
@@ -1723,6 +1760,7 @@ const AdvancedChunksSchema = /* @__PURE__ */ strictObject({
1723
1760
  maxModuleSize: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1724
1761
  entriesAware: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1725
1762
  entriesAwareMergeThreshold: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
1763
+ includeDependenciesRecursively: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1726
1764
  tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string()))
1727
1765
  })))
1728
1766
  });
@@ -3207,6 +3245,10 @@ var RolldownBuild = class RolldownBuild {
3207
3245
  /**
3208
3246
  * Close the bundle and free resources.
3209
3247
  *
3248
+ * This method should be called even if the {@linkcode generate} method
3249
+ * or the {@linkcode write} method threw an error. It should be called
3250
+ * even if neither of the methods are called.
3251
+ *
3210
3252
  * This method is called automatically when using `using` syntax.
3211
3253
  *
3212
3254
  * @example
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog } from "./logging-BSNejiLS.mjs";
2
- import { B as ParserOptions$1, I as MinifyOptions$1, K as TsconfigCache$1, L as MinifyResult$1, W as SourceMap, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, z as ParseResult$1 } from "./binding-DH6N8z26.mjs";
2
+ import { B as ParserOptions$1, I as MinifyOptions$1, K as TsconfigCache$1, L as MinifyResult$1, W as SourceMap, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, z as ParseResult$1 } from "./binding-jiExtga6.mjs";
3
3
 
4
4
  //#region src/utils/resolve-tsconfig.d.ts
5
5
  /**
@@ -1,9 +1,9 @@
1
- import { n as __toESM, t as require_binding } from "./binding-B6Fu5YXW.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DJ1x2shg.mjs";
2
2
  import { o as logMultipleWatcherOption } from "./logs-aMKUxRpj.mjs";
3
- import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-Ce9WlHuS.mjs";
3
+ import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-_tRHQ_SK.mjs";
4
4
  import { t as arraify } from "./misc-CoQm4NHO.mjs";
5
- import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-DNVk6IXy.mjs";
6
- import { t as aggregateBindingErrorsIntoJsError } from "./error-BoEXv9Cb.mjs";
5
+ import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-BQuFBSl3.mjs";
6
+ import { t as aggregateBindingErrorsIntoJsError } from "./error-B4nVgJBQ.mjs";
7
7
  //#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
8
8
  /**
9
9
  * This is not the set of all possible signals.
@@ -1,9 +1,9 @@
1
- import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-DH6N8z26.mjs";
2
- import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DlM64_VL.mjs";
1
+ import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-jiExtga6.mjs";
2
+ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DCPeJrGN.mjs";
3
3
  import * as ESTree from "@oxc-project/types";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
- //#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-BwK2RuuY.mjs";
2
- import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-oH9vGt_I.mjs";
3
- //#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
1
+ import { n as parseSync, t as parse } from "./shared/parse-Dn4O7SLK.mjs";
2
+ import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-CbOINBwz.mjs";
3
+ //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
2015
  const NODE_TYPE_IDS_MAP = new Map([
2016
2016
  ["DebuggerStatement", 0],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../node_modules/.pnpm/oxc-parser@0.135.0/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollipop/rolldown",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "keywords": [
6
6
  "bundler",
@@ -53,12 +53,12 @@
53
53
  "registry": "https://registry.npmjs.org/"
54
54
  },
55
55
  "dependencies": {
56
- "@oxc-project/types": "=0.133.0",
57
- "@rollipop/rolldown-pluginutils": "1.0.11"
56
+ "@oxc-project/types": "=0.135.0",
57
+ "@rolldown/pluginutils": "^1.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@napi-rs/cli": "^3.6.1",
61
- "@napi-rs/wasm-runtime": "^1.1.4",
60
+ "@napi-rs/cli": "^3.7.1",
61
+ "@napi-rs/wasm-runtime": "^1.1.5",
62
62
  "@oxc-node/cli": "^0.1.0",
63
63
  "@rollup/plugin-json": "^6.1.0",
64
64
  "buble": "^0.20.0",
@@ -66,17 +66,17 @@
66
66
  "consola": "^3.4.2",
67
67
  "execa": "^9.2.0",
68
68
  "glob": "^13.0.0",
69
- "oxc-parser": "=0.133.0",
69
+ "oxc-parser": "=0.135.0",
70
70
  "pathe": "^2.0.3",
71
71
  "remeda": "^2.34.1",
72
- "rolldown": "1.0.0-rc.11",
73
- "rolldown-plugin-dts": "^0.25.1",
72
+ "rolldown": "1.1.1",
73
+ "rolldown-plugin-dts": "^0.25.2",
74
74
  "rollup": "^4.60.4",
75
75
  "signal-exit": "4.1.0",
76
76
  "source-map": "0.7.6",
77
77
  "typescript": "^6.0.0",
78
- "valibot": "1.4.0",
79
- "@rollipop/rolldown": "1.0.11"
78
+ "valibot": "1.4.1",
79
+ "@rollipop/rolldown": "1.0.12"
80
80
  },
81
81
  "napi": {
82
82
  "binaryName": "rolldown-binding",
@@ -104,13 +104,13 @@
104
104
  "node": "^20.19.0 || >=22.12.0"
105
105
  },
106
106
  "optionalDependencies": {
107
- "@rollipop/rolldown-binding-darwin-x64": "1.0.11",
108
- "@rollipop/rolldown-binding-win32-x64-msvc": "1.0.11",
109
- "@rollipop/rolldown-binding-linux-x64-gnu": "1.0.11",
110
- "@rollipop/rolldown-binding-linux-x64-musl": "1.0.11",
111
- "@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.11",
112
- "@rollipop/rolldown-binding-darwin-arm64": "1.0.11",
113
- "@rollipop/rolldown-binding-linux-arm64-musl": "1.0.11"
107
+ "@rollipop/rolldown-binding-darwin-x64": "1.0.12",
108
+ "@rollipop/rolldown-binding-win32-x64-msvc": "1.0.12",
109
+ "@rollipop/rolldown-binding-linux-x64-gnu": "1.0.12",
110
+ "@rollipop/rolldown-binding-linux-x64-musl": "1.0.12",
111
+ "@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.12",
112
+ "@rollipop/rolldown-binding-darwin-arm64": "1.0.12",
113
+ "@rollipop/rolldown-binding-linux-arm64-musl": "1.0.12"
114
114
  },
115
115
  "scripts": {
116
116
  "# Scrips for binding #": "_",