rolldown 1.0.0-beta.52 → 1.0.0-beta.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-setup.mjs +1 -1
- package/dist/cli.mjs +9 -10
- package/dist/config.d.mts +2 -3
- package/dist/config.mjs +7 -9
- package/dist/experimental-index.d.mts +19 -8
- package/dist/experimental-index.mjs +24 -13
- package/dist/filter-index.d.mts +2 -3
- package/dist/index.d.mts +2 -3
- package/dist/index.mjs +7 -9
- package/dist/parallel-plugin-worker.mjs +4 -6
- package/dist/parallel-plugin.d.mts +2 -3
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -3
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +3 -5
- package/dist/shared/{binding-kg77KQCQ.mjs → binding-BJqdPU1r.mjs} +26 -26
- package/dist/shared/{binding-BKL2JHoJ.d.mts → binding-CY7Z709f.d.mts} +45 -3
- package/dist/shared/{bindingify-input-options-6nBAYjYP.mjs → bindingify-input-options-Bk0BBr2s.mjs} +8 -6
- package/dist/shared/{constructors-BvaMwihu.d.mts → constructors-CMvFUBhn.d.mts} +3 -5
- package/dist/shared/{constructors-CwAnOHmv.mjs → constructors-LQ8mmhQE.mjs} +2 -8
- package/dist/shared/{define-config-9CiSl0uo.d.mts → define-config-BS8Bt-r8.d.mts} +61 -3
- package/dist/shared/{load-config-DS8fzWF9.mjs → load-config-JSXrnuaS.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-VlPkMWXA.mjs → normalize-string-or-regex-BhaIG1rU.mjs} +42 -5
- package/dist/shared/{parse-ast-index-C44ewaWh.mjs → parse-ast-index-BFX0oHaQ.mjs} +2 -2
- package/dist/shared/{rolldown-CpwN72kC.mjs → rolldown-Cqalltnr.mjs} +1 -1
- package/dist/shared/{rolldown-build-D2CkFbcq.mjs → rolldown-build-BEU8N80I.mjs} +334 -188
- package/dist/shared/{watch-BWN40jw1.mjs → watch-DBnC-zol.mjs} +4 -4
- package/package.json +19 -21
- package/dist/shared/utils-DKydZ4iH.d.mts +0 -62
package/dist/cli-setup.mjs
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import "./shared/logs-CSQ_UMWp.mjs";
|
|
1
|
+
import "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-DBnC-zol.mjs";
|
|
4
3
|
import { t as arraify } from "./shared/misc-CxyvWjTr.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-
|
|
7
|
-
import "./shared/bindingify-input-options-
|
|
8
|
-
import "./shared/parse-ast-index-
|
|
9
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
10
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { b as description, x as version } from "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
5
|
+
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-BEU8N80I.mjs";
|
|
6
|
+
import "./shared/bindingify-input-options-Bk0BBr2s.mjs";
|
|
7
|
+
import "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
8
|
+
import { t as rolldown } from "./shared/rolldown-Cqalltnr.mjs";
|
|
9
|
+
import { t as loadConfig } from "./shared/load-config-JSXrnuaS.mjs";
|
|
11
10
|
import path, { sep } from "node:path";
|
|
12
11
|
import { formatWithOptions, parseArgs } from "node:util";
|
|
13
12
|
import process$1 from "node:process";
|
|
@@ -1239,7 +1238,7 @@ function getClearScreenFunction(options$1) {
|
|
|
1239
1238
|
}
|
|
1240
1239
|
|
|
1241
1240
|
//#endregion
|
|
1242
|
-
//#region \0@oxc-project+runtime@0.
|
|
1241
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/usingCtx.js
|
|
1243
1242
|
function _usingCtx() {
|
|
1244
1243
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1245
1244
|
var n$2 = Error();
|
package/dist/config.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/binding-
|
|
3
|
-
import { n as ConfigExport, t as defineConfig } from "./shared/define-config-9CiSl0uo.mjs";
|
|
1
|
+
import { n as ConfigExport, t as defineConfig } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import "./shared/binding-CY7Z709f.mjs";
|
|
4
3
|
|
|
5
4
|
//#region src/utils/load-config.d.ts
|
|
6
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import
|
|
5
|
-
import "./shared/
|
|
6
|
-
import "./shared/
|
|
7
|
-
import "./shared/parse-ast-index-C44ewaWh.mjs";
|
|
8
|
-
import "./shared/rolldown-CpwN72kC.mjs";
|
|
1
|
+
import "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { x as version } from "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
3
|
+
import "./shared/rolldown-build-BEU8N80I.mjs";
|
|
4
|
+
import "./shared/bindingify-input-options-Bk0BBr2s.mjs";
|
|
5
|
+
import "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
6
|
+
import "./shared/rolldown-Cqalltnr.mjs";
|
|
9
7
|
import { t as defineConfig } from "./shared/define-config-DfeZGBEt.mjs";
|
|
10
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
8
|
+
import { t as loadConfig } from "./shared/load-config-JSXrnuaS.mjs";
|
|
11
9
|
|
|
12
10
|
//#region src/config.ts
|
|
13
11
|
const VERSION = version;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as ParserOptions, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as viteWasmHelperPlugin, a as viteCSSPostPlugin, c as viteImportGlobPlugin, d as viteManifestPlugin, f as viteModulePreloadPolyfillPlugin, g as viteWasmFallbackPlugin, h as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteJsonPlugin, m as viteReporterPlugin, n as isolatedDeclarationPlugin, o as viteDynamicImportVarsPlugin, p as viteReactRefreshWrapperPlugin, r as viteAssetImportMetaUrlPlugin, s as viteHtmlInlineProxyPlugin, u as viteLoadFallbackPlugin, v as viteWebWorkerPostPlugin } from "./shared/constructors-BvaMwihu.mjs";
|
|
1
|
+
import { A as BuiltinPlugin, Et as OutputChunk, F as OutputBundle, N as SourceMapInput, U as defineParallelPlugin, W as MinimalPluginContext, bt as OutputOptions, et as NormalizedOutputOptions, jt as freeExternalMemory, kt as RolldownOutput, o as InputOptions } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import { $ as transformSync, B as ParserOptions, C as BindingViteManifestPluginConfig, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as isolatedDeclarationSync, K as createTokioRuntime, L as MinifyResult, N as IsolatedDeclarationsOptions, O as BindingViteTransformPluginConfig, P as IsolatedDeclarationsResult, Q as transform, R as NapiResolveOptions, U as ResolverFactory, W as TransformOptions, X as minifySync, Y as minify, Z as moduleRunnerTransform, _ as BindingViteCssPostPluginConfig, b as BindingViteHtmlPluginConfig, c as BindingRebuildStrategy, f as BindingUrlResolver, g as BindingViteCssPluginConfig, m as BindingViteAssetPluginConfig, n as BindingBundleState, q as isolatedDeclaration, r as BindingClientHmrUpdate, z as ParseResult } from "./shared/binding-CY7Z709f.mjs";
|
|
3
|
+
import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-CMvFUBhn.mjs";
|
|
5
4
|
|
|
6
5
|
//#region src/api/dev/dev-options.d.ts
|
|
7
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -73,8 +72,8 @@ declare class DevEngine {
|
|
|
73
72
|
getBundleState(): Promise<BindingBundleState>;
|
|
74
73
|
ensureLatestBuildOutput(): Promise<void>;
|
|
75
74
|
invalidate(file: string, firstInvalidatedBy?: string): Promise<BindingClientHmrUpdate[]>;
|
|
76
|
-
registerModules(clientId: string, modules: string[]): void
|
|
77
|
-
removeClient(clientId: string): void
|
|
75
|
+
registerModules(clientId: string, modules: string[]): Promise<void>;
|
|
76
|
+
removeClient(clientId: string): Promise<void>;
|
|
78
77
|
close(): Promise<void>;
|
|
79
78
|
}
|
|
80
79
|
//#endregion
|
|
@@ -142,6 +141,12 @@ type ViteCssPluginConfig = Omit<BindingViteCssPluginConfig, "compileCSS"> & {
|
|
|
142
141
|
};
|
|
143
142
|
declare function viteCSSPlugin(config?: ViteCssPluginConfig): BuiltinPlugin;
|
|
144
143
|
//#endregion
|
|
144
|
+
//#region src/builtin-plugin/vite-css-post-plugin.d.ts
|
|
145
|
+
type ViteCssPostPluginConfig = Omit<BindingViteCssPostPluginConfig, "cssScopeTo" | "isLegacy"> & {
|
|
146
|
+
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
147
|
+
};
|
|
148
|
+
declare function viteCSSPostPlugin(config?: ViteCssPostPluginConfig): BuiltinPlugin;
|
|
149
|
+
//#endregion
|
|
145
150
|
//#region src/builtin-plugin/vite-html-plugin.d.ts
|
|
146
151
|
interface HtmlTagDescriptor {
|
|
147
152
|
tag: string;
|
|
@@ -172,7 +177,7 @@ interface IndexHtmlTransformContext {
|
|
|
172
177
|
bundle?: OutputBundle;
|
|
173
178
|
chunk?: OutputChunk;
|
|
174
179
|
}
|
|
175
|
-
interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "transformIndexHtml"> {
|
|
180
|
+
interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "transformIndexHtml" | "setModuleSideEffects"> {
|
|
176
181
|
preHooks: IndexHtmlTransformHook[];
|
|
177
182
|
normalHooks: IndexHtmlTransformHook[];
|
|
178
183
|
postHooks: IndexHtmlTransformHook[];
|
|
@@ -180,4 +185,10 @@ interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "trans
|
|
|
180
185
|
}
|
|
181
186
|
declare function viteHtmlPlugin(config?: ViteHtmlPluginOptions): BuiltinPlugin;
|
|
182
187
|
//#endregion
|
|
183
|
-
|
|
188
|
+
//#region src/builtin-plugin/vite-manifest-plugin.d.ts
|
|
189
|
+
type ViteManifestPluginConfig = Omit<BindingViteManifestPluginConfig, "isLegacy"> & {
|
|
190
|
+
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
191
|
+
};
|
|
192
|
+
declare function viteManifestPlugin(config?: ViteManifestPluginConfig): BuiltinPlugin;
|
|
193
|
+
//#endregion
|
|
194
|
+
export { type BindingClientHmrUpdate, BindingRebuildStrategy, DevEngine, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, type MinifyOptions, type MinifyResult, type ParseResult, type ParserOptions, type NapiResolveOptions as ResolveOptions, type ResolveResult, ResolverFactory, type TransformOptions, type TransformResult, type ViteHtmlPluginOptions, createTokioRuntime, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { t as require_binding } from "./shared/binding-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { o as
|
|
7
|
-
import { i as parseSync, r as parse } from "./shared/parse-ast-index-C44ewaWh.mjs";
|
|
8
|
-
import { _ as viteWasmHelperPlugin, a as viteCSSPostPlugin, c as viteImportGlobPlugin, d as viteManifestPlugin, f as viteModulePreloadPolyfillPlugin, g as viteWasmFallbackPlugin, h as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteJsonPlugin, m as viteReporterPlugin, n as isolatedDeclarationPlugin, o as viteDynamicImportVarsPlugin, p as viteReactRefreshWrapperPlugin, r as viteAssetImportMetaUrlPlugin, s as viteHtmlInlineProxyPlugin, u as viteLoadFallbackPlugin, v as viteWebWorkerPostPlugin } from "./shared/constructors-CwAnOHmv.mjs";
|
|
1
|
+
import { t as require_binding } from "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
3
|
+
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-BEU8N80I.mjs";
|
|
4
|
+
import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-Bk0BBr2s.mjs";
|
|
5
|
+
import { i as parseSync, r as parse } from "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
6
|
+
import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-LQ8mmhQE.mjs";
|
|
9
7
|
import { pathToFileURL } from "node:url";
|
|
10
8
|
|
|
11
9
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -76,11 +74,11 @@ var DevEngine = class DevEngine {
|
|
|
76
74
|
async invalidate(file, firstInvalidatedBy) {
|
|
77
75
|
return this.#inner.invalidate(file, firstInvalidatedBy);
|
|
78
76
|
}
|
|
79
|
-
registerModules(clientId, modules) {
|
|
80
|
-
this.#inner.registerModules(clientId, modules);
|
|
77
|
+
async registerModules(clientId, modules) {
|
|
78
|
+
await this.#inner.registerModules(clientId, modules);
|
|
81
79
|
}
|
|
82
|
-
removeClient(clientId) {
|
|
83
|
-
this.#inner.removeClient(clientId);
|
|
80
|
+
async removeClient(clientId) {
|
|
81
|
+
await this.#inner.removeClient(clientId);
|
|
84
82
|
}
|
|
85
83
|
async close() {
|
|
86
84
|
await this.#inner.close();
|
|
@@ -225,12 +223,24 @@ function viteCSSPlugin(config) {
|
|
|
225
223
|
} : void 0);
|
|
226
224
|
}
|
|
227
225
|
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region src/builtin-plugin/vite-css-post-plugin.ts
|
|
228
|
+
function viteCSSPostPlugin(config) {
|
|
229
|
+
return new BuiltinPlugin("builtin:vite-css-post", config);
|
|
230
|
+
}
|
|
231
|
+
|
|
228
232
|
//#endregion
|
|
229
233
|
//#region src/builtin-plugin/vite-html-plugin.ts
|
|
230
234
|
function viteHtmlPlugin(config) {
|
|
231
235
|
return new BuiltinPlugin("builtin:vite-html", config);
|
|
232
236
|
}
|
|
233
237
|
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/builtin-plugin/vite-manifest-plugin.ts
|
|
240
|
+
function viteManifestPlugin(config) {
|
|
241
|
+
return new BuiltinPlugin("builtin:vite-manifest", config);
|
|
242
|
+
}
|
|
243
|
+
|
|
234
244
|
//#endregion
|
|
235
245
|
//#region src/experimental-index.ts
|
|
236
246
|
var import_binding = require_binding();
|
|
@@ -238,6 +248,7 @@ var import_binding = require_binding();
|
|
|
238
248
|
//#endregion
|
|
239
249
|
var BindingRebuildStrategy = import_binding.BindingRebuildStrategy;
|
|
240
250
|
var ResolverFactory = import_binding.ResolverFactory;
|
|
251
|
+
var createTokioRuntime = import_binding.createTokioRuntime;
|
|
241
252
|
var isolatedDeclaration = import_binding.isolatedDeclaration;
|
|
242
253
|
var isolatedDeclarationSync = import_binding.isolatedDeclarationSync;
|
|
243
254
|
var minify = import_binding.minify;
|
|
@@ -245,4 +256,4 @@ var minifySync = import_binding.minifySync;
|
|
|
245
256
|
var moduleRunnerTransform = import_binding.moduleRunnerTransform;
|
|
246
257
|
var transform = import_binding.transform;
|
|
247
258
|
var transformSync = import_binding.transformSync;
|
|
248
|
-
export { BindingRebuildStrategy, DevEngine, ResolverFactory, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
|
259
|
+
export { BindingRebuildStrategy, DevEngine, ResolverFactory, createTokioRuntime, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/binding-
|
|
3
|
-
import { k as withFilter } from "./shared/define-config-9CiSl0uo.mjs";
|
|
1
|
+
import { k as withFilter } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import "./shared/binding-CY7Z709f.mjs";
|
|
4
3
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
5
4
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-
|
|
3
|
-
import { $ as NormalizedOutputOptions, A as VERSION, B as PluginContext, C as ResolveIdResult, Ct as RolldownOutput, D as SourceDescription, Dt as SourcemapIgnoreListOption, E as RolldownPluginOption, Et as ModuleInfo, F as TreeshakingOptions, G as GeneralHookFilter, I as TransformPluginContext, J as BufferEncoding, K as HookFilter, L as EmittedAsset, M as SourceMapInput, N as RolldownOptionsFunction, O as TransformResult, P as OutputBundle, Q as InternalModuleFormat, R as EmittedFile, S as ResolveIdExtraOptions, St as RenderedModule, T as RolldownPlugin, U as MinimalPluginContext, V as DefineParallelPluginResult, W as PluginContextMeta, X as RolldownFileStats, Y as RolldownDirectoryEntry, Z as RolldownFsModule, _ as ModuleType, _t as OutputOptions, a as InputOption, at as rolldown, b as PartialResolvedId, bt as OutputChunk, c as OptimizationOptions, ct as build, d as CustomPluginOptions, dt as ChunkingContext, et as NormalizedInputOptions, f as FunctionPluginHooks, ft as GeneratedCodeOptions, g as ModuleOptions, gt as ModuleFormat, h as LoadResult, ht as MinifyOptions, i as ExternalOption, it as WatchOptions, j as ExistingRawSourceMap, l as WatcherOptions, lt as AddonFunction, m as ImportKind, mt as GlobalsFunction, n as ConfigExport, nt as RolldownWatcher, o as InputOptions, ot as RolldownBuild, p as HookFilterExtension, pt as GeneratedCodePreset, q as ModuleTypeFilter, r as RolldownOptions, rt as RolldownWatcherEvent, s as ModuleTypes, st as BuildOptions, t as defineConfig, tt as watch, u as AsyncPluginHooks, ut as ChunkFileNamesFunction, v as ObjectHook, vt as PreRenderedAsset, w as ResolvedId, wt as SourceMap, x as Plugin, xt as RenderedChunk, y as ParallelPluginHooks, yt as OutputAsset, z as GetModuleInfo } from "./shared/define-config-9CiSl0uo.mjs";
|
|
1
|
+
import { $ as InternalModuleFormat, At as SourceMap, B as GetModuleInfo, C as ResolveIdResult, Ct as PartialNull, D as SourceDescription, Dt as RenderedChunk, E as RolldownPluginOption, Et as OutputChunk, F as OutputBundle, Ft as LogLevelOption, G as PluginContextMeta, H as DefineParallelPluginResult, I as TreeshakingOptions, It as LogOrStringHandler, J as ModuleTypeFilter, K as GeneralHookFilter, L as TransformPluginContext, Lt as RollupError, M as ExistingRawSourceMap, Mt as ModuleInfo, N as SourceMapInput, Nt as SourcemapIgnoreListOption, O as TransformResult, Ot as RenderedModule, P as RolldownOptionsFunction, Pt as LogLevel, Q as RolldownFsModule, R as EmittedAsset, Rt as RollupLog, S as ResolveIdExtraOptions, T as RolldownPlugin, Tt as OutputAsset, V as PluginContext, W as MinimalPluginContext, X as RolldownDirectoryEntry, Y as BufferEncoding, Z as RolldownFileStats, _ as ModuleType, _t as GlobalsFunction, a as InputOption, at as RolldownWatcher, b as PartialResolvedId, bt as OutputOptions, c as OptimizationOptions, ct as rolldown, d as CustomPluginOptions, dt as build, et as NormalizedOutputOptions, f as FunctionPluginHooks, ft as AddonFunction, g as ModuleOptions, gt as GeneratedCodePreset, h as LoadResult, ht as GeneratedCodeOptions, i as ExternalOption, it as watch, j as VERSION, kt as RolldownOutput, l as WatcherOptions, lt as RolldownBuild, m as ImportKind, mt as ChunkingContext, n as ConfigExport, nt as LoggingFunction, o as InputOptions, ot as RolldownWatcherEvent, p as HookFilterExtension, pt as ChunkFileNamesFunction, q as HookFilter, r as RolldownOptions, rt as WarningHandlerWithDefault, s as ModuleTypes, st as WatchOptions, t as defineConfig, tt as NormalizedInputOptions, u as AsyncPluginHooks, ut as BuildOptions, v as ObjectHook, vt as MinifyOptions, w as ResolvedId, x as Plugin, xt as PreRenderedAsset, y as ParallelPluginHooks, yt as ModuleFormat, z as EmittedFile, zt as RollupLogWithString } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-CY7Z709f.mjs";
|
|
4
3
|
export { AddonFunction, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import "./shared/
|
|
4
|
-
import "./shared/
|
|
5
|
-
import
|
|
6
|
-
import "./shared/
|
|
7
|
-
import "./shared/
|
|
8
|
-
import "./shared/parse-ast-index-C44ewaWh.mjs";
|
|
9
|
-
import { t as rolldown } from "./shared/rolldown-CpwN72kC.mjs";
|
|
1
|
+
import { t as require_binding } from "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-DBnC-zol.mjs";
|
|
3
|
+
import { y as VERSION } from "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
4
|
+
import "./shared/rolldown-build-BEU8N80I.mjs";
|
|
5
|
+
import "./shared/bindingify-input-options-Bk0BBr2s.mjs";
|
|
6
|
+
import "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
7
|
+
import { t as rolldown } from "./shared/rolldown-Cqalltnr.mjs";
|
|
10
8
|
import { t as defineConfig } from "./shared/define-config-DfeZGBEt.mjs";
|
|
11
9
|
import { isMainThread } from "node:worker_threads";
|
|
12
10
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { t as require_binding } from "./shared/binding-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import "./shared/
|
|
5
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-6nBAYjYP.mjs";
|
|
6
|
-
import "./shared/parse-ast-index-C44ewaWh.mjs";
|
|
1
|
+
import { t as require_binding } from "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
3
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-Bk0BBr2s.mjs";
|
|
4
|
+
import "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
7
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
8
6
|
|
|
9
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./shared/binding-
|
|
3
|
-
import { x as Plugin } from "./shared/define-config-9CiSl0uo.mjs";
|
|
1
|
+
import { St as MaybePromise, x as Plugin } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import "./shared/binding-CY7Z709f.mjs";
|
|
4
3
|
|
|
5
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
6
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-C44ewaWh.mjs";
|
|
1
|
+
import "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-BFX0oHaQ.mjs";
|
|
4
3
|
|
|
5
4
|
export { parseAst, parseAstAsync };
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as BindingReplacePluginConfig } from "./shared/binding-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { A as BuiltinPlugin } from "./shared/define-config-BS8Bt-r8.mjs";
|
|
2
|
+
import { u as BindingReplacePluginConfig } from "./shared/binding-CY7Z709f.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-CMvFUBhn.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-VlPkMWXA.mjs";
|
|
5
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-CwAnOHmv.mjs";
|
|
1
|
+
import "./shared/binding-BJqdPU1r.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-BhaIG1rU.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-LQ8mmhQE.mjs";
|
|
6
4
|
|
|
7
5
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
8
6
|
/**
|
|
@@ -86,7 +86,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
86
86
|
try {
|
|
87
87
|
const binding = __require("@rolldown/binding-android-arm64");
|
|
88
88
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
|
|
89
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
89
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
90
90
|
return binding;
|
|
91
91
|
} catch (e) {
|
|
92
92
|
loadErrors.push(e);
|
|
@@ -100,7 +100,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
100
100
|
try {
|
|
101
101
|
const binding = __require("@rolldown/binding-android-arm-eabi");
|
|
102
102
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
|
|
103
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
103
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
104
104
|
return binding;
|
|
105
105
|
} catch (e) {
|
|
106
106
|
loadErrors.push(e);
|
|
@@ -115,7 +115,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
115
115
|
try {
|
|
116
116
|
const binding = __require("@rolldown/binding-win32-x64-gnu");
|
|
117
117
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
|
|
118
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
118
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
119
119
|
return binding;
|
|
120
120
|
} catch (e) {
|
|
121
121
|
loadErrors.push(e);
|
|
@@ -129,7 +129,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
129
129
|
try {
|
|
130
130
|
const binding = __require("@rolldown/binding-win32-x64-msvc");
|
|
131
131
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-msvc/package.json").version;
|
|
132
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
132
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
133
133
|
return binding;
|
|
134
134
|
} catch (e) {
|
|
135
135
|
loadErrors.push(e);
|
|
@@ -144,7 +144,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
144
144
|
try {
|
|
145
145
|
const binding = __require("@rolldown/binding-win32-ia32-msvc");
|
|
146
146
|
const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
|
|
147
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
147
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
148
148
|
return binding;
|
|
149
149
|
} catch (e) {
|
|
150
150
|
loadErrors.push(e);
|
|
@@ -158,7 +158,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
158
158
|
try {
|
|
159
159
|
const binding = __require("@rolldown/binding-win32-arm64-msvc");
|
|
160
160
|
const bindingPackageVersion = __require("@rolldown/binding-win32-arm64-msvc/package.json").version;
|
|
161
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
161
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
162
162
|
return binding;
|
|
163
163
|
} catch (e) {
|
|
164
164
|
loadErrors.push(e);
|
|
@@ -173,7 +173,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
173
173
|
try {
|
|
174
174
|
const binding = __require("@rolldown/binding-darwin-universal");
|
|
175
175
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
|
|
176
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
176
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
177
177
|
return binding;
|
|
178
178
|
} catch (e) {
|
|
179
179
|
loadErrors.push(e);
|
|
@@ -187,7 +187,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
187
187
|
try {
|
|
188
188
|
const binding = __require("@rolldown/binding-darwin-x64");
|
|
189
189
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-x64/package.json").version;
|
|
190
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
190
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
191
191
|
return binding;
|
|
192
192
|
} catch (e) {
|
|
193
193
|
loadErrors.push(e);
|
|
@@ -201,7 +201,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
201
201
|
try {
|
|
202
202
|
const binding = __require("@rolldown/binding-darwin-arm64");
|
|
203
203
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-arm64/package.json").version;
|
|
204
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
204
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
205
205
|
return binding;
|
|
206
206
|
} catch (e) {
|
|
207
207
|
loadErrors.push(e);
|
|
@@ -216,7 +216,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
216
216
|
try {
|
|
217
217
|
const binding = __require("@rolldown/binding-freebsd-x64");
|
|
218
218
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
|
|
219
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
219
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
220
220
|
return binding;
|
|
221
221
|
} catch (e) {
|
|
222
222
|
loadErrors.push(e);
|
|
@@ -230,7 +230,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
230
230
|
try {
|
|
231
231
|
const binding = __require("@rolldown/binding-freebsd-arm64");
|
|
232
232
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
|
|
233
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
233
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
234
234
|
return binding;
|
|
235
235
|
} catch (e) {
|
|
236
236
|
loadErrors.push(e);
|
|
@@ -245,7 +245,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
245
245
|
try {
|
|
246
246
|
const binding = __require("@rolldown/binding-linux-x64-musl");
|
|
247
247
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-musl/package.json").version;
|
|
248
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
248
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
249
249
|
return binding;
|
|
250
250
|
} catch (e) {
|
|
251
251
|
loadErrors.push(e);
|
|
@@ -259,7 +259,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
259
259
|
try {
|
|
260
260
|
const binding = __require("@rolldown/binding-linux-x64-gnu");
|
|
261
261
|
const bindingPackageVersion = __require("@rolldown/binding-linux-x64-gnu/package.json").version;
|
|
262
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
262
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
263
263
|
return binding;
|
|
264
264
|
} catch (e) {
|
|
265
265
|
loadErrors.push(e);
|
|
@@ -274,7 +274,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
274
274
|
try {
|
|
275
275
|
const binding = __require("@rolldown/binding-linux-arm64-musl");
|
|
276
276
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-musl/package.json").version;
|
|
277
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
277
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
278
278
|
return binding;
|
|
279
279
|
} catch (e) {
|
|
280
280
|
loadErrors.push(e);
|
|
@@ -288,7 +288,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
288
288
|
try {
|
|
289
289
|
const binding = __require("@rolldown/binding-linux-arm64-gnu");
|
|
290
290
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm64-gnu/package.json").version;
|
|
291
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
291
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
292
292
|
return binding;
|
|
293
293
|
} catch (e) {
|
|
294
294
|
loadErrors.push(e);
|
|
@@ -303,7 +303,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
303
303
|
try {
|
|
304
304
|
const binding = __require("@rolldown/binding-linux-arm-musleabihf");
|
|
305
305
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
|
|
306
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
306
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
307
307
|
return binding;
|
|
308
308
|
} catch (e) {
|
|
309
309
|
loadErrors.push(e);
|
|
@@ -317,7 +317,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
317
317
|
try {
|
|
318
318
|
const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
|
|
319
319
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
|
|
320
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
320
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
321
321
|
return binding;
|
|
322
322
|
} catch (e) {
|
|
323
323
|
loadErrors.push(e);
|
|
@@ -332,7 +332,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
332
332
|
try {
|
|
333
333
|
const binding = __require("@rolldown/binding-linux-loong64-musl");
|
|
334
334
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
|
|
335
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
335
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
336
336
|
return binding;
|
|
337
337
|
} catch (e) {
|
|
338
338
|
loadErrors.push(e);
|
|
@@ -346,7 +346,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
346
346
|
try {
|
|
347
347
|
const binding = __require("@rolldown/binding-linux-loong64-gnu");
|
|
348
348
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
|
|
349
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
349
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
350
350
|
return binding;
|
|
351
351
|
} catch (e) {
|
|
352
352
|
loadErrors.push(e);
|
|
@@ -361,7 +361,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
361
361
|
try {
|
|
362
362
|
const binding = __require("@rolldown/binding-linux-riscv64-musl");
|
|
363
363
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
|
|
364
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
364
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
365
365
|
return binding;
|
|
366
366
|
} catch (e) {
|
|
367
367
|
loadErrors.push(e);
|
|
@@ -375,7 +375,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
375
375
|
try {
|
|
376
376
|
const binding = __require("@rolldown/binding-linux-riscv64-gnu");
|
|
377
377
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
|
|
378
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
378
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
379
379
|
return binding;
|
|
380
380
|
} catch (e) {
|
|
381
381
|
loadErrors.push(e);
|
|
@@ -390,7 +390,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
390
390
|
try {
|
|
391
391
|
const binding = __require("@rolldown/binding-linux-ppc64-gnu");
|
|
392
392
|
const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
|
|
393
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
393
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
394
394
|
return binding;
|
|
395
395
|
} catch (e) {
|
|
396
396
|
loadErrors.push(e);
|
|
@@ -404,7 +404,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
404
404
|
try {
|
|
405
405
|
const binding = __require("@rolldown/binding-linux-s390x-gnu");
|
|
406
406
|
const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
|
|
407
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
407
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
408
408
|
return binding;
|
|
409
409
|
} catch (e) {
|
|
410
410
|
loadErrors.push(e);
|
|
@@ -419,7 +419,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
419
419
|
try {
|
|
420
420
|
const binding = __require("@rolldown/binding-openharmony-arm64");
|
|
421
421
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
|
|
422
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
422
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
423
423
|
return binding;
|
|
424
424
|
} catch (e) {
|
|
425
425
|
loadErrors.push(e);
|
|
@@ -433,7 +433,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
433
433
|
try {
|
|
434
434
|
const binding = __require("@rolldown/binding-openharmony-x64");
|
|
435
435
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
|
|
436
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
436
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
437
437
|
return binding;
|
|
438
438
|
} catch (e) {
|
|
439
439
|
loadErrors.push(e);
|
|
@@ -447,7 +447,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
447
447
|
try {
|
|
448
448
|
const binding = __require("@rolldown/binding-openharmony-arm");
|
|
449
449
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
|
|
450
|
-
if (bindingPackageVersion !== "1.0.0-beta.
|
|
450
|
+
if (bindingPackageVersion !== "1.0.0-beta.53" && 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.0-beta.53 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
451
451
|
return binding;
|
|
452
452
|
} catch (e) {
|
|
453
453
|
loadErrors.push(e);
|