rolldown 1.0.0-beta.11-commit.0a985f3 → 1.0.0-beta.12-commit.ee57cb6
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.cjs +13 -7
- package/dist/cli.mjs +13 -7
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/experimental-index.cjs +2 -2
- package/dist/experimental-index.d.cts +1 -1
- package/dist/experimental-index.d.mts +1 -1
- package/dist/experimental-index.mjs +2 -2
- package/dist/filter-index.d.cts +1 -1
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +2 -2
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.cts +1 -1
- package/dist/parallel-plugin.d.mts +1 -1
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/shared/{define-config-D9V573sm.d.cts → define-config-DHHoUVzc.d.cts} +1 -0
- package/dist/shared/{define-config-BkHHwWis.d.mts → define-config-vnzA0O7w.d.mts} +1 -0
- package/dist/shared/{load-config-BIXZ-G-D.mjs → load-config-BvtZnV7_.mjs} +1 -1
- package/dist/shared/{load-config-rMNUBFn7.cjs → load-config-e8L8npIz.cjs} +1 -1
- package/dist/shared/{parse-ast-index-DMLed52y.mjs → parse-ast-index-BAuPesgO.mjs} +2 -2
- package/dist/shared/{parse-ast-index-CDyhHDkm.cjs → parse-ast-index-C53MhHqY.cjs} +1 -1
- package/dist/shared/{src-CnfoHFBH.cjs → src-PVyRXw_E.cjs} +14 -6
- package/dist/shared/{src-Dwb_rX9h.mjs → src-rnjdHwWk.mjs} +14 -6
- package/package.json +19 -19
package/dist/cli.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-PVyRXw_E.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
4
4
|
const require_misc = require('./shared/misc-BKp5iIef.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-e8L8npIz.cjs');
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
8
8
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
@@ -1030,6 +1030,10 @@ const alias = {
|
|
|
1030
1030
|
default: true,
|
|
1031
1031
|
reverse: true
|
|
1032
1032
|
},
|
|
1033
|
+
preserveEntrySignatures: {
|
|
1034
|
+
default: "strict",
|
|
1035
|
+
reverse: true
|
|
1036
|
+
},
|
|
1033
1037
|
moduleTypes: { hint: "types" }
|
|
1034
1038
|
};
|
|
1035
1039
|
|
|
@@ -1139,8 +1143,10 @@ const options = Object.fromEntries(Object.entries(flattenedSchema).filter(([_key
|
|
|
1139
1143
|
hint: config?.hint
|
|
1140
1144
|
};
|
|
1141
1145
|
if (config && config?.abbreviation) result.short = config?.abbreviation;
|
|
1142
|
-
if (config && config.reverse)
|
|
1143
|
-
|
|
1146
|
+
if (config && config.reverse) {
|
|
1147
|
+
if (result.description.startsWith("enable")) result.description = result.description.replace("enable", "disable");
|
|
1148
|
+
else if (!result.description.startsWith("Avoid")) result.description = `disable ${result.description}`;
|
|
1149
|
+
}
|
|
1144
1150
|
key = camelCaseToKebabCase(key);
|
|
1145
1151
|
return [config?.reverse ? `no-${key}` : key, result];
|
|
1146
1152
|
}));
|
|
@@ -1418,8 +1424,8 @@ const process$2 = globalThis.process;
|
|
|
1418
1424
|
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
1419
1425
|
|
|
1420
1426
|
//#endregion
|
|
1421
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.72.
|
|
1422
|
-
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.
|
|
1427
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1428
|
+
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1423
1429
|
function _usingCtx() {
|
|
1424
1430
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1425
1431
|
var n$2 = Error();
|
package/dist/cli.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
2
|
+
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-rnjdHwWk.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
4
4
|
import { arraify, init_misc } from "./shared/misc-DGAe2XOW.mjs";
|
|
5
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
5
|
+
import { init_load_config, loadConfig } from "./shared/load-config-BvtZnV7_.mjs";
|
|
6
6
|
import path, { sep } from "node:path";
|
|
7
7
|
import colors from "ansis";
|
|
8
8
|
import process$1 from "node:process";
|
|
@@ -1048,6 +1048,10 @@ var init_alias = __esm({ "src/cli/arguments/alias.ts"() {
|
|
|
1048
1048
|
default: true,
|
|
1049
1049
|
reverse: true
|
|
1050
1050
|
},
|
|
1051
|
+
preserveEntrySignatures: {
|
|
1052
|
+
default: "strict",
|
|
1053
|
+
reverse: true
|
|
1054
|
+
},
|
|
1051
1055
|
moduleTypes: { hint: "types" }
|
|
1052
1056
|
};
|
|
1053
1057
|
} });
|
|
@@ -1244,8 +1248,10 @@ var init_arguments = __esm({ "src/cli/arguments/index.ts"() {
|
|
|
1244
1248
|
hint: config?.hint
|
|
1245
1249
|
};
|
|
1246
1250
|
if (config && config?.abbreviation) result.short = config?.abbreviation;
|
|
1247
|
-
if (config && config.reverse)
|
|
1248
|
-
|
|
1251
|
+
if (config && config.reverse) {
|
|
1252
|
+
if (result.description.startsWith("enable")) result.description = result.description.replace("enable", "disable");
|
|
1253
|
+
else if (!result.description.startsWith("Avoid")) result.description = `disable ${result.description}`;
|
|
1254
|
+
}
|
|
1249
1255
|
key = camelCaseToKebabCase(key);
|
|
1250
1256
|
return [config?.reverse ? `no-${key}` : key, result];
|
|
1251
1257
|
}));
|
|
@@ -1434,8 +1440,8 @@ var init_mjs = __esm({ "../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/
|
|
|
1434
1440
|
} });
|
|
1435
1441
|
|
|
1436
1442
|
//#endregion
|
|
1437
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.72.
|
|
1438
|
-
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.
|
|
1443
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1444
|
+
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.3/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1439
1445
|
function _usingCtx() {
|
|
1440
1446
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1441
1447
|
var n$2 = Error();
|
package/dist/config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
2
|
-
require('./shared/parse-ast-index-
|
|
1
|
+
const require_src = require('./shared/src-PVyRXw_E.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
3
3
|
require('./shared/misc-BKp5iIef.cjs');
|
|
4
|
-
const require_load_config = require('./shared/load-config-
|
|
4
|
+
const require_load_config = require('./shared/load-config-e8L8npIz.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
const VERSION = require_src.version;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-TjXg6Uds.cjs";
|
|
2
|
-
import { ConfigExport, defineConfig } from "./shared/define-config-
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-DHHoUVzc.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-BHIN6Pwt.mjs";
|
|
2
|
-
import { ConfigExport, defineConfig } from "./shared/define-config-
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-vnzA0O7w.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineConfig, version } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { defineConfig, version } from "./shared/src-rnjdHwWk.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
3
3
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
4
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
4
|
+
import { init_load_config, loadConfig } from "./shared/load-config-BvtZnV7_.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
init_load_config();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-PVyRXw_E.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
4
4
|
require('./shared/misc-BKp5iIef.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-TjXg6Uds.cjs";
|
|
2
|
-
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-DHHoUVzc.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-BHIN6Pwt.mjs";
|
|
2
|
-
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-vnzA0O7w.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { BuiltinPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-
|
|
3
|
-
import { require_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { BuiltinPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-rnjdHwWk.mjs";
|
|
3
|
+
import { require_binding } from "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
4
4
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
|
package/dist/filter-index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./shared/binding-TjXg6Uds.cjs";
|
|
2
|
-
import { withFilter } from "./shared/define-config-
|
|
2
|
+
import { withFilter } from "./shared/define-config-DHHoUVzc.cjs";
|
|
3
3
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
4
4
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./shared/binding-BHIN6Pwt.mjs";
|
|
2
|
-
import { withFilter } from "./shared/define-config-
|
|
2
|
+
import { withFilter } from "./shared/define-config-vnzA0O7w.mjs";
|
|
3
3
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
4
4
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
2
|
-
require('./shared/parse-ast-index-
|
|
1
|
+
const require_src = require('./shared/src-PVyRXw_E.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
3
3
|
require('./shared/misc-BKp5iIef.cjs');
|
|
4
4
|
|
|
5
5
|
exports.VERSION = require_src.VERSION;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PreRenderedChunk } from "./shared/binding-TjXg6Uds.cjs";
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-DHHoUVzc.cjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PreRenderedChunk } from "./shared/binding-BHIN6Pwt.mjs";
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-vnzA0O7w.mjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-rnjdHwWk.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
3
3
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
4
4
|
|
|
5
5
|
init_src();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-PVyRXw_E.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
4
4
|
require('./shared/misc-BKp5iIef.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS, __toESM } from "./shared/chunk--iN_1bjD.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
3
|
-
import { require_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-rnjdHwWk.mjs";
|
|
3
|
+
import { require_binding } from "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
4
4
|
import "./shared/misc-DGAe2XOW.mjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-TjXg6Uds.cjs";
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config-
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-DHHoUVzc.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./shared/binding-BHIN6Pwt.mjs";
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config-
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-vnzA0O7w.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
1
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-C53MhHqY.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst;
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-
|
|
1
|
+
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-BAuPesgO.mjs";
|
|
2
2
|
|
|
3
3
|
init_parse_ast_index();
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
@@ -282,6 +282,7 @@ interface OutputOptions {
|
|
|
282
282
|
preserveModules?: boolean;
|
|
283
283
|
virtualDirname?: string;
|
|
284
284
|
preserveModulesRoot?: string;
|
|
285
|
+
preserveEntrySignatures?: false | "strict" | "allow-extension" | "exports-only";
|
|
285
286
|
}
|
|
286
287
|
//#endregion
|
|
287
288
|
//#region src/api/build.d.ts
|
|
@@ -282,6 +282,7 @@ interface OutputOptions {
|
|
|
282
282
|
preserveModules?: boolean;
|
|
283
283
|
virtualDirname?: string;
|
|
284
284
|
preserveModulesRoot?: string;
|
|
285
|
+
preserveEntrySignatures?: false | "strict" | "allow-extension" | "exports-only";
|
|
285
286
|
}
|
|
286
287
|
//#endregion
|
|
287
288
|
//#region src/api/build.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm } from "./chunk--iN_1bjD.mjs";
|
|
2
|
-
import { init_rolldown, rolldown } from "./src-
|
|
2
|
+
import { init_rolldown, rolldown } from "./src-rnjdHwWk.mjs";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./src-
|
|
2
|
+
const require_src = require('./src-PVyRXw_E.cjs');
|
|
3
3
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -569,7 +569,7 @@ var init_logs = __esm({ "src/log/logs.ts"() {
|
|
|
569
569
|
} });
|
|
570
570
|
|
|
571
571
|
//#endregion
|
|
572
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.72.
|
|
572
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.72.3/node_modules/oxc-parser/wrap.mjs
|
|
573
573
|
function wrap$1(result) {
|
|
574
574
|
let program, module$1, comments, errors;
|
|
575
575
|
return {
|
|
@@ -604,7 +604,7 @@ function applyFix(program, fixPath) {
|
|
|
604
604
|
node.value = RegExp(node.regex.pattern, node.regex.flags);
|
|
605
605
|
} catch (_err) {}
|
|
606
606
|
}
|
|
607
|
-
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.72.
|
|
607
|
+
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.72.3/node_modules/oxc-parser/wrap.mjs"() {} });
|
|
608
608
|
|
|
609
609
|
//#endregion
|
|
610
610
|
//#region src/parse-ast-index.ts
|
|
@@ -560,7 +560,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
//#endregion
|
|
563
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.72.
|
|
563
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.72.3/node_modules/oxc-parser/wrap.mjs
|
|
564
564
|
function wrap$1(result) {
|
|
565
565
|
let program, module$1, comments, errors;
|
|
566
566
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
2
|
+
const require_parse_ast_index = require('./parse-ast-index-C53MhHqY.cjs');
|
|
3
3
|
const require_misc = require('./misc-BKp5iIef.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -9,7 +9,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
9
9
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.
|
|
12
|
+
var version = "1.0.0-beta.12-commit.ee57cb6";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -2159,6 +2159,12 @@ const OutputOptionsSchema = strictObject({
|
|
|
2159
2159
|
}, () => `The 'true' value is not supported`)),
|
|
2160
2160
|
preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
|
|
2161
2161
|
preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
|
|
2162
|
+
preserveEntrySignatures: pipe(optional(union([
|
|
2163
|
+
literal("strict"),
|
|
2164
|
+
literal("allow-extension"),
|
|
2165
|
+
literal("exports-only"),
|
|
2166
|
+
literal(false)
|
|
2167
|
+
]))),
|
|
2162
2168
|
virtualDirname: optional(string())
|
|
2163
2169
|
});
|
|
2164
2170
|
const getAddonDescription = (placement, wrapper) => {
|
|
@@ -2181,7 +2187,8 @@ const OutputCliOverrideSchema = strictObject({
|
|
|
2181
2187
|
minSize: pipe(optional(number()), description("Minimum size of the chunk")),
|
|
2182
2188
|
minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
|
|
2183
2189
|
})), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
2184
|
-
minify: pipe(optional(boolean()), description("Minify the bundled file"))
|
|
2190
|
+
minify: pipe(optional(boolean()), description("Minify the bundled file")),
|
|
2191
|
+
preserveEntrySignatures: pipe(optional(union([literal(false)])), description("Avoid facade chunks for entry points"))
|
|
2185
2192
|
});
|
|
2186
2193
|
const OutputCliOptionsSchema = omit(strictObject({
|
|
2187
2194
|
...OutputOptionsSchema.entries,
|
|
@@ -2946,7 +2953,7 @@ function transformChunkModules(modules) {
|
|
|
2946
2953
|
//#endregion
|
|
2947
2954
|
//#region src/utils/bindingify-output-options.ts
|
|
2948
2955
|
function bindingifyOutputOptions(outputOptions) {
|
|
2949
|
-
const { dir, format, exports: exports$1, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot } = outputOptions;
|
|
2956
|
+
const { dir, format, exports: exports$1, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot, preserveEntrySignatures } = outputOptions;
|
|
2950
2957
|
return {
|
|
2951
2958
|
dir,
|
|
2952
2959
|
file: file == null ? void 0 : file,
|
|
@@ -2980,7 +2987,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
2980
2987
|
preserveModules,
|
|
2981
2988
|
virtualDirname,
|
|
2982
2989
|
legalComments,
|
|
2983
|
-
preserveModulesRoot
|
|
2990
|
+
preserveModulesRoot,
|
|
2991
|
+
preserveEntrySignatures
|
|
2984
2992
|
};
|
|
2985
2993
|
}
|
|
2986
2994
|
function bindingifyAddon(configAddon) {
|
|
@@ -3243,7 +3251,7 @@ function transformToOutputBundle(context, output, changed) {
|
|
|
3243
3251
|
set(_target, _p, _newValue, _receiver) {
|
|
3244
3252
|
const originalStackTraceLimit = Error.stackTraceLimit;
|
|
3245
3253
|
Error.stackTraceLimit = 2;
|
|
3246
|
-
const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored.";
|
|
3254
|
+
const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored. https://rollupjs.org/plugin-development/#generatebundle:~:text=DANGER,this.emitFile.";
|
|
3247
3255
|
const stack = new Error(message).stack ?? message;
|
|
3248
3256
|
Error.stackTraceLimit = originalStackTraceLimit;
|
|
3249
3257
|
context.warn({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm, __toESM } from "./chunk--iN_1bjD.mjs";
|
|
2
|
-
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-
|
|
2
|
+
import { augmentCodeLocation, error, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, require_binding } from "./parse-ast-index-BAuPesgO.mjs";
|
|
3
3
|
import { arraify, init_misc, isNullish, noop, unimplemented, unreachable, unsupported } from "./misc-DGAe2XOW.mjs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -9,7 +9,7 @@ import os from "node:os";
|
|
|
9
9
|
import { Worker } from "node:worker_threads";
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.
|
|
12
|
+
var version = "1.0.0-beta.12-commit.ee57cb6";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -2248,6 +2248,12 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
|
|
|
2248
2248
|
}, () => `The 'true' value is not supported`)),
|
|
2249
2249
|
preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
|
|
2250
2250
|
preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
|
|
2251
|
+
preserveEntrySignatures: pipe(optional(union([
|
|
2252
|
+
literal("strict"),
|
|
2253
|
+
literal("allow-extension"),
|
|
2254
|
+
literal("exports-only"),
|
|
2255
|
+
literal(false)
|
|
2256
|
+
]))),
|
|
2251
2257
|
virtualDirname: optional(string())
|
|
2252
2258
|
});
|
|
2253
2259
|
getAddonDescription = (placement, wrapper) => {
|
|
@@ -2270,7 +2276,8 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
|
|
|
2270
2276
|
minSize: pipe(optional(number()), description("Minimum size of the chunk")),
|
|
2271
2277
|
minShareCount: pipe(optional(number()), description("Minimum share count of the chunk"))
|
|
2272
2278
|
})), description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
2273
|
-
minify: pipe(optional(boolean()), description("Minify the bundled file"))
|
|
2279
|
+
minify: pipe(optional(boolean()), description("Minify the bundled file")),
|
|
2280
|
+
preserveEntrySignatures: pipe(optional(union([literal(false)])), description("Avoid facade chunks for entry points"))
|
|
2274
2281
|
});
|
|
2275
2282
|
OutputCliOptionsSchema = omit(strictObject({
|
|
2276
2283
|
...OutputOptionsSchema.entries,
|
|
@@ -3067,7 +3074,7 @@ var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.
|
|
|
3067
3074
|
//#endregion
|
|
3068
3075
|
//#region src/utils/bindingify-output-options.ts
|
|
3069
3076
|
function bindingifyOutputOptions(outputOptions) {
|
|
3070
|
-
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot } = outputOptions;
|
|
3077
|
+
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, preserveModulesRoot, preserveEntrySignatures } = outputOptions;
|
|
3071
3078
|
return {
|
|
3072
3079
|
dir,
|
|
3073
3080
|
file: file == null ? void 0 : file,
|
|
@@ -3101,7 +3108,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
3101
3108
|
preserveModules,
|
|
3102
3109
|
virtualDirname,
|
|
3103
3110
|
legalComments,
|
|
3104
|
-
preserveModulesRoot
|
|
3111
|
+
preserveModulesRoot,
|
|
3112
|
+
preserveEntrySignatures
|
|
3105
3113
|
};
|
|
3106
3114
|
}
|
|
3107
3115
|
function bindingifyAddon(configAddon) {
|
|
@@ -3373,7 +3381,7 @@ function transformToOutputBundle(context, output, changed) {
|
|
|
3373
3381
|
set(_target, _p, _newValue, _receiver) {
|
|
3374
3382
|
const originalStackTraceLimit = Error.stackTraceLimit;
|
|
3375
3383
|
Error.stackTraceLimit = 2;
|
|
3376
|
-
const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored.";
|
|
3384
|
+
const message = "This plugin assigns to bundle variable. This is discouraged by Rollup and is not supported by Rolldown. This will be ignored. https://rollupjs.org/plugin-development/#generatebundle:~:text=DANGER,this.emitFile.";
|
|
3377
3385
|
const stack = new Error(message).stack ?? message;
|
|
3378
3386
|
Error.stackTraceLimit = originalStackTraceLimit;
|
|
3379
3387
|
context.warn({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.12-commit.ee57cb6",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\n\n"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@oxc-project/runtime": "=0.72.
|
|
94
|
-
"@oxc-project/types": "=0.72.
|
|
93
|
+
"@oxc-project/runtime": "=0.72.3",
|
|
94
|
+
"@oxc-project/types": "=0.72.3",
|
|
95
95
|
"ansis": "^4.0.0",
|
|
96
|
-
"@rolldown/pluginutils": "1.0.0-beta.
|
|
96
|
+
"@rolldown/pluginutils": "1.0.0-beta.12-commit.ee57cb6"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@napi-rs/cli": "3.0.0-alpha.87",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"emnapi": "^1.2.0",
|
|
107
107
|
"execa": "^9.2.0",
|
|
108
108
|
"glob": "^11.0.0",
|
|
109
|
-
"oxc-parser": "=0.72.
|
|
109
|
+
"oxc-parser": "=0.72.3",
|
|
110
110
|
"remeda": "^2.10.0",
|
|
111
111
|
"rolldown-plugin-dts": "^0.13.6",
|
|
112
112
|
"rollup": "^4.18.0",
|
|
@@ -117,22 +117,22 @@
|
|
|
117
117
|
"typedoc": "^0.28.0",
|
|
118
118
|
"typescript": "^5.7.3",
|
|
119
119
|
"valibot": "1.1.0",
|
|
120
|
-
"
|
|
121
|
-
"rolldown": "
|
|
120
|
+
"rolldown": "1.0.0-beta.12-commit.ee57cb6",
|
|
121
|
+
"@rolldown/testing": "0.0.1"
|
|
122
122
|
},
|
|
123
123
|
"optionalDependencies": {
|
|
124
|
-
"@rolldown/binding-darwin-
|
|
125
|
-
"@rolldown/binding-
|
|
126
|
-
"@rolldown/binding-
|
|
127
|
-
"@rolldown/binding-linux-
|
|
128
|
-
"@rolldown/binding-
|
|
129
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.
|
|
132
|
-
"@rolldown/binding-
|
|
133
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.
|
|
134
|
-
"@rolldown/binding-win32-
|
|
135
|
-
"@rolldown/binding-
|
|
124
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.12-commit.ee57cb6",
|
|
125
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.12-commit.ee57cb6",
|
|
126
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.12-commit.ee57cb6",
|
|
127
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.12-commit.ee57cb6",
|
|
128
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.12-commit.ee57cb6",
|
|
129
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.12-commit.ee57cb6",
|
|
130
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.12-commit.ee57cb6",
|
|
131
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.12-commit.ee57cb6",
|
|
132
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.12-commit.ee57cb6",
|
|
133
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.12-commit.ee57cb6",
|
|
134
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.12-commit.ee57cb6",
|
|
135
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.12-commit.ee57cb6"
|
|
136
136
|
},
|
|
137
137
|
"scripts": {
|
|
138
138
|
"# Scrips for binding #": "_",
|