rolldown 1.0.0-beta.26-commit.ce29359 → 1.0.0-beta.26-commit.abdc470
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 +5 -5
- package/dist/cli.mjs +5 -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/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-B9-3a5q4.d.cts → binding-CCU51T2Z.d.mts} +88 -4
- package/dist/shared/{binding-DQYRWAqj.d.mts → binding-Drc5ua4y.d.cts} +88 -4
- package/dist/shared/{define-config-DM79zlkB.d.mts → define-config-BBCw1iOI.d.mts} +1 -1
- package/dist/shared/{define-config-ZN70csxk.d.cts → define-config-DarysRyQ.d.cts} +1 -1
- package/dist/shared/{load-config-D8t8T2S6.cjs → load-config-BswucoFq.cjs} +1 -1
- package/dist/shared/{load-config-ZtaTdLkw.mjs → load-config-CJSRM2se.mjs} +1 -1
- package/dist/shared/{parse-ast-index-BztFsVUE.mjs → parse-ast-index-B7LAlzDE.mjs} +1 -1
- package/dist/shared/{parse-ast-index-BZPHquvf.cjs → parse-ast-index-FpWRkz3o.cjs} +1 -1
- package/dist/shared/{src-DYOyzZCA.mjs → src-BRTGfn5F.mjs} +2 -2
- package/dist/shared/{src-9mERiEFk.cjs → src-DW0QAYZP.cjs} +2 -2
- 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-DW0QAYZP.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-FpWRkz3o.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-BswucoFq.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,8 @@ 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 ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1428
|
-
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1427
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1428
|
+
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1429
1429
|
function _usingCtx() {
|
|
1430
1430
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1431
1431
|
var n$2 = Error();
|
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-B7LAlzDE.mjs";
|
|
2
|
+
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "./shared/src-BRTGfn5F.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-CJSRM2se.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,8 @@ 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 ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1427
|
-
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1426
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1427
|
+
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.77.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1428
1428
|
function _usingCtx() {
|
|
1429
1429
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1430
1430
|
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-DW0QAYZP.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-FpWRkz3o.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-BswucoFq.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-Drc5ua4y.cjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-DarysRyQ.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-CCU51T2Z.mjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-BBCw1iOI.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-B7LAlzDE.mjs";
|
|
2
|
+
import { defineConfig, version } from "./shared/src-BRTGfn5F.mjs";
|
|
3
3
|
import "./shared/misc-CQeo-AFx.mjs";
|
|
4
|
-
import { loadConfig } from "./shared/load-config-
|
|
4
|
+
import { loadConfig } from "./shared/load-config-CJSRM2se.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-DW0QAYZP.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-FpWRkz3o.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, moduleFederationPlugin, 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-Drc5ua4y.cjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-DarysRyQ.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, moduleFederationPlugin, 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-CCU51T2Z.mjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-BBCw1iOI.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, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-
|
|
1
|
+
import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./shared/parse-ast-index-B7LAlzDE.mjs";
|
|
2
|
+
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-BRTGfn5F.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-Drc5ua4y.cjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-DarysRyQ.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-CCU51T2Z.mjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-BBCw1iOI.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-DW0QAYZP.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-FpWRkz3o.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, 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, 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-Drc5ua4y.cjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, 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, 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-DarysRyQ.cjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, 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, 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, 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, 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-CCU51T2Z.mjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, 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, 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-BBCw1iOI.mjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, 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, 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-B7LAlzDE.mjs";
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-BRTGfn5F.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-DW0QAYZP.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-FpWRkz3o.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-B7LAlzDE.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "./shared/src-BRTGfn5F.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-Drc5ua4y.cjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-DarysRyQ.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-CCU51T2Z.mjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-BBCw1iOI.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-FpWRkz3o.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
|
@@ -105,8 +105,8 @@ type ImportNameKind = /** `import { x } from "mod"` */
|
|
|
105
105
|
*/
|
|
106
106
|
|
|
107
107
|
interface ParserOptions {
|
|
108
|
-
/** Treat the source text as `js`, `jsx`, `ts`, or `
|
|
109
|
-
lang?: 'js' | 'jsx' | 'ts' | 'tsx';
|
|
108
|
+
/** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */
|
|
109
|
+
lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
|
|
110
110
|
/** Treat the source text as `script` or `module` code. */
|
|
111
111
|
sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
|
|
112
112
|
/**
|
|
@@ -769,6 +769,9 @@ interface ModuleRunnerTransformResult {
|
|
|
769
769
|
*/
|
|
770
770
|
errors: Array<OxcError>;
|
|
771
771
|
}
|
|
772
|
+
interface PluginsOptions {
|
|
773
|
+
styledComponents?: StyledComponentsOptions;
|
|
774
|
+
}
|
|
772
775
|
interface ReactRefreshOptions {
|
|
773
776
|
/**
|
|
774
777
|
* Specify the identifier of the refresh registration variable.
|
|
@@ -785,6 +788,85 @@ interface ReactRefreshOptions {
|
|
|
785
788
|
emitFullSignatures?: boolean;
|
|
786
789
|
}
|
|
787
790
|
|
|
791
|
+
/**
|
|
792
|
+
* Configure how styled-components are transformed.
|
|
793
|
+
*
|
|
794
|
+
* @see {@link https://styled-components.com/docs/tooling#babel-plugin}
|
|
795
|
+
*/
|
|
796
|
+
interface StyledComponentsOptions {
|
|
797
|
+
/**
|
|
798
|
+
* Enhances the attached CSS class name on each component with richer output to help
|
|
799
|
+
* identify your components in the DOM without React DevTools.
|
|
800
|
+
*
|
|
801
|
+
* @default true
|
|
802
|
+
*/
|
|
803
|
+
displayName?: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Controls whether the `displayName` of a component will be prefixed with the filename
|
|
806
|
+
* to make the component name as unique as possible.
|
|
807
|
+
*
|
|
808
|
+
* @default true
|
|
809
|
+
*/
|
|
810
|
+
fileName?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Adds a unique identifier to every styled component to avoid checksum mismatches
|
|
813
|
+
* due to different class generation on the client and server during server-side rendering.
|
|
814
|
+
*
|
|
815
|
+
* @default true
|
|
816
|
+
*/
|
|
817
|
+
ssr?: boolean;
|
|
818
|
+
/**
|
|
819
|
+
* Transpiles styled-components tagged template literals to a smaller representation
|
|
820
|
+
* than what Babel normally creates, helping to reduce bundle size.
|
|
821
|
+
*
|
|
822
|
+
* @default true
|
|
823
|
+
*/
|
|
824
|
+
transpileTemplateLiterals?: boolean;
|
|
825
|
+
/**
|
|
826
|
+
* Minifies CSS content by removing all whitespace and comments from your CSS,
|
|
827
|
+
* keeping valuable bytes out of your bundles.
|
|
828
|
+
*
|
|
829
|
+
* @default true
|
|
830
|
+
*/
|
|
831
|
+
minify?: boolean;
|
|
832
|
+
/**
|
|
833
|
+
* Enables transformation of JSX `css` prop when using styled-components.
|
|
834
|
+
*
|
|
835
|
+
* **Note: This feature is not yet implemented in oxc.**
|
|
836
|
+
*
|
|
837
|
+
* @default true
|
|
838
|
+
*/
|
|
839
|
+
cssProp?: boolean;
|
|
840
|
+
/**
|
|
841
|
+
* Enables "pure annotation" to aid dead code elimination by bundlers.
|
|
842
|
+
*
|
|
843
|
+
* @default false
|
|
844
|
+
*/
|
|
845
|
+
pure?: boolean;
|
|
846
|
+
/**
|
|
847
|
+
* Adds a namespace prefix to component identifiers to ensure class names are unique.
|
|
848
|
+
*
|
|
849
|
+
* Example: With `namespace: "my-app"`, generates `componentId: "my-app__sc-3rfj0a-1"`
|
|
850
|
+
*/
|
|
851
|
+
namespace?: string;
|
|
852
|
+
/**
|
|
853
|
+
* List of file names that are considered meaningless for component naming purposes.
|
|
854
|
+
*
|
|
855
|
+
* When the `fileName` option is enabled and a component is in a file with a name
|
|
856
|
+
* from this list, the directory name will be used instead of the file name for
|
|
857
|
+
* the component's display name.
|
|
858
|
+
*
|
|
859
|
+
* @default ["index"]
|
|
860
|
+
*/
|
|
861
|
+
meaninglessFileNames?: Array<string>;
|
|
862
|
+
/**
|
|
863
|
+
* Import paths to be considered as styled-components imports at the top level.
|
|
864
|
+
*
|
|
865
|
+
* **Note: This feature is not yet implemented in oxc.**
|
|
866
|
+
*/
|
|
867
|
+
topLevelImportPaths?: Array<string>;
|
|
868
|
+
}
|
|
869
|
+
|
|
788
870
|
/**
|
|
789
871
|
* Transpile a JavaScript or TypeScript into a target ECMAScript version.
|
|
790
872
|
*
|
|
@@ -805,8 +887,8 @@ declare function transform(filename: string, sourceText: string, options?: Trans
|
|
|
805
887
|
* @see {@link transform}
|
|
806
888
|
*/
|
|
807
889
|
interface TransformOptions {
|
|
808
|
-
/** Treat the source text as `js`, `jsx`, `ts`, or `
|
|
809
|
-
lang?: 'js' | 'jsx' | 'ts' | 'tsx';
|
|
890
|
+
/** Treat the source text as `js`, `jsx`, `ts`, `tsx`, or `dts`. */
|
|
891
|
+
lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
|
|
810
892
|
/** Treat the source text as `script` or `module` code. */
|
|
811
893
|
sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
|
|
812
894
|
/**
|
|
@@ -853,6 +935,8 @@ interface TransformOptions {
|
|
|
853
935
|
inject?: Record<string, string | [string, string]>;
|
|
854
936
|
/** Decorator plugin */
|
|
855
937
|
decorator?: DecoratorOptions;
|
|
938
|
+
/** Third-party plugins to use. */
|
|
939
|
+
plugins?: PluginsOptions;
|
|
856
940
|
}
|
|
857
941
|
interface TransformResult {
|
|
858
942
|
/**
|
|
@@ -105,8 +105,8 @@ type ImportNameKind = /** `import { x } from "mod"` */
|
|
|
105
105
|
*/
|
|
106
106
|
|
|
107
107
|
interface ParserOptions {
|
|
108
|
-
/** Treat the source text as `js`, `jsx`, `ts`, or `
|
|
109
|
-
lang?: 'js' | 'jsx' | 'ts' | 'tsx';
|
|
108
|
+
/** Treat the source text as `js`, `jsx`, `ts`, `tsx` or `dts`. */
|
|
109
|
+
lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
|
|
110
110
|
/** Treat the source text as `script` or `module` code. */
|
|
111
111
|
sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
|
|
112
112
|
/**
|
|
@@ -769,6 +769,9 @@ interface ModuleRunnerTransformResult {
|
|
|
769
769
|
*/
|
|
770
770
|
errors: Array<OxcError>;
|
|
771
771
|
}
|
|
772
|
+
interface PluginsOptions {
|
|
773
|
+
styledComponents?: StyledComponentsOptions;
|
|
774
|
+
}
|
|
772
775
|
interface ReactRefreshOptions {
|
|
773
776
|
/**
|
|
774
777
|
* Specify the identifier of the refresh registration variable.
|
|
@@ -785,6 +788,85 @@ interface ReactRefreshOptions {
|
|
|
785
788
|
emitFullSignatures?: boolean;
|
|
786
789
|
}
|
|
787
790
|
|
|
791
|
+
/**
|
|
792
|
+
* Configure how styled-components are transformed.
|
|
793
|
+
*
|
|
794
|
+
* @see {@link https://styled-components.com/docs/tooling#babel-plugin}
|
|
795
|
+
*/
|
|
796
|
+
interface StyledComponentsOptions {
|
|
797
|
+
/**
|
|
798
|
+
* Enhances the attached CSS class name on each component with richer output to help
|
|
799
|
+
* identify your components in the DOM without React DevTools.
|
|
800
|
+
*
|
|
801
|
+
* @default true
|
|
802
|
+
*/
|
|
803
|
+
displayName?: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Controls whether the `displayName` of a component will be prefixed with the filename
|
|
806
|
+
* to make the component name as unique as possible.
|
|
807
|
+
*
|
|
808
|
+
* @default true
|
|
809
|
+
*/
|
|
810
|
+
fileName?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Adds a unique identifier to every styled component to avoid checksum mismatches
|
|
813
|
+
* due to different class generation on the client and server during server-side rendering.
|
|
814
|
+
*
|
|
815
|
+
* @default true
|
|
816
|
+
*/
|
|
817
|
+
ssr?: boolean;
|
|
818
|
+
/**
|
|
819
|
+
* Transpiles styled-components tagged template literals to a smaller representation
|
|
820
|
+
* than what Babel normally creates, helping to reduce bundle size.
|
|
821
|
+
*
|
|
822
|
+
* @default true
|
|
823
|
+
*/
|
|
824
|
+
transpileTemplateLiterals?: boolean;
|
|
825
|
+
/**
|
|
826
|
+
* Minifies CSS content by removing all whitespace and comments from your CSS,
|
|
827
|
+
* keeping valuable bytes out of your bundles.
|
|
828
|
+
*
|
|
829
|
+
* @default true
|
|
830
|
+
*/
|
|
831
|
+
minify?: boolean;
|
|
832
|
+
/**
|
|
833
|
+
* Enables transformation of JSX `css` prop when using styled-components.
|
|
834
|
+
*
|
|
835
|
+
* **Note: This feature is not yet implemented in oxc.**
|
|
836
|
+
*
|
|
837
|
+
* @default true
|
|
838
|
+
*/
|
|
839
|
+
cssProp?: boolean;
|
|
840
|
+
/**
|
|
841
|
+
* Enables "pure annotation" to aid dead code elimination by bundlers.
|
|
842
|
+
*
|
|
843
|
+
* @default false
|
|
844
|
+
*/
|
|
845
|
+
pure?: boolean;
|
|
846
|
+
/**
|
|
847
|
+
* Adds a namespace prefix to component identifiers to ensure class names are unique.
|
|
848
|
+
*
|
|
849
|
+
* Example: With `namespace: "my-app"`, generates `componentId: "my-app__sc-3rfj0a-1"`
|
|
850
|
+
*/
|
|
851
|
+
namespace?: string;
|
|
852
|
+
/**
|
|
853
|
+
* List of file names that are considered meaningless for component naming purposes.
|
|
854
|
+
*
|
|
855
|
+
* When the `fileName` option is enabled and a component is in a file with a name
|
|
856
|
+
* from this list, the directory name will be used instead of the file name for
|
|
857
|
+
* the component's display name.
|
|
858
|
+
*
|
|
859
|
+
* @default ["index"]
|
|
860
|
+
*/
|
|
861
|
+
meaninglessFileNames?: Array<string>;
|
|
862
|
+
/**
|
|
863
|
+
* Import paths to be considered as styled-components imports at the top level.
|
|
864
|
+
*
|
|
865
|
+
* **Note: This feature is not yet implemented in oxc.**
|
|
866
|
+
*/
|
|
867
|
+
topLevelImportPaths?: Array<string>;
|
|
868
|
+
}
|
|
869
|
+
|
|
788
870
|
/**
|
|
789
871
|
* Transpile a JavaScript or TypeScript into a target ECMAScript version.
|
|
790
872
|
*
|
|
@@ -805,8 +887,8 @@ declare function transform(filename: string, sourceText: string, options?: Trans
|
|
|
805
887
|
* @see {@link transform}
|
|
806
888
|
*/
|
|
807
889
|
interface TransformOptions {
|
|
808
|
-
/** Treat the source text as `js`, `jsx`, `ts`, or `
|
|
809
|
-
lang?: 'js' | 'jsx' | 'ts' | 'tsx';
|
|
890
|
+
/** Treat the source text as `js`, `jsx`, `ts`, `tsx`, or `dts`. */
|
|
891
|
+
lang?: 'js' | 'jsx' | 'ts' | 'tsx' | 'dts';
|
|
810
892
|
/** Treat the source text as `script` or `module` code. */
|
|
811
893
|
sourceType?: 'script' | 'module' | 'unambiguous' | undefined;
|
|
812
894
|
/**
|
|
@@ -853,6 +935,8 @@ interface TransformOptions {
|
|
|
853
935
|
inject?: Record<string, string | [string, string]>;
|
|
854
936
|
/** Decorator plugin */
|
|
855
937
|
decorator?: DecoratorOptions;
|
|
938
|
+
/** Third-party plugins to use. */
|
|
939
|
+
plugins?: PluginsOptions;
|
|
856
940
|
}
|
|
857
941
|
interface TransformResult {
|
|
858
942
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-CCU51T2Z.mjs";
|
|
2
2
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
3
3
|
import { Program } from "@oxc-project/types";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-
|
|
1
|
+
import { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWasmHelperPluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding-Drc5ua4y.cjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
|
|
@@ -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-DW0QAYZP.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"));
|
|
@@ -542,7 +542,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
//#endregion
|
|
545
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
545
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.77.0/node_modules/oxc-parser/wrap.mjs
|
|
546
546
|
function wrap$1(result) {
|
|
547
547
|
let program, module$1, comments, errors;
|
|
548
548
|
return {
|
|
@@ -515,7 +515,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
//#endregion
|
|
518
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
518
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.77.0/node_modules/oxc-parser/wrap.mjs
|
|
519
519
|
function wrap$1(result) {
|
|
520
520
|
let program, module$1, comments, errors;
|
|
521
521
|
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-B7LAlzDE.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";
|
|
@@ -8,7 +8,7 @@ import os from "node:os";
|
|
|
8
8
|
import { Worker } from "node:worker_threads";
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.0.0-beta.26-commit.
|
|
11
|
+
var version = "1.0.0-beta.26-commit.abdc470";
|
|
12
12
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -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-FpWRkz3o.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"));
|
|
@@ -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.26-commit.
|
|
12
|
+
var version = "1.0.0-beta.26-commit.abdc470";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.26-commit.
|
|
3
|
+
"version": "1.0.0-beta.26-commit.abdc470",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"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"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@oxc-project/runtime": "=0.
|
|
95
|
-
"@oxc-project/types": "=0.
|
|
94
|
+
"@oxc-project/runtime": "=0.77.0",
|
|
95
|
+
"@oxc-project/types": "=0.77.0",
|
|
96
96
|
"ansis": "^4.0.0",
|
|
97
|
-
"@rolldown/pluginutils": "1.0.0-beta.26-commit.
|
|
97
|
+
"@rolldown/pluginutils": "1.0.0-beta.26-commit.abdc470"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@napi-rs/cli": "^3.0.0-alpha.95",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"emnapi": "^1.2.0",
|
|
108
108
|
"execa": "^9.2.0",
|
|
109
109
|
"glob": "^11.0.0",
|
|
110
|
-
"oxc-parser": "=0.
|
|
110
|
+
"oxc-parser": "=0.77.0",
|
|
111
111
|
"pathe": "^2.0.3",
|
|
112
112
|
"remeda": "^2.10.0",
|
|
113
113
|
"rolldown-plugin-dts": "^0.13.6",
|
|
@@ -119,22 +119,22 @@
|
|
|
119
119
|
"typescript": "^5.7.3",
|
|
120
120
|
"valibot": "1.1.0",
|
|
121
121
|
"@rolldown/testing": "0.0.1",
|
|
122
|
-
"rolldown": "1.0.0-beta.26-commit.
|
|
122
|
+
"rolldown": "1.0.0-beta.26-commit.abdc470"
|
|
123
123
|
},
|
|
124
124
|
"optionalDependencies": {
|
|
125
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.26-commit.
|
|
126
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.26-commit.
|
|
127
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.26-commit.
|
|
128
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.26-commit.
|
|
129
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.26-commit.
|
|
130
|
-
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.26-commit.
|
|
131
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.26-commit.
|
|
132
|
-
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.26-commit.
|
|
133
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.26-commit.
|
|
134
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.26-commit.
|
|
135
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.26-commit.
|
|
136
|
-
"@rolldown/binding-android-arm64": "1.0.0-beta.26-commit.
|
|
137
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.26-commit.
|
|
125
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.26-commit.abdc470",
|
|
126
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.26-commit.abdc470",
|
|
127
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.26-commit.abdc470",
|
|
128
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.26-commit.abdc470",
|
|
129
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.26-commit.abdc470",
|
|
130
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.26-commit.abdc470",
|
|
131
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.26-commit.abdc470",
|
|
132
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.26-commit.abdc470",
|
|
133
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.26-commit.abdc470",
|
|
134
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.26-commit.abdc470",
|
|
135
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.26-commit.abdc470",
|
|
136
|
+
"@rolldown/binding-android-arm64": "1.0.0-beta.26-commit.abdc470",
|
|
137
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.26-commit.abdc470"
|
|
138
138
|
},
|
|
139
139
|
"scripts": {
|
|
140
140
|
"# Scrips for binding #": "_",
|