@rolldown/browser 1.0.0-beta.8-commit.66f4623 → 1.0.0-beta.8-commit.d95f99e
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 +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +2 -2
- package/dist/experimental-index.browser.mjs +1 -1
- package/dist/experimental-index.cjs +1 -1
- package/dist/experimental-index.d.cts +1 -1
- package/dist/experimental-index.d.mts +1 -1
- package/dist/experimental-index.mjs +1 -1
- package/dist/filter-index.d.cts +1 -1
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/parallel-plugin-worker.cjs +1 -1
- package/dist/parallel-plugin-worker.mjs +1 -1
- package/dist/parallel-plugin.d.cts +1 -1
- package/dist/parallel-plugin.d.mts +1 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/shared/{define-config.d-zt5s72Z7.d.mts → define-config.d-CItYepRt.d.mts} +2 -0
- package/dist/shared/{define-config.d-Bkkf8Fak.d.cts → define-config.d-D4ayr_B-.d.cts} +2 -0
- package/dist/shared/{load-config-BeUD2pZG.cjs → load-config-Cjq5Zd-j.cjs} +1 -1
- package/dist/shared/{load-config-fBqyX9b3.mjs → load-config-ZlQ2Epcn.mjs} +1 -1
- package/dist/shared/{src-ULAQDVII.mjs → src-B188GjoC.mjs} +9 -4
- package/dist/shared/{src-D1iw4mNX.cjs → src-DI5J96eO.cjs} +9 -4
- package/dist/{src-NnyoYQ2w.js → src-DIN6_XoW.js} +9 -4
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-DI5J96eO.cjs');
|
|
3
3
|
const require_dist = require('./shared/dist-n1rVcJ5K.cjs');
|
|
4
4
|
require('./shared/parse-ast-index-DfDBeJFi.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-Cjq5Zd-j.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"));
|
package/dist/cli.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk-DSsiIF1Z.mjs";
|
|
2
|
-
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
2
|
+
import { description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-B188GjoC.mjs";
|
|
3
3
|
import { arraify, init_misc } from "./shared/dist-Oaz_A_8i.mjs";
|
|
4
4
|
import "./shared/parse-ast-index-DvsltErM.mjs";
|
|
5
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
5
|
+
import { init_load_config, loadConfig } from "./shared/load-config-ZlQ2Epcn.mjs";
|
|
6
6
|
import path, { sep } from "node:path";
|
|
7
7
|
import colors from "ansis";
|
|
8
8
|
import process$1 from "node:process";
|
package/dist/config.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-DI5J96eO.cjs');
|
|
3
3
|
require('./shared/dist-n1rVcJ5K.cjs');
|
|
4
4
|
require('./shared/parse-ast-index-DfDBeJFi.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-Cjq5Zd-j.cjs');
|
|
6
6
|
|
|
7
7
|
//#region src/config.ts
|
|
8
8
|
const VERSION = require_src.version;
|
package/dist/config.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigExport, defineConfig } from "./shared/define-config.d-
|
|
1
|
+
import { ConfigExport, defineConfig } from "./shared/define-config.d-D4ayr_B-.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/load-config.d.ts
|
|
4
4
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigExport, defineConfig$1 as defineConfig } from "./shared/define-config.d-
|
|
1
|
+
import { ConfigExport, defineConfig$1 as defineConfig } from "./shared/define-config.d-CItYepRt.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/load-config.d.ts
|
|
4
4
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineConfig, init_define_config, version } from "./shared/src-
|
|
1
|
+
import { defineConfig, init_define_config, version } from "./shared/src-B188GjoC.mjs";
|
|
2
2
|
import "./shared/dist-Oaz_A_8i.mjs";
|
|
3
3
|
import "./shared/parse-ast-index-DvsltErM.mjs";
|
|
4
|
-
import { init_load_config, loadConfig } from "./shared/load-config-
|
|
4
|
+
import { init_load_config, loadConfig } from "./shared/load-config-ZlQ2Epcn.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
7
|
init_define_config();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./src-
|
|
1
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./src-DIN6_XoW.js";
|
|
2
2
|
import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi-browser.js";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('./shared/src-
|
|
3
|
+
const require_src = require('./shared/src-DI5J96eO.cjs');
|
|
4
4
|
require('./shared/dist-n1rVcJ5K.cjs');
|
|
5
5
|
require('./shared/parse-ast-index-DfDBeJFi.cjs');
|
|
6
6
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/define-config.d-
|
|
1
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/define-config.d-D4ayr_B-.cjs";
|
|
2
2
|
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions as ResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/define-config.d-
|
|
1
|
+
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/define-config.d-CItYepRt.mjs";
|
|
2
2
|
import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions as ResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-
|
|
1
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-B188GjoC.mjs";
|
|
2
2
|
import "./shared/dist-Oaz_A_8i.mjs";
|
|
3
3
|
import "./shared/parse-ast-index-DvsltErM.mjs";
|
|
4
4
|
import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
package/dist/filter-index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { and, code, exclude, id, include, moduleType, not, or, withFilter } from "./shared/define-config.d-
|
|
1
|
+
import { and, code, exclude, id, include, moduleType, not, or, withFilter } from "./shared/define-config.d-D4ayr_B-.cjs";
|
|
2
2
|
|
|
3
3
|
export { and, code, exclude, id, include, moduleType, not, or, withFilter };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { and, code, exclude, id, include, moduleType, not, or, withFilter } from "./shared/define-config.d-
|
|
1
|
+
import { and, code, exclude, id, include, moduleType, not, or, withFilter } from "./shared/define-config.d-CItYepRt.mjs";
|
|
2
2
|
|
|
3
3
|
export { and, code, exclude, id, include, moduleType, not, or, withFilter };
|
package/dist/index.browser.mjs
CHANGED
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config.d-
|
|
1
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config.d-D4ayr_B-.cjs";
|
|
2
2
|
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch } from "./shared/define-config.d-
|
|
1
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch } from "./shared/define-config.d-CItYepRt.mjs";
|
|
2
2
|
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch } from "./shared/src-B188GjoC.mjs";
|
|
2
2
|
import "./shared/dist-Oaz_A_8i.mjs";
|
|
3
3
|
import "./shared/parse-ast-index-DvsltErM.mjs";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-DI5J96eO.cjs');
|
|
3
3
|
require('./shared/dist-n1rVcJ5K.cjs');
|
|
4
4
|
require('./shared/parse-ast-index-DfDBeJFi.cjs');
|
|
5
5
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJS } from "./shared/chunk-DSsiIF1Z.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-B188GjoC.mjs";
|
|
3
3
|
import "./shared/dist-Oaz_A_8i.mjs";
|
|
4
4
|
import "./shared/parse-ast-index-DvsltErM.mjs";
|
|
5
5
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
Binary file
|
|
@@ -283,6 +283,7 @@ interface OutputOptions {
|
|
|
283
283
|
polyfillRequire?: boolean;
|
|
284
284
|
target?: ESTarget;
|
|
285
285
|
hoistTransitiveImports?: false;
|
|
286
|
+
preserveModules?: boolean;
|
|
286
287
|
}
|
|
287
288
|
|
|
288
289
|
//#endregion
|
|
@@ -420,6 +421,7 @@ interface NormalizedOutputOptions {
|
|
|
420
421
|
comments: "none" | "preserve-legal";
|
|
421
422
|
polyfillRequire: boolean;
|
|
422
423
|
plugins: RolldownPlugin[];
|
|
424
|
+
preserveModules: boolean;
|
|
423
425
|
}
|
|
424
426
|
|
|
425
427
|
//#endregion
|
|
@@ -283,6 +283,7 @@ interface OutputOptions {
|
|
|
283
283
|
polyfillRequire?: boolean;
|
|
284
284
|
target?: ESTarget;
|
|
285
285
|
hoistTransitiveImports?: false;
|
|
286
|
+
preserveModules?: boolean;
|
|
286
287
|
}
|
|
287
288
|
|
|
288
289
|
//#endregion
|
|
@@ -420,6 +421,7 @@ interface NormalizedOutputOptions {
|
|
|
420
421
|
comments: "none" | "preserve-legal";
|
|
421
422
|
polyfillRequire: boolean;
|
|
422
423
|
plugins: RolldownPlugin[];
|
|
424
|
+
preserveModules: boolean;
|
|
423
425
|
}
|
|
424
426
|
|
|
425
427
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('./src-
|
|
3
|
+
const require_src = require('./src-DI5J96eO.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm } from "./chunk-DSsiIF1Z.mjs";
|
|
2
|
-
import { init_rolldown, rolldown } from "./src-
|
|
2
|
+
import { init_rolldown, rolldown } from "./src-B188GjoC.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
5
|
import { cwd } from "node:process";
|
|
@@ -8,7 +8,7 @@ import { availableParallelism } 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.8-commit.
|
|
11
|
+
var version = "1.0.0-beta.8-commit.d95f99e";
|
|
12
12
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -2086,7 +2086,8 @@ var init_validator = __esm({ "src/utils/validator.ts"() {
|
|
|
2086
2086
|
hoistTransitiveImports: optional(custom((input) => {
|
|
2087
2087
|
if (input) return false;
|
|
2088
2088
|
return true;
|
|
2089
|
-
}, () => `The 'true' value is not supported`))
|
|
2089
|
+
}, () => `The 'true' value is not supported`)),
|
|
2090
|
+
preserveModules: optional(boolean())
|
|
2090
2091
|
});
|
|
2091
2092
|
getAddonDescription = (placement, wrapper) => {
|
|
2092
2093
|
return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
|
|
@@ -4044,7 +4045,7 @@ var init_transform_rendered_chunk = __esm({ "src/utils/transform-rendered-chunk.
|
|
|
4044
4045
|
//#endregion
|
|
4045
4046
|
//#region src/utils/bindingify-output-options.ts
|
|
4046
4047
|
function bindingifyOutputOptions(outputOptions) {
|
|
4047
|
-
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName } = outputOptions;
|
|
4048
|
+
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules } = outputOptions;
|
|
4048
4049
|
return {
|
|
4049
4050
|
dir,
|
|
4050
4051
|
file: file == null ? void 0 : file,
|
|
@@ -4075,7 +4076,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
4075
4076
|
advancedChunks: outputOptions.advancedChunks,
|
|
4076
4077
|
polyfillRequire: outputOptions.polyfillRequire,
|
|
4077
4078
|
target: outputOptions.target,
|
|
4078
|
-
sanitizeFileName
|
|
4079
|
+
sanitizeFileName,
|
|
4080
|
+
preserveModules
|
|
4079
4081
|
};
|
|
4080
4082
|
}
|
|
4081
4083
|
function bindingifyAddon(configAddon) {
|
|
@@ -4230,6 +4232,9 @@ var init_normalized_output_options = __esm({ "src/options/normalized-output-opti
|
|
|
4230
4232
|
get plugins() {
|
|
4231
4233
|
return this.normalizedOutputPlugins;
|
|
4232
4234
|
}
|
|
4235
|
+
get preserveModules() {
|
|
4236
|
+
return this.preserveModules;
|
|
4237
|
+
}
|
|
4233
4238
|
};
|
|
4234
4239
|
} });
|
|
4235
4240
|
|
|
@@ -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.8-commit.
|
|
12
|
+
var version = "1.0.0-beta.8-commit.d95f99e";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -1999,7 +1999,8 @@ const OutputOptionsSchema = strictObject({
|
|
|
1999
1999
|
hoistTransitiveImports: optional(custom((input) => {
|
|
2000
2000
|
if (input) return false;
|
|
2001
2001
|
return true;
|
|
2002
|
-
}, () => `The 'true' value is not supported`))
|
|
2002
|
+
}, () => `The 'true' value is not supported`)),
|
|
2003
|
+
preserveModules: optional(boolean())
|
|
2003
2004
|
});
|
|
2004
2005
|
const getAddonDescription = (placement, wrapper) => {
|
|
2005
2006
|
return `Code to insert the ${ansis.default.bold(placement)} of the bundled file (${ansis.default.bold(wrapper)} the wrapper function)`;
|
|
@@ -2772,7 +2773,7 @@ function transformChunkModules(modules) {
|
|
|
2772
2773
|
//#endregion
|
|
2773
2774
|
//#region src/utils/bindingify-output-options.ts
|
|
2774
2775
|
function bindingifyOutputOptions(outputOptions) {
|
|
2775
|
-
const { dir, format, exports: exports$1, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName } = outputOptions;
|
|
2776
|
+
const { dir, format, exports: exports$1, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules } = outputOptions;
|
|
2776
2777
|
return {
|
|
2777
2778
|
dir,
|
|
2778
2779
|
file: file == null ? void 0 : file,
|
|
@@ -2803,7 +2804,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
2803
2804
|
advancedChunks: outputOptions.advancedChunks,
|
|
2804
2805
|
polyfillRequire: outputOptions.polyfillRequire,
|
|
2805
2806
|
target: outputOptions.target,
|
|
2806
|
-
sanitizeFileName
|
|
2807
|
+
sanitizeFileName,
|
|
2808
|
+
preserveModules
|
|
2807
2809
|
};
|
|
2808
2810
|
}
|
|
2809
2811
|
function bindingifyAddon(configAddon) {
|
|
@@ -2946,6 +2948,9 @@ var NormalizedOutputOptionsImpl = class {
|
|
|
2946
2948
|
get plugins() {
|
|
2947
2949
|
return this.normalizedOutputPlugins;
|
|
2948
2950
|
}
|
|
2951
|
+
get preserveModules() {
|
|
2952
|
+
return this.preserveModules;
|
|
2953
|
+
}
|
|
2949
2954
|
};
|
|
2950
2955
|
function normalizeAddon(value) {
|
|
2951
2956
|
if (typeof value === "function") return value;
|
|
@@ -3,7 +3,7 @@ import path from "pathe";
|
|
|
3
3
|
import colors from "ansis";
|
|
4
4
|
|
|
5
5
|
//#region package.json
|
|
6
|
-
var version = "1.0.0-beta.8-commit.
|
|
6
|
+
var version = "1.0.0-beta.8-commit.d95f99e";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/builtin-plugin/utils.ts
|
|
@@ -1854,7 +1854,8 @@ const OutputOptionsSchema = strictObject({
|
|
|
1854
1854
|
hoistTransitiveImports: optional(custom((input) => {
|
|
1855
1855
|
if (input) return false;
|
|
1856
1856
|
return true;
|
|
1857
|
-
}, () => `The 'true' value is not supported`))
|
|
1857
|
+
}, () => `The 'true' value is not supported`)),
|
|
1858
|
+
preserveModules: optional(boolean())
|
|
1858
1859
|
});
|
|
1859
1860
|
const getAddonDescription = (placement, wrapper) => {
|
|
1860
1861
|
return `Code to insert the ${colors.bold(placement)} of the bundled file (${colors.bold(wrapper)} the wrapper function)`;
|
|
@@ -2766,7 +2767,7 @@ function transformChunkModules(modules) {
|
|
|
2766
2767
|
//#endregion
|
|
2767
2768
|
//#region src/utils/bindingify-output-options.ts
|
|
2768
2769
|
function bindingifyOutputOptions(outputOptions) {
|
|
2769
|
-
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName } = outputOptions;
|
|
2770
|
+
const { dir, format, exports, hashCharacters, sourcemap, sourcemapDebugIds, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, cssEntryFileNames, cssChunkFileNames, banner, footer, intro, outro, esModule, globals, file, sanitizeFileName, preserveModules } = outputOptions;
|
|
2770
2771
|
return {
|
|
2771
2772
|
dir,
|
|
2772
2773
|
file: file == null ? void 0 : file,
|
|
@@ -2797,7 +2798,8 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
2797
2798
|
advancedChunks: outputOptions.advancedChunks,
|
|
2798
2799
|
polyfillRequire: outputOptions.polyfillRequire,
|
|
2799
2800
|
target: outputOptions.target,
|
|
2800
|
-
sanitizeFileName
|
|
2801
|
+
sanitizeFileName,
|
|
2802
|
+
preserveModules
|
|
2801
2803
|
};
|
|
2802
2804
|
}
|
|
2803
2805
|
function bindingifyAddon(configAddon) {
|
|
@@ -2940,6 +2942,9 @@ var NormalizedOutputOptionsImpl = class {
|
|
|
2940
2942
|
get plugins() {
|
|
2941
2943
|
return this.normalizedOutputPlugins;
|
|
2942
2944
|
}
|
|
2945
|
+
get preserveModules() {
|
|
2946
|
+
return this.preserveModules;
|
|
2947
|
+
}
|
|
2943
2948
|
};
|
|
2944
2949
|
function normalizeAddon(value) {
|
|
2945
2950
|
if (typeof value === "function") return value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolldown/browser",
|
|
3
|
-
"version": "1.0.0-beta.8-commit.
|
|
3
|
+
"version": "1.0.0-beta.8-commit.d95f99e",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"type": "module",
|