@rolldown/browser 1.0.0-beta.15 → 1.0.0-beta.17
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 +8 -8
- package/dist/cli.mjs +1042 -1083
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +4 -5
- package/dist/experimental-index.browser.mjs +3 -3
- package/dist/experimental-index.cjs +3 -3
- package/dist/experimental-index.d.cts +2 -2
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +5 -17
- package/dist/experimental-runtime-types.d.ts +52 -0
- package/dist/filter-index.d.cts +2 -2
- package/dist/filter-index.d.mts +2 -2
- package/dist/filter-index.mjs +1 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -4
- package/dist/parallel-plugin-worker.cjs +2 -2
- package/dist/parallel-plugin-worker.mjs +27 -33
- 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 -2
- package/dist/rolldown-binding.wasi-browser.js +4 -2
- package/dist/rolldown-binding.wasi.cjs +3 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/shared/{binding-CZdobbZA.d.cts → binding-CWvDTpOw.d.mts} +23 -15
- package/dist/shared/{binding-Dze8QVpf.d.mts → binding-um3VI33z.d.cts} +23 -15
- package/dist/shared/{define-config-CnVvtpOm.d.mts → define-config-DETTMcOl.d.mts} +73 -12
- package/dist/shared/{define-config-BE-fkZNW.d.cts → define-config-POPyhxOq.d.cts} +73 -12
- package/dist/shared/dist-BoWaIc-K.mjs +147 -0
- package/dist/shared/{load-config-CmZwBnZf.mjs → load-config-C0FU-xTD.mjs} +14 -19
- package/dist/shared/{load-config-DlY_Bz-0.cjs → load-config-Cp5Lu-qW.cjs} +1 -1
- package/dist/shared/{parse-ast-index-IepkD-LB.mjs → parse-ast-index-B5AmHtd5.mjs} +10 -28
- package/dist/shared/{parse-ast-index-5MuKtufe.cjs → parse-ast-index-X4pECV1E.cjs} +1 -1
- package/dist/shared/prompt-C5jz26Zn.mjs +852 -0
- package/dist/shared/{prompt-8EeOGx1_.cjs → prompt-QNI93ne7.cjs} +2 -2
- package/dist/shared/{src-Do34b1Pc.mjs → src-CsIMaM6C.mjs} +1157 -1367
- package/dist/shared/{src-CYvvndv2.cjs → src-D8KQ1KMN.cjs} +43 -28
- package/dist/{src-B1yRSHcw.js → src-Bv_xHi2_.js} +43 -28
- package/package.json +3 -2
- package/dist/shared/chunk-DSsiIF1Z.mjs +0 -30
- package/dist/shared/dist-DeDsdiza.mjs +0 -153
- package/dist/shared/prompt-jPdbaKAj.mjs +0 -854
package/dist/config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
1
|
+
const require_src = require('./shared/src-D8KQ1KMN.cjs');
|
|
2
2
|
require('./shared/dist-BMVjvV-v.cjs');
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
4
|
-
const require_load_config = require('./shared/load-config-
|
|
3
|
+
require('./shared/parse-ast-index-X4pECV1E.cjs');
|
|
4
|
+
const require_load_config = require('./shared/load-config-Cp5Lu-qW.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-um3VI33z.cjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-POPyhxOq.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-CWvDTpOw.mjs";
|
|
2
|
+
import { ConfigExport, defineConfig } from "./shared/define-config-DETTMcOl.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,10 +1,9 @@
|
|
|
1
|
-
import { defineConfig, version } from "./shared/src-
|
|
2
|
-
import "./shared/dist-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
4
|
-
import {
|
|
1
|
+
import { defineConfig, version } from "./shared/src-CsIMaM6C.mjs";
|
|
2
|
+
import "./shared/dist-BoWaIc-K.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-B5AmHtd5.mjs";
|
|
4
|
+
import { loadConfig } from "./shared/load-config-C0FU-xTD.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/config.ts
|
|
7
|
-
init_load_config();
|
|
8
7
|
const VERSION = version;
|
|
9
8
|
|
|
10
9
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins,
|
|
2
|
-
import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi-browser.js";
|
|
1
|
+
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./src-Bv_xHi2_.js";
|
|
2
|
+
import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi-browser.js";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.ts
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform
|
|
|
9
9
|
*/
|
|
10
10
|
const experimental_scan = async (input) => {
|
|
11
11
|
const inputOptions = await PluginDriver.callOptionsHook(input);
|
|
12
|
-
const { bundler, stopWorkers } = await
|
|
12
|
+
const { impl: bundler, stopWorkers } = await createBundlerImpl(new BindingBundler(), inputOptions, {});
|
|
13
13
|
const output = await bundler.scan();
|
|
14
14
|
handleOutputErrors(output);
|
|
15
15
|
await stopWorkers?.();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-D8KQ1KMN.cjs');
|
|
3
3
|
require('./shared/dist-BMVjvV-v.cjs');
|
|
4
|
-
require('./shared/parse-ast-index-
|
|
4
|
+
require('./shared/parse-ast-index-X4pECV1E.cjs');
|
|
5
5
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
6
6
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ const node_url = require_chunk.__toESM(require("node:url"));
|
|
|
13
13
|
*/
|
|
14
14
|
const experimental_scan = async (input) => {
|
|
15
15
|
const inputOptions = await require_src.PluginDriver.callOptionsHook(input);
|
|
16
|
-
const { bundler, stopWorkers } = await require_src.
|
|
16
|
+
const { impl: bundler, stopWorkers } = await require_src.createBundlerImpl(new src_rolldown_binding_wasi_cjs.BindingBundler(), inputOptions, {});
|
|
17
17
|
const output = await bundler.scan();
|
|
18
18
|
require_src.handleOutputErrors(output);
|
|
19
19
|
await stopWorkers?.();
|
|
@@ -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, RolldownPlugin, 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-um3VI33z.cjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-POPyhxOq.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, RolldownPlugin, 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-CWvDTpOw.mjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/define-config-DETTMcOl.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins,
|
|
2
|
-
import "./shared/dist-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
4
|
-
import { ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
1
|
+
import { BuiltinPlugin, PluginDriver, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundlerImpl, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reporterPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "./shared/src-CsIMaM6C.mjs";
|
|
2
|
+
import "./shared/dist-BoWaIc-K.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-B5AmHtd5.mjs";
|
|
4
|
+
import { BindingBundler, ResolverFactory, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/api/experimental.ts
|
|
8
|
-
init_plugin_driver();
|
|
9
|
-
init_create_bundler();
|
|
10
|
-
init_transform_to_rollup_output();
|
|
11
8
|
/**
|
|
12
9
|
* This is an experimental API. It's behavior may change in the future.
|
|
13
10
|
*
|
|
@@ -15,7 +12,7 @@ init_transform_to_rollup_output();
|
|
|
15
12
|
*/
|
|
16
13
|
const experimental_scan = async (input) => {
|
|
17
14
|
const inputOptions = await PluginDriver.callOptionsHook(input);
|
|
18
|
-
const { bundler, stopWorkers } = await
|
|
15
|
+
const { impl: bundler, stopWorkers } = await createBundlerImpl(new BindingBundler(), inputOptions, {});
|
|
19
16
|
const output = await bundler.scan();
|
|
20
17
|
handleOutputErrors(output);
|
|
21
18
|
await stopWorkers?.();
|
|
@@ -34,14 +31,12 @@ function defineParallelPlugin(pluginPath) {
|
|
|
34
31
|
|
|
35
32
|
//#endregion
|
|
36
33
|
//#region src/builtin-plugin/alias-plugin.ts
|
|
37
|
-
init_constructors();
|
|
38
34
|
function aliasPlugin(config) {
|
|
39
35
|
return new BuiltinPlugin("builtin:alias", config);
|
|
40
36
|
}
|
|
41
37
|
|
|
42
38
|
//#endregion
|
|
43
39
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
44
|
-
init_constructors();
|
|
45
40
|
/**
|
|
46
41
|
* Replaces targeted strings in files while bundling.
|
|
47
42
|
*
|
|
@@ -75,8 +70,6 @@ function replacePlugin(values = {}, options = {}) {
|
|
|
75
70
|
|
|
76
71
|
//#endregion
|
|
77
72
|
//#region src/builtin-plugin/transform-plugin.ts
|
|
78
|
-
init_constructors();
|
|
79
|
-
init_normalize_string_or_regex();
|
|
80
73
|
function transformPlugin(config) {
|
|
81
74
|
if (config) config = {
|
|
82
75
|
...config,
|
|
@@ -88,10 +81,5 @@ function transformPlugin(config) {
|
|
|
88
81
|
return new BuiltinPlugin("builtin:transform", config);
|
|
89
82
|
}
|
|
90
83
|
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region src/experimental-index.ts
|
|
93
|
-
init_compose_js_plugins();
|
|
94
|
-
init_constructors();
|
|
95
|
-
|
|
96
84
|
//#endregion
|
|
97
85
|
export { ResolverFactory, aliasPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins as composePlugins, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, moduleRunnerTransform, replacePlugin, reporterPlugin, experimental_scan as scan, transform, transformPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare class DevRuntime {
|
|
2
|
+
/**
|
|
3
|
+
* @type {Record<string, { exports: any }>}
|
|
4
|
+
*/
|
|
5
|
+
modules: Record<string, {
|
|
6
|
+
exports: any;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* @param {string} _moduleId
|
|
10
|
+
*/
|
|
11
|
+
createModuleHotContext(_moduleId: string): void;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param {string[]} _boundaries
|
|
15
|
+
*/
|
|
16
|
+
applyUpdates(_boundaries: string[]): void;
|
|
17
|
+
/**
|
|
18
|
+
* @param {string} id
|
|
19
|
+
* @param {{ exports: any }} module
|
|
20
|
+
*/
|
|
21
|
+
registerModule(id: string, module: {
|
|
22
|
+
exports: any;
|
|
23
|
+
}): void;
|
|
24
|
+
/**
|
|
25
|
+
* @param {string} id
|
|
26
|
+
*/
|
|
27
|
+
loadExports(id: string): any;
|
|
28
|
+
/**
|
|
29
|
+
* __esmMin
|
|
30
|
+
*
|
|
31
|
+
* @type {<T>(fn: any, res: T) => () => T}
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
createEsmInitializer: <T>(fn: any, res: T) => () => T;
|
|
35
|
+
/**
|
|
36
|
+
* __commonJSMin
|
|
37
|
+
*
|
|
38
|
+
* @type {<T extends { exports: any }>(cb: any, mod: { exports: any }) => () => T}
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
createCjsInitializer: <T extends {
|
|
42
|
+
exports: any;
|
|
43
|
+
}>(cb: any, mod: {
|
|
44
|
+
exports: any;
|
|
45
|
+
}) => () => T;
|
|
46
|
+
/** @internal */
|
|
47
|
+
__toESM: any;
|
|
48
|
+
/** @internal */
|
|
49
|
+
__toCommonJS: any;
|
|
50
|
+
/** @internal */
|
|
51
|
+
__export: any;
|
|
52
|
+
}
|
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-um3VI33z.cjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-POPyhxOq.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-CWvDTpOw.mjs";
|
|
2
|
+
import { withFilter } from "./shared/define-config-DETTMcOl.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/filter-index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { and, arraify, code, exclude, id, include,
|
|
1
|
+
import { and, arraify, code, exclude, id, include, isPromiseLike, moduleType, not, or, queries, query } from "./shared/dist-BoWaIc-K.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin/with-filter.ts
|
|
4
|
-
init_misc();
|
|
5
4
|
function withFilterImpl(pluginOption, filterObjectList) {
|
|
6
5
|
if (isPromiseLike(pluginOption)) return pluginOption.then((p) => withFilter(p, filterObjectList));
|
|
7
6
|
if (pluginOption == false || pluginOption == null) return pluginOption;
|
package/dist/index.browser.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
1
|
+
const require_src = require('./shared/src-D8KQ1KMN.cjs');
|
|
2
2
|
require('./shared/dist-BMVjvV-v.cjs');
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
3
|
+
require('./shared/parse-ast-index-X4pECV1E.cjs');
|
|
4
4
|
|
|
5
5
|
exports.VERSION = require_src.VERSION;
|
|
6
6
|
exports.build = require_src.build;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding-um3VI33z.cjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-POPyhxOq.cjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding-
|
|
2
|
-
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding-CWvDTpOw.mjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch } from "./shared/define-config-DETTMcOl.mjs";
|
|
3
3
|
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig,
|
|
2
|
-
import "./shared/dist-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "./shared/src-CsIMaM6C.mjs";
|
|
2
|
+
import "./shared/dist-BoWaIc-K.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-B5AmHtd5.mjs";
|
|
4
4
|
|
|
5
|
-
init_src();
|
|
6
5
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-D8KQ1KMN.cjs');
|
|
3
3
|
require('./shared/dist-BMVjvV-v.cjs');
|
|
4
|
-
require('./shared/parse-ast-index-
|
|
4
|
+
require('./shared/parse-ast-index-X4pECV1E.cjs');
|
|
5
5
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
6
6
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
7
7
|
|
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./shared/
|
|
4
|
-
import "./shared/parse-ast-index-IepkD-LB.mjs";
|
|
1
|
+
import { PluginContextData, bindingifyPlugin } from "./shared/src-CsIMaM6C.mjs";
|
|
2
|
+
import "./shared/dist-BoWaIc-K.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-B5AmHtd5.mjs";
|
|
5
4
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
6
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
7
6
|
|
|
8
7
|
//#region src/parallel-plugin-worker.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
parentPort.unref();
|
|
33
|
-
}
|
|
34
|
-
})();
|
|
35
|
-
} });
|
|
8
|
+
const { registryId, pluginInfos, threadNumber } = workerData;
|
|
9
|
+
(async () => {
|
|
10
|
+
try {
|
|
11
|
+
const plugins = await Promise.all(pluginInfos.map(async (pluginInfo) => {
|
|
12
|
+
const pluginModule = await import(pluginInfo.fileUrl);
|
|
13
|
+
const definePluginImpl = pluginModule.default;
|
|
14
|
+
const plugin = await definePluginImpl(pluginInfo.options, { threadNumber });
|
|
15
|
+
return {
|
|
16
|
+
index: pluginInfo.index,
|
|
17
|
+
plugin: bindingifyPlugin(plugin, {}, {}, new PluginContextData(), [], () => {}, "info", false)
|
|
18
|
+
};
|
|
19
|
+
}));
|
|
20
|
+
registerPlugins(registryId, plugins);
|
|
21
|
+
parentPort.postMessage({ type: "success" });
|
|
22
|
+
} catch (error) {
|
|
23
|
+
parentPort.postMessage({
|
|
24
|
+
type: "error",
|
|
25
|
+
error
|
|
26
|
+
});
|
|
27
|
+
} finally {
|
|
28
|
+
parentPort.unref();
|
|
29
|
+
}
|
|
30
|
+
})();
|
|
36
31
|
|
|
37
|
-
//#endregion
|
|
38
|
-
export default require_parallel_plugin_worker();
|
|
32
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-um3VI33z.cjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-POPyhxOq.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-CWvDTpOw.mjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/define-config-DETTMcOl.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-X4pECV1E.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
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
WASI as __WASI,
|
|
6
6
|
} from '@napi-rs/wasm-runtime'
|
|
7
7
|
import { memfs } from '@napi-rs/wasm-runtime/fs'
|
|
8
|
-
import __wasmUrl from './rolldown-binding.wasm32-wasi.wasm?url'
|
|
9
8
|
|
|
10
9
|
export const { fs: __fs, vol: __volume } = memfs()
|
|
11
10
|
|
|
@@ -17,6 +16,7 @@ const __wasi = new __WASI({
|
|
|
17
16
|
},
|
|
18
17
|
})
|
|
19
18
|
|
|
19
|
+
const __wasmUrl = new URL('./rolldown-binding.wasm32-wasi.wasm', import.meta.url).href
|
|
20
20
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
21
21
|
|
|
22
22
|
const __sharedMemory = new WebAssembly.Memory({
|
|
@@ -83,6 +83,8 @@ export const moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
|
83
83
|
export const transform = __napiModule.exports.transform
|
|
84
84
|
export const BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
85
85
|
export const BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
86
|
+
export const BindingBundler = __napiModule.exports.BindingBundler
|
|
87
|
+
export const BindingBundlerImpl = __napiModule.exports.BindingBundlerImpl
|
|
86
88
|
export const BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
87
89
|
export const BindingError = __napiModule.exports.BindingError
|
|
88
90
|
export const BindingHmrOutput = __napiModule.exports.BindingHmrOutput
|
|
@@ -99,8 +101,8 @@ export const BindingTransformPluginContext = __napiModule.exports.BindingTransfo
|
|
|
99
101
|
export const BindingWatcher = __napiModule.exports.BindingWatcher
|
|
100
102
|
export const BindingWatcherChangeData = __napiModule.exports.BindingWatcherChangeData
|
|
101
103
|
export const BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
|
|
102
|
-
export const Bundler = __napiModule.exports.Bundler
|
|
103
104
|
export const ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
|
|
105
|
+
export const BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
|
|
104
106
|
export const BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
|
|
105
107
|
export const BindingHookSideEffects = __napiModule.exports.BindingHookSideEffects
|
|
106
108
|
export const BindingJsx = __napiModule.exports.BindingJsx
|
|
@@ -107,6 +107,8 @@ module.exports.moduleRunnerTransform = __napiModule.exports.moduleRunnerTransfor
|
|
|
107
107
|
module.exports.transform = __napiModule.exports.transform
|
|
108
108
|
module.exports.BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
109
109
|
module.exports.BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
110
|
+
module.exports.BindingBundler = __napiModule.exports.BindingBundler
|
|
111
|
+
module.exports.BindingBundlerImpl = __napiModule.exports.BindingBundlerImpl
|
|
110
112
|
module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
111
113
|
module.exports.BindingError = __napiModule.exports.BindingError
|
|
112
114
|
module.exports.BindingHmrOutput = __napiModule.exports.BindingHmrOutput
|
|
@@ -123,8 +125,8 @@ module.exports.BindingTransformPluginContext = __napiModule.exports.BindingTrans
|
|
|
123
125
|
module.exports.BindingWatcher = __napiModule.exports.BindingWatcher
|
|
124
126
|
module.exports.BindingWatcherChangeData = __napiModule.exports.BindingWatcherChangeData
|
|
125
127
|
module.exports.BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
|
|
126
|
-
module.exports.Bundler = __napiModule.exports.Bundler
|
|
127
128
|
module.exports.ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
|
|
129
|
+
module.exports.BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
|
|
128
130
|
module.exports.BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
|
|
129
131
|
module.exports.BindingHookSideEffects = __napiModule.exports.BindingHookSideEffects
|
|
130
132
|
module.exports.BindingJsx = __napiModule.exports.BindingJsx
|
|
Binary file
|
|
@@ -952,12 +952,23 @@ interface TypeScriptOptions {
|
|
|
952
952
|
declare class BindingBundleEndEventData {
|
|
953
953
|
output: string;
|
|
954
954
|
duration: number;
|
|
955
|
-
get result():
|
|
955
|
+
get result(): BindingBundlerImpl;
|
|
956
956
|
}
|
|
957
957
|
declare class BindingBundleErrorEventData {
|
|
958
|
-
get result():
|
|
958
|
+
get result(): BindingBundlerImpl;
|
|
959
959
|
get error(): Array<Error | BindingError>;
|
|
960
960
|
}
|
|
961
|
+
declare class BindingBundlerImpl {
|
|
962
|
+
constructor(option: BindingBundlerOptions);
|
|
963
|
+
write(): Promise<BindingOutputs>;
|
|
964
|
+
generate(): Promise<BindingOutputs>;
|
|
965
|
+
scan(): Promise<BindingOutputs>;
|
|
966
|
+
close(): Promise<void>;
|
|
967
|
+
get closed(): boolean;
|
|
968
|
+
getWatchFiles(): Promise<Array<string>>;
|
|
969
|
+
generateHmrPatch(changedFiles: Array<string>): Promise<BindingHmrOutput>;
|
|
970
|
+
hmrInvalidate(file: string, firstInvalidatedBy?: string | undefined | null): Promise<BindingHmrOutput>;
|
|
971
|
+
}
|
|
961
972
|
declare class BindingError {
|
|
962
973
|
kind: string;
|
|
963
974
|
message: string;
|
|
@@ -1006,6 +1017,9 @@ declare class BindingNormalizedOptions {
|
|
|
1006
1017
|
get minify(): false | BindingMinifyOptions;
|
|
1007
1018
|
get polyfillRequire(): boolean;
|
|
1008
1019
|
get legalComments(): 'none' | 'inline';
|
|
1020
|
+
get preserveModules(): boolean;
|
|
1021
|
+
get preserveModulesRoot(): string | undefined;
|
|
1022
|
+
get virtualDirname(): string;
|
|
1009
1023
|
}
|
|
1010
1024
|
declare class BindingOutputAsset {
|
|
1011
1025
|
get fileName(): string;
|
|
@@ -1080,17 +1094,6 @@ declare class BindingWatcherEvent {
|
|
|
1080
1094
|
bundleEventKind(): string;
|
|
1081
1095
|
bundleErrorData(): BindingBundleErrorEventData;
|
|
1082
1096
|
}
|
|
1083
|
-
declare class Bundler {
|
|
1084
|
-
constructor(option: BindingBundlerOptions);
|
|
1085
|
-
write(): Promise<BindingOutputs>;
|
|
1086
|
-
generate(): Promise<BindingOutputs>;
|
|
1087
|
-
scan(): Promise<BindingOutputs>;
|
|
1088
|
-
close(): Promise<void>;
|
|
1089
|
-
get closed(): boolean;
|
|
1090
|
-
getWatchFiles(): Promise<Array<string>>;
|
|
1091
|
-
generateHmrPatch(changedFiles: Array<string>): Promise<BindingHmrOutput>;
|
|
1092
|
-
hmrInvalidate(file: string, firstInvalidatedBy?: string | undefined | null): Promise<BindingHmrOutput>;
|
|
1093
|
-
}
|
|
1094
1097
|
declare class ParallelJsPluginRegistry {
|
|
1095
1098
|
id: number;
|
|
1096
1099
|
workerCount: number;
|
|
@@ -1117,6 +1120,11 @@ interface BindingAssetPluginConfig {
|
|
|
1117
1120
|
interface BindingAssetSource {
|
|
1118
1121
|
inner: string | Uint8Array;
|
|
1119
1122
|
}
|
|
1123
|
+
declare enum BindingAttachDebugInfo {
|
|
1124
|
+
None = 0,
|
|
1125
|
+
Simple = 1,
|
|
1126
|
+
Full = 2,
|
|
1127
|
+
}
|
|
1120
1128
|
interface BindingBuildImportAnalysisPluginConfig {
|
|
1121
1129
|
preloadCode: string;
|
|
1122
1130
|
insertPreload: boolean;
|
|
@@ -1184,7 +1192,7 @@ interface BindingExperimentalOptions {
|
|
|
1184
1192
|
viteMode?: boolean;
|
|
1185
1193
|
resolveNewUrlToAsset?: boolean;
|
|
1186
1194
|
hmr?: BindingExperimentalHmrOptions;
|
|
1187
|
-
attachDebugInfo?:
|
|
1195
|
+
attachDebugInfo?: BindingAttachDebugInfo;
|
|
1188
1196
|
}
|
|
1189
1197
|
interface BindingFilterToken {
|
|
1190
1198
|
kind: FilterTokenKind;
|
|
@@ -1645,4 +1653,4 @@ interface PreRenderedChunk {
|
|
|
1645
1653
|
exports: Array<string>;
|
|
1646
1654
|
}
|
|
1647
1655
|
//#endregion
|
|
1648
|
-
export { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName,
|
|
1656
|
+
export { BindingAssetPluginConfig, BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingBundlerImpl, BindingDynamicImportVarsPluginConfig, BindingHmrOutputPatch, BindingHookResolveIdExtraArgs, BindingImportGlobPluginConfig, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReplacePluginConfig, BindingReporterPluginConfig, BindingTransformHookExtraArgs, BindingTransformPluginConfig, BindingViteResolvePluginConfig, BindingWatcherEvent, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions, ParseResult, ParserOptions, PreRenderedChunk, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform };
|