@rollipop/rolldown 0.0.0-beta.0 → 0.0.0-beta.1
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 +8 -8
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +7 -7
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +6 -6
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +7 -7
- package/dist/parallel-plugin-worker.mjs +4 -4
- package/dist/parallel-plugin.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.d.mts +2 -2
- package/dist/plugins-index.mjs +3 -3
- package/dist/shared/{binding-DmMMxMk0.mjs → binding-BGro4B9r.mjs} +26 -26
- package/dist/shared/{bindingify-input-options-D0BAGfk2.mjs → bindingify-input-options-Cbn4Fx-U.mjs} +3 -3
- package/dist/shared/{constructors-F44lhsH3.d.mts → constructors-BaMrri8j.d.mts} +1 -1
- package/dist/shared/{constructors-Rl_oLd2F.mjs → constructors-g6aWFjfR.mjs} +1 -1
- package/dist/shared/{define-config-DJ1-iIdx.d.mts → define-config-C0bKR4ot.d.mts} +6 -0
- package/dist/shared/{load-config-BEpugZky.mjs → load-config-CSb1tL9s.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-DbTZ9prS.mjs → normalize-string-or-regex-CjC3YBVf.mjs} +2 -2
- package/dist/shared/{parse-ast-index-BuuhACPk.mjs → parse-ast-index-oopYDFzI.mjs} +1 -1
- package/dist/shared/{rolldown-il0-nWH9.mjs → rolldown-DA9aR8tX.mjs} +1 -1
- package/dist/shared/{rolldown-build-viDZfkdI.mjs → rolldown-build-CENRTWd-.mjs} +6 -5
- package/dist/shared/{watch-BSdMzY6q.mjs → watch-CjiZ0BRX.mjs} +4 -4
- package/package.json +11 -11
package/dist/cli-setup.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BGro4B9r.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/cli/setup-index.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
package/dist/cli.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
1
|
+
import "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-CjiZ0BRX.mjs";
|
|
3
3
|
import { t as arraify } from "./shared/misc-DpjTMcQQ.mjs";
|
|
4
|
-
import { b as description, x as version } from "./shared/normalize-string-or-regex-
|
|
5
|
-
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-
|
|
6
|
-
import "./shared/bindingify-input-options-
|
|
7
|
-
import "./shared/parse-ast-index-
|
|
8
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
9
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { b as description, x as version } from "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
5
|
+
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-CENRTWd-.mjs";
|
|
6
|
+
import "./shared/bindingify-input-options-Cbn4Fx-U.mjs";
|
|
7
|
+
import "./shared/parse-ast-index-oopYDFzI.mjs";
|
|
8
|
+
import { t as rolldown } from "./shared/rolldown-DA9aR8tX.mjs";
|
|
9
|
+
import { t as loadConfig } from "./shared/load-config-CSb1tL9s.mjs";
|
|
10
10
|
import path, { sep } from "node:path";
|
|
11
11
|
import { formatWithOptions, parseArgs } from "node:util";
|
|
12
12
|
import process$1 from "node:process";
|
package/dist/config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-kAegJ1Bj.mjs";
|
|
2
|
-
import { r as defineConfig, t as ConfigExport } from "./shared/define-config-
|
|
2
|
+
import { r as defineConfig, t as ConfigExport } from "./shared/define-config-C0bKR4ot.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { x as version } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import "./shared/rolldown-build-
|
|
4
|
-
import "./shared/bindingify-input-options-
|
|
5
|
-
import "./shared/parse-ast-index-
|
|
6
|
-
import "./shared/rolldown-
|
|
1
|
+
import "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { x as version } from "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
3
|
+
import "./shared/rolldown-build-CENRTWd-.mjs";
|
|
4
|
+
import "./shared/bindingify-input-options-Cbn4Fx-U.mjs";
|
|
5
|
+
import "./shared/parse-ast-index-oopYDFzI.mjs";
|
|
6
|
+
import "./shared/rolldown-DA9aR8tX.mjs";
|
|
7
7
|
import { t as defineConfig } from "./shared/define-config-BF4P-Pum.mjs";
|
|
8
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
8
|
+
import { t as loadConfig } from "./shared/load-config-CSb1tL9s.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/config.ts
|
|
11
11
|
const VERSION = version;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as transformSync, B as ParserOptions, C as BindingViteManifestPluginConfig, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as isolatedDeclarationSync, K as createTokioRuntime, L as MinifyResult, N as IsolatedDeclarationsOptions, O as BindingViteTransformPluginConfig, P as IsolatedDeclarationsResult, Q as transform, R as NapiResolveOptions, U as ResolverFactory, W as TransformOptions, X as minifySync, Y as minify, Z as moduleRunnerTransform, _ as BindingViteCssPostPluginConfig, b as BindingViteHtmlPluginConfig, c as BindingRebuildStrategy, f as BindingUrlResolver, g as BindingViteCssPluginConfig, m as BindingViteAssetPluginConfig, n as BindingBundleState, q as isolatedDeclaration, r as BindingClientHmrUpdate, z as ParseResult } from "./shared/binding-kAegJ1Bj.mjs";
|
|
2
|
-
import { Et as OutputOptions, F as SourceMapInput, Ft as RolldownOutput, G as defineParallelPlugin, I as OutputBundle, K as MinimalPluginContext, Lt as freeExternalMemory, M as BuiltinPlugin, Mt as OutputChunk, c as InputOptions, nt as NormalizedOutputOptions } from "./shared/define-config-
|
|
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-
|
|
2
|
+
import { Et as OutputOptions, F as SourceMapInput, Ft as RolldownOutput, G as defineParallelPlugin, I as OutputBundle, K as MinimalPluginContext, Lt as freeExternalMemory, M as BuiltinPlugin, Mt as OutputChunk, c as InputOptions, nt as NormalizedOutputOptions } from "./shared/define-config-C0bKR4ot.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-BaMrri8j.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/api/dev/dev-options.d.ts
|
|
6
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-
|
|
4
|
-
import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-
|
|
5
|
-
import { i as parseSync, r as parse } from "./shared/parse-ast-index-
|
|
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-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
3
|
+
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-CENRTWd-.mjs";
|
|
4
|
+
import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-Cbn4Fx-U.mjs";
|
|
5
|
+
import { i as parseSync, r as parse } from "./shared/parse-ast-index-oopYDFzI.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-g6aWFjfR.mjs";
|
|
7
7
|
import { pathToFileURL } from "node:url";
|
|
8
8
|
|
|
9
9
|
//#region src/api/dev/dev-engine.ts
|
package/dist/filter-index.d.mts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as RollupLog, i as RollupError, n as LogLevelOption, o as RollupLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-DsnCZi19.mjs";
|
|
2
2
|
import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-kAegJ1Bj.mjs";
|
|
3
|
-
import { $ as RolldownFileStats, A as TransformResult, B as EmittedFile, C as Plugin, Ct as GlobalsFunction, D as RolldownPlugin, Dt as PreRenderedAsset, E as ResolvedId, Et as OutputOptions, F as SourceMapInput, Ft as RolldownOutput, H as GetModuleInfo, I as OutputBundle, It as SourceMap, J as GeneralHookFilter, K as MinimalPluginContext, L as TreeshakingOptions, Mt as OutputChunk, N as VERSION, Nt as RenderedChunk, O as RolldownPluginOption, P as ExistingRawSourceMap, Pt as RenderedModule, Q as RolldownDirectoryEntry, R as TransformPluginContext, Rt as ModuleInfo, S as PartialResolvedId, St as GeneratedCodePreset, T as ResolveIdResult, Tt as ModuleFormat, U as PluginContext, V as EmittedPrebuiltChunk, W as DefineParallelPluginResult, X as ModuleTypeFilter, Y as HookFilter, Z as BufferEncoding, _ as LoadResult, _t as AdvancedChunksGroup, a as ExternalOption, at as ChecksOptions, b as ObjectHook, bt as CodeSplittingGroup, c as InputOptions, ct as watch, d as WatcherOptions, dt as WatchOptions, et as RolldownFsModule, f as AsyncPluginHooks, ft as rolldown, g as ImportKind, gt as AddonFunction, h as HookFilterExtension, ht as build, i as RolldownOptions, it as TransformOptions, jt as OutputAsset, k as SourceDescription, kt as PartialNull, l as ModuleTypes, lt as RolldownWatcher, m as FunctionPluginHooks, mt as BuildOptions, n as RolldownOptionsFunction, nt as NormalizedOutputOptions, o as ExternalOptionFunction, ot as LoggingFunction, p as CustomPluginOptions, pt as RolldownBuild, q as PluginContextMeta, r as defineConfig, rt as NormalizedInputOptions, s as InputOption, st as WarningHandlerWithDefault, t as ConfigExport, tt as InternalModuleFormat, u as OptimizationOptions, ut as RolldownWatcherEvent, v as ModuleOptions, vt as ChunkFileNamesFunction, w as ResolveIdExtraOptions, wt as MinifyOptions, x as ParallelPluginHooks, xt as GeneratedCodeOptions, y as ModuleType, yt as ChunkingContext, z as EmittedAsset, zt as SourcemapIgnoreListOption } from "./shared/define-config-
|
|
3
|
+
import { $ as RolldownFileStats, A as TransformResult, B as EmittedFile, C as Plugin, Ct as GlobalsFunction, D as RolldownPlugin, Dt as PreRenderedAsset, E as ResolvedId, Et as OutputOptions, F as SourceMapInput, Ft as RolldownOutput, H as GetModuleInfo, I as OutputBundle, It as SourceMap, J as GeneralHookFilter, K as MinimalPluginContext, L as TreeshakingOptions, Mt as OutputChunk, N as VERSION, Nt as RenderedChunk, O as RolldownPluginOption, P as ExistingRawSourceMap, Pt as RenderedModule, Q as RolldownDirectoryEntry, R as TransformPluginContext, Rt as ModuleInfo, S as PartialResolvedId, St as GeneratedCodePreset, T as ResolveIdResult, Tt as ModuleFormat, U as PluginContext, V as EmittedPrebuiltChunk, W as DefineParallelPluginResult, X as ModuleTypeFilter, Y as HookFilter, Z as BufferEncoding, _ as LoadResult, _t as AdvancedChunksGroup, a as ExternalOption, at as ChecksOptions, b as ObjectHook, bt as CodeSplittingGroup, c as InputOptions, ct as watch, d as WatcherOptions, dt as WatchOptions, et as RolldownFsModule, f as AsyncPluginHooks, ft as rolldown, g as ImportKind, gt as AddonFunction, h as HookFilterExtension, ht as build, i as RolldownOptions, it as TransformOptions, jt as OutputAsset, k as SourceDescription, kt as PartialNull, l as ModuleTypes, lt as RolldownWatcher, m as FunctionPluginHooks, mt as BuildOptions, n as RolldownOptionsFunction, nt as NormalizedOutputOptions, o as ExternalOptionFunction, ot as LoggingFunction, p as CustomPluginOptions, pt as RolldownBuild, q as PluginContextMeta, r as defineConfig, rt as NormalizedInputOptions, s as InputOption, st as WarningHandlerWithDefault, t as ConfigExport, tt as InternalModuleFormat, u as OptimizationOptions, ut as RolldownWatcherEvent, v as ModuleOptions, vt as ChunkFileNamesFunction, w as ResolveIdExtraOptions, wt as MinifyOptions, x as ParallelPluginHooks, xt as GeneratedCodeOptions, y as ModuleType, yt as ChunkingContext, z as EmittedAsset, zt as SourcemapIgnoreListOption } from "./shared/define-config-C0bKR4ot.mjs";
|
|
4
4
|
export { AddonFunction, AdvancedChunksGroup, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, 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, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import { y as VERSION } from "./shared/normalize-string-or-regex-
|
|
4
|
-
import "./shared/rolldown-build-
|
|
5
|
-
import "./shared/bindingify-input-options-
|
|
6
|
-
import "./shared/parse-ast-index-
|
|
7
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-CjiZ0BRX.mjs";
|
|
3
|
+
import { y as VERSION } from "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
4
|
+
import "./shared/rolldown-build-CENRTWd-.mjs";
|
|
5
|
+
import "./shared/bindingify-input-options-Cbn4Fx-U.mjs";
|
|
6
|
+
import "./shared/parse-ast-index-oopYDFzI.mjs";
|
|
7
|
+
import { t as rolldown } from "./shared/rolldown-DA9aR8tX.mjs";
|
|
8
8
|
import { t as defineConfig } from "./shared/define-config-BF4P-Pum.mjs";
|
|
9
9
|
import { isMainThread } from "node:worker_threads";
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import "./shared/normalize-string-or-regex-
|
|
3
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
4
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
3
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-Cbn4Fx-U.mjs";
|
|
4
|
+
import "./shared/parse-ast-index-oopYDFzI.mjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-kAegJ1Bj.mjs";
|
|
2
|
-
import { C as Plugin, Ot as MaybePromise } from "./shared/define-config-
|
|
2
|
+
import { C as Plugin, Ot as MaybePromise } from "./shared/define-config-C0bKR4ot.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-
|
|
1
|
+
import "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-oopYDFzI.mjs";
|
|
3
3
|
|
|
4
4
|
export { parseAst, parseAstAsync };
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as BindingReplacePluginConfig } from "./shared/binding-kAegJ1Bj.mjs";
|
|
2
|
-
import { M as BuiltinPlugin } from "./shared/define-config-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
2
|
+
import { M as BuiltinPlugin } from "./shared/define-config-C0bKR4ot.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-BaMrri8j.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import "./shared/binding-BGro4B9r.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-CjC3YBVf.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-g6aWFjfR.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
6
6
|
/**
|
|
@@ -110,7 +110,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
110
110
|
try {
|
|
111
111
|
const binding = __require("@rollipop/rolldown-binding-android-arm64");
|
|
112
112
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm64/package.json").version;
|
|
113
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
113
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
114
114
|
return binding;
|
|
115
115
|
} catch (e) {
|
|
116
116
|
loadErrors.push(e);
|
|
@@ -124,7 +124,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
124
124
|
try {
|
|
125
125
|
const binding = __require("@rollipop/rolldown-binding-android-arm-eabi");
|
|
126
126
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm-eabi/package.json").version;
|
|
127
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
127
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
128
128
|
return binding;
|
|
129
129
|
} catch (e) {
|
|
130
130
|
loadErrors.push(e);
|
|
@@ -139,7 +139,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
139
139
|
try {
|
|
140
140
|
const binding = __require("@rollipop/rolldown-binding-win32-x64-gnu");
|
|
141
141
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-gnu/package.json").version;
|
|
142
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
142
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
143
143
|
return binding;
|
|
144
144
|
} catch (e) {
|
|
145
145
|
loadErrors.push(e);
|
|
@@ -153,7 +153,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
153
153
|
try {
|
|
154
154
|
const binding = __require("@rollipop/rolldown-binding-win32-x64-msvc");
|
|
155
155
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-msvc/package.json").version;
|
|
156
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
156
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
157
157
|
return binding;
|
|
158
158
|
} catch (e) {
|
|
159
159
|
loadErrors.push(e);
|
|
@@ -168,7 +168,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
168
168
|
try {
|
|
169
169
|
const binding = __require("@rollipop/rolldown-binding-win32-ia32-msvc");
|
|
170
170
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-ia32-msvc/package.json").version;
|
|
171
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
171
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
172
172
|
return binding;
|
|
173
173
|
} catch (e) {
|
|
174
174
|
loadErrors.push(e);
|
|
@@ -182,7 +182,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = __require("@rollipop/rolldown-binding-win32-arm64-msvc");
|
|
184
184
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-arm64-msvc/package.json").version;
|
|
185
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
185
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
186
186
|
return binding;
|
|
187
187
|
} catch (e) {
|
|
188
188
|
loadErrors.push(e);
|
|
@@ -197,7 +197,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
197
197
|
try {
|
|
198
198
|
const binding = __require("@rollipop/rolldown-binding-darwin-universal");
|
|
199
199
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-universal/package.json").version;
|
|
200
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
200
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
201
201
|
return binding;
|
|
202
202
|
} catch (e) {
|
|
203
203
|
loadErrors.push(e);
|
|
@@ -211,7 +211,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
211
211
|
try {
|
|
212
212
|
const binding = __require("@rollipop/rolldown-binding-darwin-x64");
|
|
213
213
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-x64/package.json").version;
|
|
214
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
214
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
215
215
|
return binding;
|
|
216
216
|
} catch (e) {
|
|
217
217
|
loadErrors.push(e);
|
|
@@ -225,7 +225,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
225
225
|
try {
|
|
226
226
|
const binding = __require("@rollipop/rolldown-binding-darwin-arm64");
|
|
227
227
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-arm64/package.json").version;
|
|
228
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
228
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
229
229
|
return binding;
|
|
230
230
|
} catch (e) {
|
|
231
231
|
loadErrors.push(e);
|
|
@@ -240,7 +240,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
240
240
|
try {
|
|
241
241
|
const binding = __require("@rollipop/rolldown-binding-freebsd-x64");
|
|
242
242
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-x64/package.json").version;
|
|
243
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
243
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
244
244
|
return binding;
|
|
245
245
|
} catch (e) {
|
|
246
246
|
loadErrors.push(e);
|
|
@@ -254,7 +254,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
254
254
|
try {
|
|
255
255
|
const binding = __require("@rollipop/rolldown-binding-freebsd-arm64");
|
|
256
256
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-arm64/package.json").version;
|
|
257
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
257
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
258
258
|
return binding;
|
|
259
259
|
} catch (e) {
|
|
260
260
|
loadErrors.push(e);
|
|
@@ -269,7 +269,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
269
269
|
try {
|
|
270
270
|
const binding = __require("@rollipop/rolldown-binding-linux-x64-musl");
|
|
271
271
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-musl/package.json").version;
|
|
272
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
272
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
273
273
|
return binding;
|
|
274
274
|
} catch (e) {
|
|
275
275
|
loadErrors.push(e);
|
|
@@ -283,7 +283,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
283
283
|
try {
|
|
284
284
|
const binding = __require("@rollipop/rolldown-binding-linux-x64-gnu");
|
|
285
285
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-gnu/package.json").version;
|
|
286
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
286
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
287
287
|
return binding;
|
|
288
288
|
} catch (e) {
|
|
289
289
|
loadErrors.push(e);
|
|
@@ -298,7 +298,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
298
298
|
try {
|
|
299
299
|
const binding = __require("@rollipop/rolldown-binding-linux-arm64-musl");
|
|
300
300
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-musl/package.json").version;
|
|
301
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
301
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
302
302
|
return binding;
|
|
303
303
|
} catch (e) {
|
|
304
304
|
loadErrors.push(e);
|
|
@@ -312,7 +312,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
312
312
|
try {
|
|
313
313
|
const binding = __require("@rollipop/rolldown-binding-linux-arm64-gnu");
|
|
314
314
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-gnu/package.json").version;
|
|
315
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
315
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
316
316
|
return binding;
|
|
317
317
|
} catch (e) {
|
|
318
318
|
loadErrors.push(e);
|
|
@@ -327,7 +327,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
327
327
|
try {
|
|
328
328
|
const binding = __require("@rollipop/rolldown-binding-linux-arm-musleabihf");
|
|
329
329
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-musleabihf/package.json").version;
|
|
330
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
330
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
331
331
|
return binding;
|
|
332
332
|
} catch (e) {
|
|
333
333
|
loadErrors.push(e);
|
|
@@ -341,7 +341,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
341
341
|
try {
|
|
342
342
|
const binding = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf");
|
|
343
343
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf/package.json").version;
|
|
344
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
344
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
345
345
|
return binding;
|
|
346
346
|
} catch (e) {
|
|
347
347
|
loadErrors.push(e);
|
|
@@ -356,7 +356,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
356
356
|
try {
|
|
357
357
|
const binding = __require("@rollipop/rolldown-binding-linux-loong64-musl");
|
|
358
358
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-musl/package.json").version;
|
|
359
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
359
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
360
360
|
return binding;
|
|
361
361
|
} catch (e) {
|
|
362
362
|
loadErrors.push(e);
|
|
@@ -370,7 +370,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
370
370
|
try {
|
|
371
371
|
const binding = __require("@rollipop/rolldown-binding-linux-loong64-gnu");
|
|
372
372
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-gnu/package.json").version;
|
|
373
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
373
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
374
374
|
return binding;
|
|
375
375
|
} catch (e) {
|
|
376
376
|
loadErrors.push(e);
|
|
@@ -385,7 +385,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
385
385
|
try {
|
|
386
386
|
const binding = __require("@rollipop/rolldown-binding-linux-riscv64-musl");
|
|
387
387
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-musl/package.json").version;
|
|
388
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
388
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
389
389
|
return binding;
|
|
390
390
|
} catch (e) {
|
|
391
391
|
loadErrors.push(e);
|
|
@@ -399,7 +399,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
399
399
|
try {
|
|
400
400
|
const binding = __require("@rollipop/rolldown-binding-linux-riscv64-gnu");
|
|
401
401
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-gnu/package.json").version;
|
|
402
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
402
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
403
403
|
return binding;
|
|
404
404
|
} catch (e) {
|
|
405
405
|
loadErrors.push(e);
|
|
@@ -414,7 +414,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
414
414
|
try {
|
|
415
415
|
const binding = __require("@rollipop/rolldown-binding-linux-ppc64-gnu");
|
|
416
416
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-ppc64-gnu/package.json").version;
|
|
417
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
417
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
418
418
|
return binding;
|
|
419
419
|
} catch (e) {
|
|
420
420
|
loadErrors.push(e);
|
|
@@ -428,7 +428,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
428
428
|
try {
|
|
429
429
|
const binding = __require("@rollipop/rolldown-binding-linux-s390x-gnu");
|
|
430
430
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-s390x-gnu/package.json").version;
|
|
431
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
431
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
432
432
|
return binding;
|
|
433
433
|
} catch (e) {
|
|
434
434
|
loadErrors.push(e);
|
|
@@ -443,7 +443,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
443
443
|
try {
|
|
444
444
|
const binding = __require("@rollipop/rolldown-binding-openharmony-arm64");
|
|
445
445
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm64/package.json").version;
|
|
446
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
446
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
447
447
|
return binding;
|
|
448
448
|
} catch (e) {
|
|
449
449
|
loadErrors.push(e);
|
|
@@ -457,7 +457,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
457
457
|
try {
|
|
458
458
|
const binding = __require("@rollipop/rolldown-binding-openharmony-x64");
|
|
459
459
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-x64/package.json").version;
|
|
460
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
460
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
461
461
|
return binding;
|
|
462
462
|
} catch (e) {
|
|
463
463
|
loadErrors.push(e);
|
|
@@ -471,7 +471,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
471
471
|
try {
|
|
472
472
|
const binding = __require("@rollipop/rolldown-binding-openharmony-arm");
|
|
473
473
|
const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm/package.json").version;
|
|
474
|
-
if (bindingPackageVersion !== "0.0.0-beta.
|
|
474
|
+
if (bindingPackageVersion !== "0.0.0-beta.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.0.0-beta.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
475
475
|
return binding;
|
|
476
476
|
} catch (e) {
|
|
477
477
|
loadErrors.push(e);
|
package/dist/shared/{bindingify-input-options-D0BAGfk2.mjs → bindingify-input-options-Cbn4Fx-U.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BGro4B9r.mjs";
|
|
2
2
|
import { c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-cyjC0SDv.mjs";
|
|
3
3
|
import { a as unreachable, o as unsupported, t as arraify } from "./misc-DpjTMcQQ.mjs";
|
|
4
|
-
import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-
|
|
5
|
-
import { t as parseAst } from "./parse-ast-index-
|
|
4
|
+
import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-CjC3YBVf.mjs";
|
|
5
|
+
import { t as parseAst } from "./parse-ast-index-oopYDFzI.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import * as filter from "@rollipop/rolldown-pluginutils";
|
|
8
8
|
import fsp from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, h as BindingViteBuildImportAnalysisPluginConfig, i as BindingEsmExternalRequirePluginConfig, k as BindingViteWasmHelperPluginConfig, o as BindingIsolatedDeclarationPluginConfig, p as BindingViteAssetImportMetaUrlPluginConfig, v as BindingViteDynamicImportVarsPluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteHtmlInlineProxyPluginConfig } from "./binding-kAegJ1Bj.mjs";
|
|
2
|
-
import { At as StringOrRegExp, M as BuiltinPlugin } from "./define-config-
|
|
2
|
+
import { At as StringOrRegExp, M as BuiltinPlugin } from "./define-config-C0bKR4ot.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 { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CjC3YBVf.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/builtin-plugin/constructors.ts
|
|
4
4
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
@@ -818,6 +818,12 @@ interface OutputOptions {
|
|
|
818
818
|
* @default false
|
|
819
819
|
*/
|
|
820
820
|
keepNames?: boolean;
|
|
821
|
+
/**
|
|
822
|
+
* Reserved global identifiers to be avoided when generating export binding names for module chunks.
|
|
823
|
+
*
|
|
824
|
+
* @default []
|
|
825
|
+
*/
|
|
826
|
+
globalIdentifiers?: string[];
|
|
821
827
|
}
|
|
822
828
|
type CodeSplittingGroup = {
|
|
823
829
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BGro4B9r.mjs";
|
|
2
2
|
import { a as logInvalidLogPosition, c as logPluginError, n as error } from "./logs-cyjC0SDv.mjs";
|
|
3
3
|
import { r as noop } from "./misc-DpjTMcQQ.mjs";
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
|
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region package.json
|
|
35
|
-
var version = "0.0.0-beta.
|
|
35
|
+
var version = "0.0.0-beta.1";
|
|
36
36
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BGro4B9r.mjs";
|
|
2
2
|
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./logs-cyjC0SDv.mjs";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/oxc-parser@0.108.0/node_modules/oxc-parser/src-js/wrap.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-
|
|
1
|
+
import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-CENRTWd-.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/api/rolldown/index.ts
|
|
4
4
|
/** @category Programmatic APIs */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BGro4B9r.mjs";
|
|
2
2
|
import { i as logInputHookInOutputPlugin, n as error } from "./logs-cyjC0SDv.mjs";
|
|
3
3
|
import { i as unimplemented } from "./misc-DpjTMcQQ.mjs";
|
|
4
|
-
import { C as LOG_LEVEL_DEBUG, D as logLevelPriority, E as LOG_LEVEL_WARN, S as normalizeLog, T as LOG_LEVEL_INFO, _ as PlainObjectLike, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, n as BuiltinPlugin, p as __decorate, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_ERROR, y as VERSION } from "./normalize-string-or-regex-
|
|
5
|
-
import { c as normalizeHook, i as transformModuleInfo, s as unwrapBindingResult, t as bindingifyInputOptions } from "./bindingify-input-options-
|
|
4
|
+
import { C as LOG_LEVEL_DEBUG, D as logLevelPriority, E as LOG_LEVEL_WARN, S as normalizeLog, T as LOG_LEVEL_INFO, _ as PlainObjectLike, f as transformRenderedChunk, g as lazyProp, h as transformAssetSource, n as BuiltinPlugin, p as __decorate, u as transformToRollupOutput, v as MinimalPluginContextImpl, w as LOG_LEVEL_ERROR, y as VERSION } from "./normalize-string-or-regex-CjC3YBVf.mjs";
|
|
5
|
+
import { c as normalizeHook, i as transformModuleInfo, s as unwrapBindingResult, t as bindingifyInputOptions } from "./bindingify-input-options-Cbn4Fx-U.mjs";
|
|
6
6
|
import { Worker } from "node:worker_threads";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { styleText } from "node:util";
|
|
@@ -2025,7 +2025,7 @@ var ChunkingContextImpl = class {
|
|
|
2025
2025
|
//#endregion
|
|
2026
2026
|
//#region src/utils/bindingify-output-options.ts
|
|
2027
2027
|
function bindingifyOutputOptions(outputOptions) {
|
|
2028
|
-
const { dir, format, exports, hashCharacters, sourcemap, sourcemapBaseUrl, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, postBanner, postFooter, intro, outro, esModule, globals, paths, generatedCode, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot, manualChunks, topLevelVar, cleanDir } = outputOptions;
|
|
2028
|
+
const { dir, format, exports, hashCharacters, sourcemap, sourcemapBaseUrl, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, postBanner, postFooter, intro, outro, esModule, globals, paths, generatedCode, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot, manualChunks, topLevelVar, cleanDir, globalIdentifiers } = outputOptions;
|
|
2029
2029
|
if (outputOptions.inlineDynamicImports === true) {
|
|
2030
2030
|
if (manualChunks != null) throw new Error("Invalid value \"true\" for option \"output.inlineDynamicImports\" - this option is not supported for \"output.manualChunks\".");
|
|
2031
2031
|
}
|
|
@@ -2072,7 +2072,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
2072
2072
|
preserveModulesRoot,
|
|
2073
2073
|
topLevelVar,
|
|
2074
2074
|
minifyInternalExports: outputOptions.minifyInternalExports,
|
|
2075
|
-
cleanDir
|
|
2075
|
+
cleanDir,
|
|
2076
|
+
globalIdentifiers
|
|
2076
2077
|
};
|
|
2077
2078
|
}
|
|
2078
2079
|
function bindingifyAddon(configAddon) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BGro4B9r.mjs";
|
|
2
2
|
import { o as logMultiplyNotifyOption } from "./logs-cyjC0SDv.mjs";
|
|
3
3
|
import { t as arraify } from "./misc-DpjTMcQQ.mjs";
|
|
4
|
-
import { E as LOG_LEVEL_WARN } from "./normalize-string-or-regex-
|
|
5
|
-
import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-
|
|
6
|
-
import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options-
|
|
4
|
+
import { E as LOG_LEVEL_WARN } from "./normalize-string-or-regex-CjC3YBVf.mjs";
|
|
5
|
+
import { l as PluginDriver, n as createBundlerOptions } from "./rolldown-build-CENRTWd-.mjs";
|
|
6
|
+
import { a as aggregateBindingErrorsIntoJsError } from "./bindingify-input-options-Cbn4Fx-U.mjs";
|
|
7
7
|
|
|
8
8
|
//#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollipop/rolldown",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.1",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bundler",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@oxc-project/types": "=0.108.0",
|
|
56
|
-
"@rollipop/rolldown-pluginutils": "0.0.0-beta.
|
|
56
|
+
"@rollipop/rolldown-pluginutils": "0.0.0-beta.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@napi-rs/cli": "^3.4.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"source-map": "^0.7.6",
|
|
74
74
|
"typescript": "^5.8.3",
|
|
75
75
|
"valibot": "1.2.0",
|
|
76
|
-
"@rollipop/rolldown": "0.0.0-beta.
|
|
76
|
+
"@rollipop/rolldown": "0.0.0-beta.1"
|
|
77
77
|
},
|
|
78
78
|
"napi": {
|
|
79
79
|
"binaryName": "rolldown-binding",
|
|
@@ -94,14 +94,14 @@
|
|
|
94
94
|
"node": "^20.19.0 || >=22.12.0"
|
|
95
95
|
},
|
|
96
96
|
"optionalDependencies": {
|
|
97
|
-
"@rollipop/rolldown-binding-darwin-x64": "0.0.0-beta.
|
|
98
|
-
"@rollipop/rolldown-binding-win32-x64-msvc": "0.0.0-beta.
|
|
99
|
-
"@rollipop/rolldown-binding-linux-x64-gnu": "0.0.0-beta.
|
|
100
|
-
"@rollipop/rolldown-binding-linux-x64-musl": "0.0.0-beta.
|
|
101
|
-
"@rollipop/rolldown-binding-linux-arm64-gnu": "0.0.0-beta.
|
|
102
|
-
"@rollipop/rolldown-binding-darwin-arm64": "0.0.0-beta.
|
|
103
|
-
"@rollipop/rolldown-binding-linux-arm64-musl": "0.0.0-beta.
|
|
104
|
-
"@rollipop/rolldown-binding-win32-arm64-msvc": "0.0.0-beta.
|
|
97
|
+
"@rollipop/rolldown-binding-darwin-x64": "0.0.0-beta.1",
|
|
98
|
+
"@rollipop/rolldown-binding-win32-x64-msvc": "0.0.0-beta.1",
|
|
99
|
+
"@rollipop/rolldown-binding-linux-x64-gnu": "0.0.0-beta.1",
|
|
100
|
+
"@rollipop/rolldown-binding-linux-x64-musl": "0.0.0-beta.1",
|
|
101
|
+
"@rollipop/rolldown-binding-linux-arm64-gnu": "0.0.0-beta.1",
|
|
102
|
+
"@rollipop/rolldown-binding-darwin-arm64": "0.0.0-beta.1",
|
|
103
|
+
"@rollipop/rolldown-binding-linux-arm64-musl": "0.0.0-beta.1",
|
|
104
|
+
"@rollipop/rolldown-binding-win32-arm64-msvc": "0.0.0-beta.1"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"# Scrips for binding #": "_",
|