rolldown 1.0.0-beta.30 → 1.0.0-beta.31
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 +20 -5
- package/dist/cli.mjs +20 -5
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +3 -3
- package/dist/experimental-index.cjs +2 -2
- package/dist/experimental-index.d.cts +2 -2
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +2 -2
- package/dist/experimental-runtime-types.d.ts +2 -0
- package/dist/filter-index.d.cts +2 -2
- package/dist/filter-index.d.mts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- 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 +2 -2
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.d.cts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/shared/{binding-BAyrv67G.d.cts → binding-B2f_h9DF.d.mts} +15 -1
- package/dist/shared/{binding-DUz1Q2JW.d.mts → binding-CCkTRaSB.d.cts} +15 -1
- package/dist/shared/{define-config-D_KKKWbo.d.mts → define-config-BSYGonXk.d.mts} +7 -3
- package/dist/shared/{define-config-CMH1jWhX.d.cts → define-config-BzVT47Bj.d.cts} +7 -3
- package/dist/shared/{load-config-BtTrX40c.cjs → load-config-BpWL-vMP.cjs} +1 -1
- package/dist/shared/{load-config-BWjPkvnW.mjs → load-config-DL286H4s.mjs} +1 -1
- package/dist/shared/{parse-ast-index-DyFjvjrb.mjs → parse-ast-index-B-b57oWx.mjs} +1 -1
- package/dist/shared/{parse-ast-index-DrqwhzH4.cjs → parse-ast-index-CKLoWOY8.cjs} +1 -1
- package/dist/shared/{src-DR2upIfp.mjs → src-Cs-HV-Wp.mjs} +28 -21
- package/dist/shared/{src-CRRyjCYJ.cjs → src-D5CeiA1y.cjs} +28 -21
- package/package.json +22 -22
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-D5CeiA1y.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-CKLoWOY8.cjs');
|
|
4
4
|
const require_misc = require('./shared/misc-DksvspN4.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-BpWL-vMP.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"));
|
|
@@ -1424,8 +1424,19 @@ const process$2 = globalThis.process;
|
|
|
1424
1424
|
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
1425
1425
|
|
|
1426
1426
|
//#endregion
|
|
1427
|
-
//#region
|
|
1428
|
-
|
|
1427
|
+
//#region src/utils/clear-screen.ts
|
|
1428
|
+
const CLEAR_SCREEN = "\x1Bc";
|
|
1429
|
+
function getClearScreenFunction(options$1) {
|
|
1430
|
+
const isTTY = process.stdout.isTTY;
|
|
1431
|
+
const isAnyOptionNotAllowingClearScreen = require_misc.arraify(options$1).some(({ watch: watch$1 }) => watch$1 === false || watch$1?.clearScreen === false);
|
|
1432
|
+
if (isTTY && !isAnyOptionNotAllowingClearScreen) return () => {
|
|
1433
|
+
process.stdout.write(CLEAR_SCREEN);
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
//#endregion
|
|
1438
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.80.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1439
|
+
var require_usingCtx = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.80.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js": ((exports, module) => {
|
|
1429
1440
|
function _usingCtx() {
|
|
1430
1441
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1431
1442
|
var n$2 = Error();
|
|
@@ -1551,8 +1562,12 @@ async function watchInner(config, cliOptions) {
|
|
|
1551
1562
|
watcher.on("change", (id, event) => {
|
|
1552
1563
|
if (event.event === "update") changedFile.push(id);
|
|
1553
1564
|
});
|
|
1565
|
+
const clearScreen = getClearScreenFunction(normalizedConfig);
|
|
1554
1566
|
watcher.on("event", async (event) => {
|
|
1555
1567
|
switch (event.code) {
|
|
1568
|
+
case "START":
|
|
1569
|
+
clearScreen?.();
|
|
1570
|
+
break;
|
|
1556
1571
|
case "BUNDLE_START":
|
|
1557
1572
|
if (changedFile.length > 0) logger.log(`Found ${ansis.default.bold(changedFile.map(relativeId).join(", "))} changed, rebuilding...`);
|
|
1558
1573
|
changedFile.length = 0;
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __commonJS, __toESM } from "./shared/parse-ast-index-
|
|
2
|
-
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
1
|
+
import { __commonJS, __toESM } from "./shared/parse-ast-index-B-b57oWx.mjs";
|
|
2
|
+
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-Cs-HV-Wp.mjs";
|
|
3
3
|
import { arraify } from "./shared/misc-CQeo-AFx.mjs";
|
|
4
|
-
import { loadConfig } from "./shared/load-config-
|
|
4
|
+
import { loadConfig } from "./shared/load-config-DL286H4s.mjs";
|
|
5
5
|
import path, { sep } from "node:path";
|
|
6
6
|
import colors from "ansis";
|
|
7
7
|
import process$1 from "node:process";
|
|
@@ -1423,8 +1423,19 @@ const process$2 = globalThis.process;
|
|
|
1423
1423
|
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
1424
1424
|
|
|
1425
1425
|
//#endregion
|
|
1426
|
-
//#region
|
|
1427
|
-
|
|
1426
|
+
//#region src/utils/clear-screen.ts
|
|
1427
|
+
const CLEAR_SCREEN = "\x1Bc";
|
|
1428
|
+
function getClearScreenFunction(options$1) {
|
|
1429
|
+
const isTTY = process.stdout.isTTY;
|
|
1430
|
+
const isAnyOptionNotAllowingClearScreen = arraify(options$1).some(({ watch: watch$1 }) => watch$1 === false || watch$1?.clearScreen === false);
|
|
1431
|
+
if (isTTY && !isAnyOptionNotAllowingClearScreen) return () => {
|
|
1432
|
+
process.stdout.write(CLEAR_SCREEN);
|
|
1433
|
+
};
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
//#endregion
|
|
1437
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.80.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1438
|
+
var require_usingCtx = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.80.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js": ((exports, module) => {
|
|
1428
1439
|
function _usingCtx() {
|
|
1429
1440
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1430
1441
|
var n$2 = Error();
|
|
@@ -1550,8 +1561,12 @@ async function watchInner(config, cliOptions) {
|
|
|
1550
1561
|
watcher.on("change", (id, event) => {
|
|
1551
1562
|
if (event.event === "update") changedFile.push(id);
|
|
1552
1563
|
});
|
|
1564
|
+
const clearScreen = getClearScreenFunction(normalizedConfig);
|
|
1553
1565
|
watcher.on("event", async (event) => {
|
|
1554
1566
|
switch (event.code) {
|
|
1567
|
+
case "START":
|
|
1568
|
+
clearScreen?.();
|
|
1569
|
+
break;
|
|
1555
1570
|
case "BUNDLE_START":
|
|
1556
1571
|
if (changedFile.length > 0) logger.log(`Found ${colors.bold(changedFile.map(relativeId).join(", "))} changed, rebuilding...`);
|
|
1557
1572
|
changedFile.length = 0;
|
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-D5CeiA1y.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-CKLoWOY8.cjs');
|
|
3
3
|
require('./shared/misc-DksvspN4.cjs');
|
|
4
|
-
const require_load_config = require('./shared/load-config-
|
|
4
|
+
const require_load_config = require('./shared/load-config-BpWL-vMP.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
const VERSION = require_src.version;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { ConfigExport, defineConfig } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-CCkTRaSB.cjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-BzVT47Bj.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { ConfigExport, defineConfig } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-B2f_h9DF.mjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-BSYGonXk.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 "./shared/parse-ast-index-
|
|
2
|
-
import { defineConfig, version } from "./shared/src-
|
|
1
|
+
import "./shared/parse-ast-index-B-b57oWx.mjs";
|
|
2
|
+
import { defineConfig, version } from "./shared/src-Cs-HV-Wp.mjs";
|
|
3
3
|
import "./shared/misc-CQeo-AFx.mjs";
|
|
4
|
-
import { loadConfig } from "./shared/load-config-
|
|
4
|
+
import { loadConfig } from "./shared/load-config-DL286H4s.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
const VERSION = version;
|
|
@@ -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-D5CeiA1y.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-CKLoWOY8.cjs');
|
|
4
4
|
require('./shared/misc-DksvspN4.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-
|
|
2
|
-
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-CCkTRaSB.cjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-BzVT47Bj.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-
|
|
2
|
-
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/binding-B2f_h9DF.mjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-BSYGonXk.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-
|
|
2
|
-
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-
|
|
1
|
+
import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-B-b57oWx.mjs";
|
|
2
|
+
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-Cs-HV-Wp.mjs";
|
|
3
3
|
import "./shared/misc-CQeo-AFx.mjs";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
5
|
|
package/dist/filter-index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { withFilter } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-CCkTRaSB.cjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-BzVT47Bj.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
|
-
import "./shared/binding-
|
|
2
|
-
import { withFilter } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-B2f_h9DF.mjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-BSYGonXk.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-D5CeiA1y.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-CKLoWOY8.cjs');
|
|
3
3
|
require('./shared/misc-DksvspN4.cjs');
|
|
4
4
|
|
|
5
5
|
exports.VERSION = require_src.VERSION;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, 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-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding-CCkTRaSB.cjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, 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-BzVT47Bj.cjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, 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-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding-B2f_h9DF.mjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, 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-BSYGonXk.mjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, 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 "./shared/parse-ast-index-
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-
|
|
1
|
+
import "./shared/parse-ast-index-B-b57oWx.mjs";
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-Cs-HV-Wp.mjs";
|
|
3
3
|
import "./shared/misc-CQeo-AFx.mjs";
|
|
4
4
|
|
|
5
5
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -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-D5CeiA1y.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-CKLoWOY8.cjs');
|
|
4
4
|
require('./shared/misc-DksvspN4.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerPlugins } from "./shared/parse-ast-index-
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "./shared/src-
|
|
1
|
+
import { registerPlugins } from "./shared/parse-ast-index-B-b57oWx.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "./shared/src-Cs-HV-Wp.mjs";
|
|
3
3
|
import "./shared/misc-CQeo-AFx.mjs";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-CCkTRaSB.cjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-BzVT47Bj.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-B2f_h9DF.mjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-BSYGonXk.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-CKLoWOY8.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
|
@@ -1142,11 +1142,15 @@ declare class BindingWatcherEvent {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
interface BindingAssetPluginConfig {
|
|
1144
1144
|
isLib?: boolean;
|
|
1145
|
+
isSsr?: boolean;
|
|
1146
|
+
isWorker?: boolean;
|
|
1145
1147
|
urlBase?: string;
|
|
1146
1148
|
publicDir?: string;
|
|
1149
|
+
decodedBase?: string;
|
|
1147
1150
|
isSkipAssets?: boolean;
|
|
1148
1151
|
assetsInclude?: Array<BindingStringOrRegex>;
|
|
1149
|
-
assetInlineLimit?: number;
|
|
1152
|
+
assetInlineLimit?: number | ((file: string, content: Buffer) => boolean | undefined);
|
|
1153
|
+
renderBuiltUrl?: (filename: string, type: BindingRenderBuiltUrlConfig) => MaybePromise<VoidNullable<string | BindingRenderBuiltUrlRet>>;
|
|
1150
1154
|
}
|
|
1151
1155
|
interface BindingAssetSource {
|
|
1152
1156
|
inner: string | Uint8Array;
|
|
@@ -1235,6 +1239,16 @@ interface BindingModules {
|
|
|
1235
1239
|
values: Array<BindingRenderedModule>;
|
|
1236
1240
|
keys: Array<string>;
|
|
1237
1241
|
}
|
|
1242
|
+
interface BindingRenderBuiltUrlConfig {
|
|
1243
|
+
ssr: boolean;
|
|
1244
|
+
type: 'asset' | 'public';
|
|
1245
|
+
hostId: string;
|
|
1246
|
+
hostType: 'js' | 'css' | 'html';
|
|
1247
|
+
}
|
|
1248
|
+
interface BindingRenderBuiltUrlRet {
|
|
1249
|
+
relative?: boolean;
|
|
1250
|
+
runtime?: string;
|
|
1251
|
+
}
|
|
1238
1252
|
interface BindingReplacePluginConfig {
|
|
1239
1253
|
values: Record<string, string>;
|
|
1240
1254
|
delimiters?: [string, string];
|
|
@@ -1142,11 +1142,15 @@ declare class BindingWatcherEvent {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
interface BindingAssetPluginConfig {
|
|
1144
1144
|
isLib?: boolean;
|
|
1145
|
+
isSsr?: boolean;
|
|
1146
|
+
isWorker?: boolean;
|
|
1145
1147
|
urlBase?: string;
|
|
1146
1148
|
publicDir?: string;
|
|
1149
|
+
decodedBase?: string;
|
|
1147
1150
|
isSkipAssets?: boolean;
|
|
1148
1151
|
assetsInclude?: Array<BindingStringOrRegex>;
|
|
1149
|
-
assetInlineLimit?: number;
|
|
1152
|
+
assetInlineLimit?: number | ((file: string, content: Buffer) => boolean | undefined);
|
|
1153
|
+
renderBuiltUrl?: (filename: string, type: BindingRenderBuiltUrlConfig) => MaybePromise<VoidNullable<string | BindingRenderBuiltUrlRet>>;
|
|
1150
1154
|
}
|
|
1151
1155
|
interface BindingAssetSource {
|
|
1152
1156
|
inner: string | Uint8Array;
|
|
@@ -1235,6 +1239,16 @@ interface BindingModules {
|
|
|
1235
1239
|
values: Array<BindingRenderedModule>;
|
|
1236
1240
|
keys: Array<string>;
|
|
1237
1241
|
}
|
|
1242
|
+
interface BindingRenderBuiltUrlConfig {
|
|
1243
|
+
ssr: boolean;
|
|
1244
|
+
type: 'asset' | 'public';
|
|
1245
|
+
hostId: string;
|
|
1246
|
+
hostType: 'js' | 'css' | 'html';
|
|
1247
|
+
}
|
|
1248
|
+
interface BindingRenderBuiltUrlRet {
|
|
1249
|
+
relative?: boolean;
|
|
1250
|
+
runtime?: string;
|
|
1251
|
+
}
|
|
1238
1252
|
interface BindingReplacePluginConfig {
|
|
1239
1253
|
values: Record<string, string>;
|
|
1240
1254
|
delimiters?: [string, string];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMinifyOptions, BindingModulePreloadPolyfillPluginConfig, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMinifyOptions, BindingModulePreloadPolyfillPluginConfig, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-B2f_h9DF.mjs";
|
|
2
2
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
3
3
|
import { Program } from "@oxc-project/types";
|
|
4
4
|
|
|
@@ -141,10 +141,12 @@ type ModuleFormat = "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd
|
|
|
141
141
|
type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
|
142
142
|
type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string;
|
|
143
143
|
interface PreRenderedAsset {
|
|
144
|
+
type: "asset";
|
|
145
|
+
name?: string;
|
|
144
146
|
names: string[];
|
|
147
|
+
originalFileName?: string;
|
|
145
148
|
originalFileNames: string[];
|
|
146
149
|
source: string | Uint8Array;
|
|
147
|
-
type: "asset";
|
|
148
150
|
}
|
|
149
151
|
type AssetFileNamesFunction = (chunkInfo: PreRenderedAsset) => string;
|
|
150
152
|
type GlobalsFunction = (name: string) => string;
|
|
@@ -542,6 +544,7 @@ interface NormalizedOutputOptions {
|
|
|
542
544
|
format: InternalModuleFormat;
|
|
543
545
|
exports: NonNullable<OutputOptions["exports"]>;
|
|
544
546
|
sourcemap: boolean | "inline" | "hidden";
|
|
547
|
+
sourcemapBaseUrl: string | undefined;
|
|
545
548
|
cssEntryFileNames: string | ChunkFileNamesFunction;
|
|
546
549
|
cssChunkFileNames: string | ChunkFileNamesFunction;
|
|
547
550
|
inlineDynamicImports: boolean;
|
|
@@ -708,7 +711,7 @@ interface EmittedAsset {
|
|
|
708
711
|
type: "asset";
|
|
709
712
|
name?: string;
|
|
710
713
|
fileName?: string;
|
|
711
|
-
originalFileName?: string
|
|
714
|
+
originalFileName?: string;
|
|
712
715
|
source: AssetSource;
|
|
713
716
|
}
|
|
714
717
|
interface EmittedChunk {
|
|
@@ -1048,6 +1051,7 @@ interface WatcherOptions {
|
|
|
1048
1051
|
include?: StringOrRegExp | StringOrRegExp[];
|
|
1049
1052
|
exclude?: StringOrRegExp | StringOrRegExp[];
|
|
1050
1053
|
onInvalidate?: (id: string) => void;
|
|
1054
|
+
clearScreen?: boolean;
|
|
1051
1055
|
}
|
|
1052
1056
|
type MakeAbsoluteExternalsRelative = boolean | "ifRelativeSource";
|
|
1053
1057
|
type HmrOptions = boolean | {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMinifyOptions, BindingModulePreloadPolyfillPluginConfig, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrUpdate, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMinifyOptions, BindingModulePreloadPolyfillPluginConfig, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-CCkTRaSB.cjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
|
|
@@ -141,10 +141,12 @@ type ModuleFormat = "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd
|
|
|
141
141
|
type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
|
142
142
|
type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string;
|
|
143
143
|
interface PreRenderedAsset {
|
|
144
|
+
type: "asset";
|
|
145
|
+
name?: string;
|
|
144
146
|
names: string[];
|
|
147
|
+
originalFileName?: string;
|
|
145
148
|
originalFileNames: string[];
|
|
146
149
|
source: string | Uint8Array;
|
|
147
|
-
type: "asset";
|
|
148
150
|
}
|
|
149
151
|
type AssetFileNamesFunction = (chunkInfo: PreRenderedAsset) => string;
|
|
150
152
|
type GlobalsFunction = (name: string) => string;
|
|
@@ -542,6 +544,7 @@ interface NormalizedOutputOptions {
|
|
|
542
544
|
format: InternalModuleFormat;
|
|
543
545
|
exports: NonNullable<OutputOptions["exports"]>;
|
|
544
546
|
sourcemap: boolean | "inline" | "hidden";
|
|
547
|
+
sourcemapBaseUrl: string | undefined;
|
|
545
548
|
cssEntryFileNames: string | ChunkFileNamesFunction;
|
|
546
549
|
cssChunkFileNames: string | ChunkFileNamesFunction;
|
|
547
550
|
inlineDynamicImports: boolean;
|
|
@@ -708,7 +711,7 @@ interface EmittedAsset {
|
|
|
708
711
|
type: "asset";
|
|
709
712
|
name?: string;
|
|
710
713
|
fileName?: string;
|
|
711
|
-
originalFileName?: string
|
|
714
|
+
originalFileName?: string;
|
|
712
715
|
source: AssetSource;
|
|
713
716
|
}
|
|
714
717
|
interface EmittedChunk {
|
|
@@ -1048,6 +1051,7 @@ interface WatcherOptions {
|
|
|
1048
1051
|
include?: StringOrRegExp | StringOrRegExp[];
|
|
1049
1052
|
exclude?: StringOrRegExp | StringOrRegExp[];
|
|
1050
1053
|
onInvalidate?: (id: string) => void;
|
|
1054
|
+
clearScreen?: boolean;
|
|
1051
1055
|
}
|
|
1052
1056
|
type MakeAbsoluteExternalsRelative = boolean | "ifRelativeSource";
|
|
1053
1057
|
type HmrOptions = boolean | {
|
|
@@ -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-D5CeiA1y.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"));
|
|
@@ -576,7 +576,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
//#endregion
|
|
579
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
579
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.80.0/node_modules/oxc-parser/wrap.mjs
|
|
580
580
|
function wrap$1(result) {
|
|
581
581
|
let program, module$1, comments, errors;
|
|
582
582
|
return {
|
|
@@ -549,7 +549,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
//#endregion
|
|
552
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
552
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.80.0/node_modules/oxc-parser/wrap.mjs
|
|
553
553
|
function wrap$1(result) {
|
|
554
554
|
let program, module$1, comments, errors;
|
|
555
555
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, ParallelJsPluginRegistry, augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, shutdownAsyncRuntime, startAsyncRuntime } from "./parse-ast-index-
|
|
1
|
+
import { BindingAttachDebugInfo, BindingBundler, BindingCallableBuiltinPlugin, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingWatcher, ParallelJsPluginRegistry, augmentCodeLocation, error, logCycleLoading, logDuplicateJsxConfig, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, shutdownAsyncRuntime, startAsyncRuntime } from "./parse-ast-index-B-b57oWx.mjs";
|
|
2
2
|
import { arraify, noop, unimplemented, unreachable, unsupported } from "./misc-CQeo-AFx.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
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.31";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -417,7 +417,7 @@ function getSortedPlugins(hookName, plugins) {
|
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
//#endregion
|
|
420
|
-
//#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.
|
|
420
|
+
//#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.9.2/node_modules/valibot/dist/index.js
|
|
421
421
|
var store$1;
|
|
422
422
|
/* @__NO_SIDE_EFFECTS__ */
|
|
423
423
|
function getGlobalConfig(config2) {
|
|
@@ -1406,7 +1406,7 @@ function safeParse(schema, input, config2) {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
1408
|
//#endregion
|
|
1409
|
-
//#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.3.0_valibot@1.1.0_typescript@5.
|
|
1409
|
+
//#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.3.0_valibot@1.1.0_typescript@5.9.2_/node_modules/@valibot/to-json-schema/dist/index.js
|
|
1410
1410
|
/**
|
|
1411
1411
|
* Adds an error message to the errors array.
|
|
1412
1412
|
*
|
|
@@ -1904,7 +1904,9 @@ const WatchOptionsSchema = strictObject({
|
|
|
1904
1904
|
pollInterval: optional(number())
|
|
1905
1905
|
})), description("Notify options")),
|
|
1906
1906
|
skipWrite: pipe(optional(boolean()), description("Skip the bundle.write() step")),
|
|
1907
|
-
buildDelay: pipe(optional(number()), description("Throttle watch rebuilds"))
|
|
1907
|
+
buildDelay: pipe(optional(number()), description("Throttle watch rebuilds")),
|
|
1908
|
+
clearScreen: pipe(optional(boolean()), description("Whether to clear the screen when a rebuild is triggered")),
|
|
1909
|
+
onInvalidate: pipe(optional(pipe(function_(), args(tuple([string()])))), description("An optional function that will be called immediately every time a module changes that is part of the build."))
|
|
1908
1910
|
});
|
|
1909
1911
|
const ChecksOptionsSchema = strictObject({
|
|
1910
1912
|
circularDependency: pipe(optional(boolean()), description("Whether to emit warning when detecting circular dependency")),
|
|
@@ -2325,7 +2327,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
|
|
|
2325
2327
|
}
|
|
2326
2328
|
|
|
2327
2329
|
//#endregion
|
|
2328
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2330
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-D6FCK2GA.js
|
|
2329
2331
|
function u$1(o, n, a) {
|
|
2330
2332
|
let t = (r) => o(r, ...n);
|
|
2331
2333
|
return a === void 0 ? t : Object.assign(t, {
|
|
@@ -2335,7 +2337,7 @@ function u$1(o, n, a) {
|
|
|
2335
2337
|
}
|
|
2336
2338
|
|
|
2337
2339
|
//#endregion
|
|
2338
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2340
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-WIMGWYZL.js
|
|
2339
2341
|
function u(r, n, o) {
|
|
2340
2342
|
let a = r.length - n.length;
|
|
2341
2343
|
if (a === 0) return r(...n);
|
|
@@ -2344,7 +2346,7 @@ function u(r, n, o) {
|
|
|
2344
2346
|
}
|
|
2345
2347
|
|
|
2346
2348
|
//#endregion
|
|
2347
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2349
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-3IFJP4R5.js
|
|
2348
2350
|
function d(...r) {
|
|
2349
2351
|
return u(i, r);
|
|
2350
2352
|
}
|
|
@@ -2613,10 +2615,12 @@ var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
|
2613
2615
|
};
|
|
2614
2616
|
getAssetFileNames(file) {
|
|
2615
2617
|
if (typeof this.outputOptions.assetFileNames === "function") return this.outputOptions.assetFileNames({
|
|
2618
|
+
type: "asset",
|
|
2619
|
+
name: file.name,
|
|
2616
2620
|
names: file.name ? [file.name] : [],
|
|
2621
|
+
originalFileName: file.originalFileName,
|
|
2617
2622
|
originalFileNames: file.originalFileName ? [file.originalFileName] : [],
|
|
2618
|
-
source: file.source
|
|
2619
|
-
type: "asset"
|
|
2623
|
+
source: file.source
|
|
2620
2624
|
});
|
|
2621
2625
|
}
|
|
2622
2626
|
getFileName(referenceId) {
|
|
@@ -2944,7 +2948,7 @@ function transformToRollupOutputChunk(bindingChunk, changed) {
|
|
|
2944
2948
|
cache[p] = value;
|
|
2945
2949
|
return value;
|
|
2946
2950
|
},
|
|
2947
|
-
set(
|
|
2951
|
+
set(_target, p, newValue) {
|
|
2948
2952
|
cache[p] = newValue;
|
|
2949
2953
|
changed?.updated.add(bindingChunk.fileName);
|
|
2950
2954
|
return true;
|
|
@@ -2975,7 +2979,7 @@ function transformToRollupOutputAsset(bindingAsset, changed) {
|
|
|
2975
2979
|
cache[p] = value;
|
|
2976
2980
|
return value;
|
|
2977
2981
|
},
|
|
2978
|
-
set(
|
|
2982
|
+
set(_target, p, newValue) {
|
|
2979
2983
|
cache[p] = newValue;
|
|
2980
2984
|
changed?.updated.add(bindingAsset.fileName);
|
|
2981
2985
|
return true;
|
|
@@ -3013,18 +3017,17 @@ function transformToOutputBundle(context, output, changed) {
|
|
|
3013
3017
|
});
|
|
3014
3018
|
}
|
|
3015
3019
|
function collectChangedBundle(changed, bundle) {
|
|
3016
|
-
const
|
|
3017
|
-
const chunks = [];
|
|
3020
|
+
const changes = {};
|
|
3018
3021
|
for (const key in bundle) {
|
|
3019
3022
|
if (changed.deleted.has(key) || !changed.updated.has(key)) continue;
|
|
3020
3023
|
const item = bundle[key];
|
|
3021
|
-
if (item.type === "asset")
|
|
3024
|
+
if (item.type === "asset") changes[key] = {
|
|
3022
3025
|
filename: item.fileName,
|
|
3023
3026
|
originalFileNames: item.originalFileNames,
|
|
3024
3027
|
source: bindingAssetSource(item.source),
|
|
3025
3028
|
names: item.names
|
|
3026
|
-
}
|
|
3027
|
-
else
|
|
3029
|
+
};
|
|
3030
|
+
else changes[key] = {
|
|
3028
3031
|
code: item.code,
|
|
3029
3032
|
filename: item.fileName,
|
|
3030
3033
|
name: item.name,
|
|
@@ -3039,12 +3042,11 @@ function collectChangedBundle(changed, bundle) {
|
|
|
3039
3042
|
map: bindingifySourcemap$1(item.map),
|
|
3040
3043
|
sourcemapFilename: item.sourcemapFileName || void 0,
|
|
3041
3044
|
preliminaryFilename: item.preliminaryFileName
|
|
3042
|
-
}
|
|
3045
|
+
};
|
|
3043
3046
|
}
|
|
3044
3047
|
return {
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
deleted: Array.from(changed.deleted)
|
|
3048
|
+
changes,
|
|
3049
|
+
deleted: changed.deleted
|
|
3048
3050
|
};
|
|
3049
3051
|
}
|
|
3050
3052
|
|
|
@@ -3527,7 +3529,9 @@ function bindingifySourcemapIgnoreList(sourcemapIgnoreList) {
|
|
|
3527
3529
|
function bindingifyAssetFilenames(assetFileNames) {
|
|
3528
3530
|
if (typeof assetFileNames === "function") return (asset) => {
|
|
3529
3531
|
return assetFileNames({
|
|
3532
|
+
name: asset.name,
|
|
3530
3533
|
names: asset.names,
|
|
3534
|
+
originalFileName: asset.originalFileName,
|
|
3531
3535
|
originalFileNames: asset.originalFileNames,
|
|
3532
3536
|
source: transformAssetSource(asset.source),
|
|
3533
3537
|
type: "asset"
|
|
@@ -3583,6 +3587,9 @@ var NormalizedOutputOptionsImpl = class {
|
|
|
3583
3587
|
get sourcemap() {
|
|
3584
3588
|
return this.inner.sourcemap;
|
|
3585
3589
|
}
|
|
3590
|
+
get sourcemapBaseUrl() {
|
|
3591
|
+
return this.inner.sourcemapBaseUrl ?? void 0;
|
|
3592
|
+
}
|
|
3586
3593
|
get cssEntryFileNames() {
|
|
3587
3594
|
return this.inner.cssEntryFilenames || this.outputOptions.cssEntryFileNames;
|
|
3588
3595
|
}
|
|
@@ -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-CKLoWOY8.cjs');
|
|
3
3
|
const require_misc = require('./misc-DksvspN4.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -10,7 +10,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
10
10
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
11
11
|
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version = "1.0.0-beta.
|
|
13
|
+
var version = "1.0.0-beta.31";
|
|
14
14
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
@@ -418,7 +418,7 @@ function getSortedPlugins(hookName, plugins) {
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
//#endregion
|
|
421
|
-
//#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.
|
|
421
|
+
//#region ../../node_modules/.pnpm/valibot@1.1.0_typescript@5.9.2/node_modules/valibot/dist/index.js
|
|
422
422
|
var store$1;
|
|
423
423
|
/* @__NO_SIDE_EFFECTS__ */
|
|
424
424
|
function getGlobalConfig(config2) {
|
|
@@ -1407,7 +1407,7 @@ function safeParse(schema, input, config2) {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
1409
|
//#endregion
|
|
1410
|
-
//#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.3.0_valibot@1.1.0_typescript@5.
|
|
1410
|
+
//#region ../../node_modules/.pnpm/@valibot+to-json-schema@1.3.0_valibot@1.1.0_typescript@5.9.2_/node_modules/@valibot/to-json-schema/dist/index.js
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Adds an error message to the errors array.
|
|
1413
1413
|
*
|
|
@@ -1905,7 +1905,9 @@ const WatchOptionsSchema = strictObject({
|
|
|
1905
1905
|
pollInterval: optional(number())
|
|
1906
1906
|
})), description("Notify options")),
|
|
1907
1907
|
skipWrite: pipe(optional(boolean()), description("Skip the bundle.write() step")),
|
|
1908
|
-
buildDelay: pipe(optional(number()), description("Throttle watch rebuilds"))
|
|
1908
|
+
buildDelay: pipe(optional(number()), description("Throttle watch rebuilds")),
|
|
1909
|
+
clearScreen: pipe(optional(boolean()), description("Whether to clear the screen when a rebuild is triggered")),
|
|
1910
|
+
onInvalidate: pipe(optional(pipe(function_(), args(tuple([string()])))), description("An optional function that will be called immediately every time a module changes that is part of the build."))
|
|
1909
1911
|
});
|
|
1910
1912
|
const ChecksOptionsSchema = strictObject({
|
|
1911
1913
|
circularDependency: pipe(optional(boolean()), description("Whether to emit warning when detecting circular dependency")),
|
|
@@ -2326,7 +2328,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
|
|
|
2326
2328
|
}
|
|
2327
2329
|
|
|
2328
2330
|
//#endregion
|
|
2329
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2331
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-D6FCK2GA.js
|
|
2330
2332
|
function u$1(o, n, a) {
|
|
2331
2333
|
let t = (r) => o(r, ...n);
|
|
2332
2334
|
return a === void 0 ? t : Object.assign(t, {
|
|
@@ -2336,7 +2338,7 @@ function u$1(o, n, a) {
|
|
|
2336
2338
|
}
|
|
2337
2339
|
|
|
2338
2340
|
//#endregion
|
|
2339
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2341
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-WIMGWYZL.js
|
|
2340
2342
|
function u(r, n, o) {
|
|
2341
2343
|
let a = r.length - n.length;
|
|
2342
2344
|
if (a === 0) return r(...n);
|
|
@@ -2345,7 +2347,7 @@ function u(r, n, o) {
|
|
|
2345
2347
|
}
|
|
2346
2348
|
|
|
2347
2349
|
//#endregion
|
|
2348
|
-
//#region ../../node_modules/.pnpm/remeda@2.
|
|
2350
|
+
//#region ../../node_modules/.pnpm/remeda@2.28.0/node_modules/remeda/dist/chunk-3IFJP4R5.js
|
|
2349
2351
|
function d(...r) {
|
|
2350
2352
|
return u(i, r);
|
|
2351
2353
|
}
|
|
@@ -2614,10 +2616,12 @@ var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
|
2614
2616
|
};
|
|
2615
2617
|
getAssetFileNames(file) {
|
|
2616
2618
|
if (typeof this.outputOptions.assetFileNames === "function") return this.outputOptions.assetFileNames({
|
|
2619
|
+
type: "asset",
|
|
2620
|
+
name: file.name,
|
|
2617
2621
|
names: file.name ? [file.name] : [],
|
|
2622
|
+
originalFileName: file.originalFileName,
|
|
2618
2623
|
originalFileNames: file.originalFileName ? [file.originalFileName] : [],
|
|
2619
|
-
source: file.source
|
|
2620
|
-
type: "asset"
|
|
2624
|
+
source: file.source
|
|
2621
2625
|
});
|
|
2622
2626
|
}
|
|
2623
2627
|
getFileName(referenceId) {
|
|
@@ -2945,7 +2949,7 @@ function transformToRollupOutputChunk(bindingChunk, changed) {
|
|
|
2945
2949
|
cache[p] = value;
|
|
2946
2950
|
return value;
|
|
2947
2951
|
},
|
|
2948
|
-
set(
|
|
2952
|
+
set(_target, p, newValue) {
|
|
2949
2953
|
cache[p] = newValue;
|
|
2950
2954
|
changed?.updated.add(bindingChunk.fileName);
|
|
2951
2955
|
return true;
|
|
@@ -2976,7 +2980,7 @@ function transformToRollupOutputAsset(bindingAsset, changed) {
|
|
|
2976
2980
|
cache[p] = value;
|
|
2977
2981
|
return value;
|
|
2978
2982
|
},
|
|
2979
|
-
set(
|
|
2983
|
+
set(_target, p, newValue) {
|
|
2980
2984
|
cache[p] = newValue;
|
|
2981
2985
|
changed?.updated.add(bindingAsset.fileName);
|
|
2982
2986
|
return true;
|
|
@@ -3014,18 +3018,17 @@ function transformToOutputBundle(context, output, changed) {
|
|
|
3014
3018
|
});
|
|
3015
3019
|
}
|
|
3016
3020
|
function collectChangedBundle(changed, bundle) {
|
|
3017
|
-
const
|
|
3018
|
-
const chunks = [];
|
|
3021
|
+
const changes = {};
|
|
3019
3022
|
for (const key in bundle) {
|
|
3020
3023
|
if (changed.deleted.has(key) || !changed.updated.has(key)) continue;
|
|
3021
3024
|
const item = bundle[key];
|
|
3022
|
-
if (item.type === "asset")
|
|
3025
|
+
if (item.type === "asset") changes[key] = {
|
|
3023
3026
|
filename: item.fileName,
|
|
3024
3027
|
originalFileNames: item.originalFileNames,
|
|
3025
3028
|
source: bindingAssetSource(item.source),
|
|
3026
3029
|
names: item.names
|
|
3027
|
-
}
|
|
3028
|
-
else
|
|
3030
|
+
};
|
|
3031
|
+
else changes[key] = {
|
|
3029
3032
|
code: item.code,
|
|
3030
3033
|
filename: item.fileName,
|
|
3031
3034
|
name: item.name,
|
|
@@ -3040,12 +3043,11 @@ function collectChangedBundle(changed, bundle) {
|
|
|
3040
3043
|
map: bindingifySourcemap$1(item.map),
|
|
3041
3044
|
sourcemapFilename: item.sourcemapFileName || void 0,
|
|
3042
3045
|
preliminaryFilename: item.preliminaryFileName
|
|
3043
|
-
}
|
|
3046
|
+
};
|
|
3044
3047
|
}
|
|
3045
3048
|
return {
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
deleted: Array.from(changed.deleted)
|
|
3049
|
+
changes,
|
|
3050
|
+
deleted: changed.deleted
|
|
3049
3051
|
};
|
|
3050
3052
|
}
|
|
3051
3053
|
|
|
@@ -3528,7 +3530,9 @@ function bindingifySourcemapIgnoreList(sourcemapIgnoreList) {
|
|
|
3528
3530
|
function bindingifyAssetFilenames(assetFileNames) {
|
|
3529
3531
|
if (typeof assetFileNames === "function") return (asset) => {
|
|
3530
3532
|
return assetFileNames({
|
|
3533
|
+
name: asset.name,
|
|
3531
3534
|
names: asset.names,
|
|
3535
|
+
originalFileName: asset.originalFileName,
|
|
3532
3536
|
originalFileNames: asset.originalFileNames,
|
|
3533
3537
|
source: transformAssetSource(asset.source),
|
|
3534
3538
|
type: "asset"
|
|
@@ -3584,6 +3588,9 @@ var NormalizedOutputOptionsImpl = class {
|
|
|
3584
3588
|
get sourcemap() {
|
|
3585
3589
|
return this.inner.sourcemap;
|
|
3586
3590
|
}
|
|
3591
|
+
get sourcemapBaseUrl() {
|
|
3592
|
+
return this.inner.sourcemapBaseUrl ?? void 0;
|
|
3593
|
+
}
|
|
3587
3594
|
get cssEntryFileNames() {
|
|
3588
3595
|
return this.inner.cssEntryFilenames || this.outputOptions.cssEntryFileNames;
|
|
3589
3596
|
}
|
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.31",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"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"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@oxc-project/runtime": "=0.
|
|
96
|
-
"@oxc-project/types": "=0.
|
|
95
|
+
"@oxc-project/runtime": "=0.80.0",
|
|
96
|
+
"@oxc-project/types": "=0.80.0",
|
|
97
97
|
"ansis": "^4.0.0",
|
|
98
|
-
"@rolldown/pluginutils": "1.0.0-beta.
|
|
98
|
+
"@rolldown/pluginutils": "1.0.0-beta.31"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@napi-rs/cli": "^3.0.0",
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
"emnapi": "^1.2.0",
|
|
109
109
|
"execa": "^9.2.0",
|
|
110
110
|
"glob": "^11.0.0",
|
|
111
|
-
"oxc-parser": "=0.
|
|
111
|
+
"oxc-parser": "=0.80.0",
|
|
112
112
|
"pathe": "^2.0.3",
|
|
113
113
|
"remeda": "^2.10.0",
|
|
114
|
-
"rolldown-plugin-dts": "^0.
|
|
114
|
+
"rolldown-plugin-dts": "^0.15.0",
|
|
115
115
|
"rollup": "^4.18.0",
|
|
116
116
|
"signal-exit": "4.1.0",
|
|
117
117
|
"source-map": "^0.7.4",
|
|
@@ -119,24 +119,24 @@
|
|
|
119
119
|
"typedoc": "^0.28.0",
|
|
120
120
|
"typescript": "^5.7.3",
|
|
121
121
|
"valibot": "1.1.0",
|
|
122
|
-
"
|
|
123
|
-
"rolldown": "
|
|
122
|
+
"rolldown": "1.0.0-beta.31",
|
|
123
|
+
"@rolldown/testing": "0.0.1"
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.
|
|
127
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.
|
|
128
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.
|
|
129
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.
|
|
130
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.
|
|
131
|
-
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.
|
|
132
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.
|
|
133
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.
|
|
134
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.
|
|
135
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.
|
|
136
|
-
"@rolldown/binding-linux-arm64-ohos": "1.0.0-beta.
|
|
137
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.
|
|
138
|
-
"@rolldown/binding-android-arm64": "1.0.0-beta.
|
|
139
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.
|
|
126
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.31",
|
|
127
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.31",
|
|
128
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.31",
|
|
129
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.31",
|
|
130
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.31",
|
|
131
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.31",
|
|
132
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.31",
|
|
133
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.31",
|
|
134
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.31",
|
|
135
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.31",
|
|
136
|
+
"@rolldown/binding-linux-arm64-ohos": "1.0.0-beta.31",
|
|
137
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.31",
|
|
138
|
+
"@rolldown/binding-android-arm64": "1.0.0-beta.31",
|
|
139
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.31"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|