@rolldown/browser 1.0.0-beta.52 → 1.0.0-beta.53
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.mjs +8 -10
- package/dist/config.d.mts +1 -3
- package/dist/config.mjs +6 -9
- package/dist/{constructors-DW3R_Jog.js → constructors-YnYYKXAq.js} +2 -8
- package/dist/experimental-index.browser.mjs +21 -9
- package/dist/experimental-index.d.mts +20 -8
- package/dist/experimental-index.mjs +23 -14
- package/dist/filter-index.d.mts +1 -3
- package/dist/index.browser.mjs +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -9
- package/dist/{normalize-string-or-regex-BcbPUrYo.js → normalize-string-or-regex-BVvsez4S.js} +41 -4
- package/dist/parallel-plugin-worker.mjs +3 -6
- package/dist/parallel-plugin.d.mts +2 -3
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -2
- package/dist/plugins-index.browser.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +2 -4
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/{rolldown-build-CUYnBV3u.js → rolldown-build-DdLgyfGg.js} +332 -184
- package/dist/shared/{binding-BKL2JHoJ.d.mts → binding-CY7Z709f.d.mts} +45 -3
- package/dist/shared/{bindingify-input-options-D4i1DYzt.mjs → bindingify-input-options-DcGFRvkp.mjs} +7 -5
- package/dist/shared/{constructors-XFp0WhK3.mjs → constructors-Bi2whoYR.mjs} +2 -8
- package/dist/shared/{constructors-BvaMwihu.d.mts → constructors-S9gqtBdT.d.mts} +3 -5
- package/dist/shared/{define-config-Buedmg9e.d.mts → define-config-CPSppdHs.d.mts} +2 -2
- package/dist/shared/{load-config-C9CjEv2m.mjs → load-config-B09j7Dnd.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-D1mB67Iy.mjs → normalize-string-or-regex-Bsz_9HAl.mjs} +41 -4
- package/dist/shared/{parse-ast-index-BSDTTjWT.mjs → parse-ast-index-BOAjpcDq.mjs} +1 -1
- package/dist/shared/{rolldown-build-BWJGpMD0.mjs → rolldown-build-CyazSAHY.mjs} +333 -187
- package/dist/shared/{rolldown-0ID0Q4xL.mjs → rolldown-vJGs7rCs.mjs} +1 -1
- package/dist/shared/{utils-DKydZ4iH.d.mts → utils-m9n-gTFq.d.mts} +1 -1
- package/dist/shared/{watch-CwnSQOS4.mjs → watch-Abdexkk9.mjs} +3 -3
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import "./shared/logs-CPsamAuj.mjs";
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-Abdexkk9.mjs";
|
|
3
2
|
import { t as arraify } from "./shared/misc-5GYLGQ20.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-
|
|
6
|
-
import "./shared/bindingify-input-options-
|
|
7
|
-
import "./shared/parse-ast-index-
|
|
8
|
-
import "./shared/
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as loadConfig } from "./shared/load-config-C9CjEv2m.mjs";
|
|
3
|
+
import { b as description, x as version } from "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
4
|
+
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-CyazSAHY.mjs";
|
|
5
|
+
import "./shared/bindingify-input-options-DcGFRvkp.mjs";
|
|
6
|
+
import "./shared/parse-ast-index-BOAjpcDq.mjs";
|
|
7
|
+
import { t as rolldown } from "./shared/rolldown-vJGs7rCs.mjs";
|
|
8
|
+
import { t as loadConfig } from "./shared/load-config-B09j7Dnd.mjs";
|
|
11
9
|
import path, { sep } from "node:path";
|
|
12
10
|
import { formatWithOptions, parseArgs } from "node:util";
|
|
13
11
|
import process$1 from "node:process";
|
|
@@ -1239,7 +1237,7 @@ function getClearScreenFunction(options$1) {
|
|
|
1239
1237
|
}
|
|
1240
1238
|
|
|
1241
1239
|
//#endregion
|
|
1242
|
-
//#region \0@oxc-project+runtime@0.
|
|
1240
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/usingCtx.js
|
|
1243
1241
|
function _usingCtx() {
|
|
1244
1242
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1245
1243
|
var n$2 = Error();
|
package/dist/config.d.mts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/binding-BKL2JHoJ.mjs";
|
|
3
|
-
import { n as ConfigExport, t as defineConfig } from "./shared/define-config-Buedmg9e.mjs";
|
|
1
|
+
import { n as ConfigExport, t as defineConfig } from "./shared/define-config-CPSppdHs.mjs";
|
|
4
2
|
|
|
5
3
|
//#region src/utils/load-config.d.ts
|
|
6
4
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/config.mjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/
|
|
3
|
-
import
|
|
4
|
-
import "./shared/
|
|
5
|
-
import "./shared/
|
|
6
|
-
import "./shared/parse-ast-index-BSDTTjWT.mjs";
|
|
7
|
-
import "./shared/composable-filters-DZ5ToxRJ.mjs";
|
|
8
|
-
import "./shared/rolldown-0ID0Q4xL.mjs";
|
|
1
|
+
import { x as version } from "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
2
|
+
import "./shared/rolldown-build-CyazSAHY.mjs";
|
|
3
|
+
import "./shared/bindingify-input-options-DcGFRvkp.mjs";
|
|
4
|
+
import "./shared/parse-ast-index-BOAjpcDq.mjs";
|
|
5
|
+
import "./shared/rolldown-vJGs7rCs.mjs";
|
|
9
6
|
import { t as defineConfig } from "./shared/define-config-DfeZGBEt.mjs";
|
|
10
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
7
|
+
import { t as loadConfig } from "./shared/load-config-B09j7Dnd.mjs";
|
|
11
8
|
|
|
12
9
|
//#region src/config.ts
|
|
13
10
|
const VERSION = version;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BVvsez4S.js";
|
|
2
2
|
|
|
3
3
|
//#region src/builtin-plugin/constructors.ts
|
|
4
4
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
@@ -17,9 +17,6 @@ function viteImportGlobPlugin(config) {
|
|
|
17
17
|
function viteReporterPlugin(config) {
|
|
18
18
|
return new BuiltinPlugin("builtin:vite-reporter", config);
|
|
19
19
|
}
|
|
20
|
-
function viteManifestPlugin(config) {
|
|
21
|
-
return new BuiltinPlugin("builtin:vite-manifest", config);
|
|
22
|
-
}
|
|
23
20
|
function viteWasmHelperPlugin(config) {
|
|
24
21
|
return new BuiltinPlugin("builtin:vite-wasm-helper", config);
|
|
25
22
|
}
|
|
@@ -54,9 +51,6 @@ function viteReactRefreshWrapperPlugin(config) {
|
|
|
54
51
|
}
|
|
55
52
|
return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-react-refresh-wrapper", config));
|
|
56
53
|
}
|
|
57
|
-
function viteCSSPostPlugin(config) {
|
|
58
|
-
return new BuiltinPlugin("builtin:vite-css-post", config);
|
|
59
|
-
}
|
|
60
54
|
function viteHtmlInlineProxyPlugin(config) {
|
|
61
55
|
return new BuiltinPlugin("builtin:vite-html-inline-proxy", config);
|
|
62
56
|
}
|
|
@@ -65,4 +59,4 @@ function viteAssetImportMetaUrlPlugin(config) {
|
|
|
65
59
|
}
|
|
66
60
|
|
|
67
61
|
//#endregion
|
|
68
|
-
export {
|
|
62
|
+
export { viteDynamicImportVarsPlugin as a, viteJsonPlugin as c, viteReactRefreshWrapperPlugin as d, viteReporterPlugin as f, viteWebWorkerPostPlugin as g, viteWasmHelperPlugin as h, viteBuildImportAnalysisPlugin as i, viteLoadFallbackPlugin as l, viteWasmFallbackPlugin as m, isolatedDeclarationPlugin as n, viteHtmlInlineProxyPlugin as o, viteResolvePlugin as p, viteAssetImportMetaUrlPlugin as r, viteImportGlobPlugin as s, esmExternalRequirePlugin as t, viteModulePreloadPolyfillPlugin as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as unwrapBindingResult, c as validateOption, i as normalizeBindingResult, l as PluginDriver, n as createBundlerOptions, o as parse, s as parseSync, t as RolldownBuild } from "./rolldown-build-
|
|
3
|
-
import {
|
|
4
|
-
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi-browser.js";
|
|
1
|
+
import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./normalize-string-or-regex-BVvsez4S.js";
|
|
2
|
+
import { a as unwrapBindingResult, c as validateOption, i as normalizeBindingResult, l as PluginDriver, n as createBundlerOptions, o as parse, s as parseSync, t as RolldownBuild } from "./rolldown-build-DdLgyfGg.js";
|
|
3
|
+
import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./constructors-YnYYKXAq.js";
|
|
4
|
+
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, createTokioRuntime, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi-browser.js";
|
|
5
5
|
|
|
6
6
|
//#region src/api/dev/dev-engine.ts
|
|
7
7
|
var DevEngine = class DevEngine {
|
|
@@ -70,11 +70,11 @@ var DevEngine = class DevEngine {
|
|
|
70
70
|
async invalidate(file, firstInvalidatedBy) {
|
|
71
71
|
return this.#inner.invalidate(file, firstInvalidatedBy);
|
|
72
72
|
}
|
|
73
|
-
registerModules(clientId, modules) {
|
|
74
|
-
this.#inner.registerModules(clientId, modules);
|
|
73
|
+
async registerModules(clientId, modules) {
|
|
74
|
+
await this.#inner.registerModules(clientId, modules);
|
|
75
75
|
}
|
|
76
|
-
removeClient(clientId) {
|
|
77
|
-
this.#inner.removeClient(clientId);
|
|
76
|
+
async removeClient(clientId) {
|
|
77
|
+
await this.#inner.removeClient(clientId);
|
|
78
78
|
}
|
|
79
79
|
async close() {
|
|
80
80
|
await this.#inner.close();
|
|
@@ -213,6 +213,12 @@ function viteCSSPlugin(config) {
|
|
|
213
213
|
} : void 0);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region src/builtin-plugin/vite-css-post-plugin.ts
|
|
218
|
+
function viteCSSPostPlugin(config) {
|
|
219
|
+
return new BuiltinPlugin("builtin:vite-css-post", config);
|
|
220
|
+
}
|
|
221
|
+
|
|
216
222
|
//#endregion
|
|
217
223
|
//#region src/builtin-plugin/vite-html-plugin.ts
|
|
218
224
|
function viteHtmlPlugin(config) {
|
|
@@ -220,4 +226,10 @@ function viteHtmlPlugin(config) {
|
|
|
220
226
|
}
|
|
221
227
|
|
|
222
228
|
//#endregion
|
|
223
|
-
|
|
229
|
+
//#region src/builtin-plugin/vite-manifest-plugin.ts
|
|
230
|
+
function viteManifestPlugin(config) {
|
|
231
|
+
return new BuiltinPlugin("builtin:vite-manifest", config);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
//#endregion
|
|
235
|
+
export { BindingRebuildStrategy, DevEngine, ResolverFactory, createTokioRuntime, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
2
|
-
import { B as ParserOptions, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as
|
|
3
|
-
import { Ct as RolldownOutput, H as defineParallelPlugin, M as SourceMapInput, P as OutputBundle, Tt as freeExternalMemory, U as MinimalPluginContext, _t as OutputOptions, bt as OutputChunk, o as InputOptions } from "./shared/define-config-
|
|
4
|
-
import {
|
|
1
|
+
import { t as BuiltinPlugin } from "./shared/utils-m9n-gTFq.mjs";
|
|
2
|
+
import { $ as transformSync, B as ParserOptions, C as BindingViteManifestPluginConfig, G as TransformResult, H as ResolveResult, I as MinifyOptions, J as isolatedDeclarationSync, K as createTokioRuntime, L as MinifyResult, N as IsolatedDeclarationsOptions, O as BindingViteTransformPluginConfig, P as IsolatedDeclarationsResult, Q as transform, R as NapiResolveOptions, U as ResolverFactory, W as TransformOptions, X as minifySync, Y as minify, Z as moduleRunnerTransform, _ as BindingViteCssPostPluginConfig, b as BindingViteHtmlPluginConfig, c as BindingRebuildStrategy, f as BindingUrlResolver, g as BindingViteCssPluginConfig, m as BindingViteAssetPluginConfig, n as BindingBundleState, q as isolatedDeclaration, r as BindingClientHmrUpdate, z as ParseResult } from "./shared/binding-CY7Z709f.mjs";
|
|
3
|
+
import { $ as NormalizedOutputOptions, Ct as RolldownOutput, H as defineParallelPlugin, M as SourceMapInput, P as OutputBundle, Tt as freeExternalMemory, U as MinimalPluginContext, _t as OutputOptions, bt as OutputChunk, o as InputOptions } from "./shared/define-config-CPSppdHs.mjs";
|
|
4
|
+
import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-S9gqtBdT.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/dev/dev-options.d.ts
|
|
7
7
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -73,8 +73,8 @@ declare class DevEngine {
|
|
|
73
73
|
getBundleState(): Promise<BindingBundleState>;
|
|
74
74
|
ensureLatestBuildOutput(): Promise<void>;
|
|
75
75
|
invalidate(file: string, firstInvalidatedBy?: string): Promise<BindingClientHmrUpdate[]>;
|
|
76
|
-
registerModules(clientId: string, modules: string[]): void
|
|
77
|
-
removeClient(clientId: string): void
|
|
76
|
+
registerModules(clientId: string, modules: string[]): Promise<void>;
|
|
77
|
+
removeClient(clientId: string): Promise<void>;
|
|
78
78
|
close(): Promise<void>;
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
@@ -142,6 +142,12 @@ type ViteCssPluginConfig = Omit<BindingViteCssPluginConfig, "compileCSS"> & {
|
|
|
142
142
|
};
|
|
143
143
|
declare function viteCSSPlugin(config?: ViteCssPluginConfig): BuiltinPlugin;
|
|
144
144
|
//#endregion
|
|
145
|
+
//#region src/builtin-plugin/vite-css-post-plugin.d.ts
|
|
146
|
+
type ViteCssPostPluginConfig = Omit<BindingViteCssPostPluginConfig, "cssScopeTo" | "isLegacy"> & {
|
|
147
|
+
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
148
|
+
};
|
|
149
|
+
declare function viteCSSPostPlugin(config?: ViteCssPostPluginConfig): BuiltinPlugin;
|
|
150
|
+
//#endregion
|
|
145
151
|
//#region src/builtin-plugin/vite-html-plugin.d.ts
|
|
146
152
|
interface HtmlTagDescriptor {
|
|
147
153
|
tag: string;
|
|
@@ -172,7 +178,7 @@ interface IndexHtmlTransformContext {
|
|
|
172
178
|
bundle?: OutputBundle;
|
|
173
179
|
chunk?: OutputChunk;
|
|
174
180
|
}
|
|
175
|
-
interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "transformIndexHtml"> {
|
|
181
|
+
interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "transformIndexHtml" | "setModuleSideEffects"> {
|
|
176
182
|
preHooks: IndexHtmlTransformHook[];
|
|
177
183
|
normalHooks: IndexHtmlTransformHook[];
|
|
178
184
|
postHooks: IndexHtmlTransformHook[];
|
|
@@ -180,4 +186,10 @@ interface ViteHtmlPluginOptions extends Omit<BindingViteHtmlPluginConfig, "trans
|
|
|
180
186
|
}
|
|
181
187
|
declare function viteHtmlPlugin(config?: ViteHtmlPluginOptions): BuiltinPlugin;
|
|
182
188
|
//#endregion
|
|
183
|
-
|
|
189
|
+
//#region src/builtin-plugin/vite-manifest-plugin.d.ts
|
|
190
|
+
type ViteManifestPluginConfig = Omit<BindingViteManifestPluginConfig, "isLegacy"> & {
|
|
191
|
+
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
192
|
+
};
|
|
193
|
+
declare function viteManifestPlugin(config?: ViteManifestPluginConfig): BuiltinPlugin;
|
|
194
|
+
//#endregion
|
|
195
|
+
export { type BindingClientHmrUpdate, BindingRebuildStrategy, DevEngine, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, type MinifyOptions, type MinifyResult, type ParseResult, type ParserOptions, type NapiResolveOptions as ResolveOptions, type ResolveResult, ResolverFactory, type TransformOptions, type TransformResult, type ViteHtmlPluginOptions, createTokioRuntime, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { o as
|
|
6
|
-
import {
|
|
7
|
-
import "./shared/composable-filters-DZ5ToxRJ.mjs";
|
|
8
|
-
import { _ as viteWasmHelperPlugin, a as viteCSSPostPlugin, c as viteImportGlobPlugin, d as viteManifestPlugin, f as viteModulePreloadPolyfillPlugin, g as viteWasmFallbackPlugin, h as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteJsonPlugin, m as viteReporterPlugin, n as isolatedDeclarationPlugin, o as viteDynamicImportVarsPlugin, p as viteReactRefreshWrapperPlugin, r as viteAssetImportMetaUrlPlugin, s as viteHtmlInlineProxyPlugin, u as viteLoadFallbackPlugin, v as viteWebWorkerPostPlugin } from "./shared/constructors-XFp0WhK3.mjs";
|
|
9
|
-
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi.cjs";
|
|
1
|
+
import { d as bindingifySourcemap, n as BuiltinPlugin, t as normalizedStringOrRegex, u as transformToRollupOutput } from "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
2
|
+
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-CyazSAHY.mjs";
|
|
3
|
+
import { o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-DcGFRvkp.mjs";
|
|
4
|
+
import { i as parseSync, r as parse } from "./shared/parse-ast-index-BOAjpcDq.mjs";
|
|
5
|
+
import { a as viteDynamicImportVarsPlugin, c as viteJsonPlugin, d as viteReactRefreshWrapperPlugin, f as viteReporterPlugin, g as viteWebWorkerPostPlugin, h as viteWasmHelperPlugin, i as viteBuildImportAnalysisPlugin, l as viteLoadFallbackPlugin, m as viteWasmFallbackPlugin, n as isolatedDeclarationPlugin, o as viteHtmlInlineProxyPlugin, p as viteResolvePlugin, r as viteAssetImportMetaUrlPlugin, s as viteImportGlobPlugin, u as viteModulePreloadPolyfillPlugin } from "./shared/constructors-Bi2whoYR.mjs";
|
|
6
|
+
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, createTokioRuntime, isolatedDeclaration, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime, transform, transformSync } from "./rolldown-binding.wasi.cjs";
|
|
10
7
|
import { pathToFileURL } from "node:url";
|
|
11
8
|
|
|
12
9
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -76,11 +73,11 @@ var DevEngine = class DevEngine {
|
|
|
76
73
|
async invalidate(file, firstInvalidatedBy) {
|
|
77
74
|
return this.#inner.invalidate(file, firstInvalidatedBy);
|
|
78
75
|
}
|
|
79
|
-
registerModules(clientId, modules) {
|
|
80
|
-
this.#inner.registerModules(clientId, modules);
|
|
76
|
+
async registerModules(clientId, modules) {
|
|
77
|
+
await this.#inner.registerModules(clientId, modules);
|
|
81
78
|
}
|
|
82
|
-
removeClient(clientId) {
|
|
83
|
-
this.#inner.removeClient(clientId);
|
|
79
|
+
async removeClient(clientId) {
|
|
80
|
+
await this.#inner.removeClient(clientId);
|
|
84
81
|
}
|
|
85
82
|
async close() {
|
|
86
83
|
await this.#inner.close();
|
|
@@ -224,6 +221,12 @@ function viteCSSPlugin(config) {
|
|
|
224
221
|
} : void 0);
|
|
225
222
|
}
|
|
226
223
|
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/builtin-plugin/vite-css-post-plugin.ts
|
|
226
|
+
function viteCSSPostPlugin(config) {
|
|
227
|
+
return new BuiltinPlugin("builtin:vite-css-post", config);
|
|
228
|
+
}
|
|
229
|
+
|
|
227
230
|
//#endregion
|
|
228
231
|
//#region src/builtin-plugin/vite-html-plugin.ts
|
|
229
232
|
function viteHtmlPlugin(config) {
|
|
@@ -231,4 +234,10 @@ function viteHtmlPlugin(config) {
|
|
|
231
234
|
}
|
|
232
235
|
|
|
233
236
|
//#endregion
|
|
234
|
-
|
|
237
|
+
//#region src/builtin-plugin/vite-manifest-plugin.ts
|
|
238
|
+
function viteManifestPlugin(config) {
|
|
239
|
+
return new BuiltinPlugin("builtin:vite-manifest", config);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
//#endregion
|
|
243
|
+
export { BindingRebuildStrategy, DevEngine, ResolverFactory, createTokioRuntime, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, minify, minifySync, moduleRunnerTransform, parse, parseSync, scan, transform, transformSync, viteAliasPlugin, viteAssetImportMetaUrlPlugin, viteAssetPlugin, viteBuildImportAnalysisPlugin, viteCSSPlugin, viteCSSPostPlugin, viteHtmlInlineProxyPlugin, viteHtmlPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWasmHelperPlugin, viteWebWorkerPostPlugin };
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/binding-BKL2JHoJ.mjs";
|
|
3
|
-
import { k as withFilter } from "./shared/define-config-Buedmg9e.mjs";
|
|
1
|
+
import { k as withFilter } from "./shared/define-config-CPSppdHs.mjs";
|
|
4
2
|
import { and, code, exclude, id, include, moduleType, not, or, queries, query } from "@rolldown/pluginutils";
|
|
5
3
|
export { and, code, exclude, id, include, moduleType, not, or, queries, query, withFilter };
|
package/dist/index.browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as validateOption, l as PluginDriver, n as createBundlerOptions, r as aggregateBindingErrorsIntoJsError, t as RolldownBuild } from "./rolldown-build-
|
|
1
|
+
import { E as arraify, P as logMultiplyNotifyOption, w as LOG_LEVEL_WARN, y as VERSION } from "./normalize-string-or-regex-BVvsez4S.js";
|
|
2
|
+
import { c as validateOption, l as PluginDriver, n as createBundlerOptions, r as aggregateBindingErrorsIntoJsError, t as RolldownBuild } from "./rolldown-build-DdLgyfGg.js";
|
|
3
3
|
import { BindingMagicString, BindingWatcher, shutdownAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
4
4
|
|
|
5
5
|
//#region src/api/rolldown/index.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as LogLevel, f as LogLevelOption, g as RollupLogWithString, h as RollupLog, i as WarningHandlerWithDefault, l as PartialNull, m as RollupError, n as LoggingFunction, p as LogOrStringHandler } from "./shared/utils-
|
|
2
|
-
import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-
|
|
3
|
-
import { $ as NormalizedOutputOptions, A as VERSION, B as PluginContext, C as ResolveIdResult, Ct as RolldownOutput, D as SourceDescription, Dt as SourcemapIgnoreListOption, E as RolldownPluginOption, Et as ModuleInfo, F as TreeshakingOptions, G as GeneralHookFilter, I as TransformPluginContext, J as BufferEncoding, K as HookFilter, L as EmittedAsset, M as SourceMapInput, N as RolldownOptionsFunction, O as TransformResult, P as OutputBundle, Q as InternalModuleFormat, R as EmittedFile, S as ResolveIdExtraOptions, St as RenderedModule, T as RolldownPlugin, U as MinimalPluginContext, V as DefineParallelPluginResult, W as PluginContextMeta, X as RolldownFileStats, Y as RolldownDirectoryEntry, Z as RolldownFsModule, _ as ModuleType, _t as OutputOptions, a as InputOption, at as rolldown, b as PartialResolvedId, bt as OutputChunk, c as OptimizationOptions, ct as build, d as CustomPluginOptions, dt as ChunkingContext, et as NormalizedInputOptions, f as FunctionPluginHooks, ft as GeneratedCodeOptions, g as ModuleOptions, gt as ModuleFormat, h as LoadResult, ht as MinifyOptions, i as ExternalOption, it as WatchOptions, j as ExistingRawSourceMap, l as WatcherOptions, lt as AddonFunction, m as ImportKind, mt as GlobalsFunction, n as ConfigExport, nt as RolldownWatcher, o as InputOptions, ot as RolldownBuild, p as HookFilterExtension, pt as GeneratedCodePreset, q as ModuleTypeFilter, r as RolldownOptions, rt as RolldownWatcherEvent, s as ModuleTypes, st as BuildOptions, t as defineConfig, tt as watch, u as AsyncPluginHooks, ut as ChunkFileNamesFunction, v as ObjectHook, vt as PreRenderedAsset, w as ResolvedId, wt as SourceMap, x as Plugin, xt as RenderedChunk, y as ParallelPluginHooks, yt as OutputAsset, z as GetModuleInfo } from "./shared/define-config-
|
|
1
|
+
import { d as LogLevel, f as LogLevelOption, g as RollupLogWithString, h as RollupLog, i as WarningHandlerWithDefault, l as PartialNull, m as RollupError, n as LoggingFunction, p as LogOrStringHandler } from "./shared/utils-m9n-gTFq.mjs";
|
|
2
|
+
import { V as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-CY7Z709f.mjs";
|
|
3
|
+
import { $ as NormalizedOutputOptions, A as VERSION, B as PluginContext, C as ResolveIdResult, Ct as RolldownOutput, D as SourceDescription, Dt as SourcemapIgnoreListOption, E as RolldownPluginOption, Et as ModuleInfo, F as TreeshakingOptions, G as GeneralHookFilter, I as TransformPluginContext, J as BufferEncoding, K as HookFilter, L as EmittedAsset, M as SourceMapInput, N as RolldownOptionsFunction, O as TransformResult, P as OutputBundle, Q as InternalModuleFormat, R as EmittedFile, S as ResolveIdExtraOptions, St as RenderedModule, T as RolldownPlugin, U as MinimalPluginContext, V as DefineParallelPluginResult, W as PluginContextMeta, X as RolldownFileStats, Y as RolldownDirectoryEntry, Z as RolldownFsModule, _ as ModuleType, _t as OutputOptions, a as InputOption, at as rolldown, b as PartialResolvedId, bt as OutputChunk, c as OptimizationOptions, ct as build, d as CustomPluginOptions, dt as ChunkingContext, et as NormalizedInputOptions, f as FunctionPluginHooks, ft as GeneratedCodeOptions, g as ModuleOptions, gt as ModuleFormat, h as LoadResult, ht as MinifyOptions, i as ExternalOption, it as WatchOptions, j as ExistingRawSourceMap, l as WatcherOptions, lt as AddonFunction, m as ImportKind, mt as GlobalsFunction, n as ConfigExport, nt as RolldownWatcher, o as InputOptions, ot as RolldownBuild, p as HookFilterExtension, pt as GeneratedCodePreset, q as ModuleTypeFilter, r as RolldownOptions, rt as RolldownWatcherEvent, s as ModuleTypes, st as BuildOptions, t as defineConfig, tt as watch, u as AsyncPluginHooks, ut as ChunkFileNamesFunction, v as ObjectHook, vt as PreRenderedAsset, w as ResolvedId, wt as SourceMap, x as Plugin, xt as RenderedChunk, y as ParallelPluginHooks, yt as OutputAsset, z as GetModuleInfo } from "./shared/define-config-CPSppdHs.mjs";
|
|
4
4
|
export { AddonFunction, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChunkFileNamesFunction, ChunkingContext, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownFileStats, RolldownFsModule, RolldownOptions, RolldownOptionsFunction, 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,12 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import
|
|
5
|
-
import "./shared/
|
|
6
|
-
import "./shared/
|
|
7
|
-
import "./shared/parse-ast-index-BSDTTjWT.mjs";
|
|
8
|
-
import "./shared/composable-filters-DZ5ToxRJ.mjs";
|
|
9
|
-
import { t as rolldown } from "./shared/rolldown-0ID0Q4xL.mjs";
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-Abdexkk9.mjs";
|
|
2
|
+
import { y as VERSION } from "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
3
|
+
import "./shared/rolldown-build-CyazSAHY.mjs";
|
|
4
|
+
import "./shared/bindingify-input-options-DcGFRvkp.mjs";
|
|
5
|
+
import "./shared/parse-ast-index-BOAjpcDq.mjs";
|
|
6
|
+
import { t as rolldown } from "./shared/rolldown-vJGs7rCs.mjs";
|
|
10
7
|
import { t as defineConfig } from "./shared/define-config-DfeZGBEt.mjs";
|
|
11
8
|
import { isMainThread } from "node:worker_threads";
|
|
12
9
|
import { BindingMagicString, initTraceSubscriber } from "./rolldown-binding.wasi.cjs";
|
package/dist/{normalize-string-or-regex-BcbPUrYo.js → normalize-string-or-regex-BVvsez4S.js}
RENAMED
|
@@ -234,7 +234,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
|
|
|
234
234
|
|
|
235
235
|
//#endregion
|
|
236
236
|
//#region package.json
|
|
237
|
-
var version = "1.0.0-beta.
|
|
237
|
+
var version = "1.0.0-beta.53";
|
|
238
238
|
|
|
239
239
|
//#endregion
|
|
240
240
|
//#region src/version.ts
|
|
@@ -391,7 +391,7 @@ function bindingAssetSource(source) {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
//#endregion
|
|
394
|
-
//#region \0@oxc-project+runtime@0.
|
|
394
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/decorate.js
|
|
395
395
|
function __decorate(decorators, target, key, desc) {
|
|
396
396
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
397
397
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -785,7 +785,36 @@ function bindingifyBuiltInPlugin(plugin) {
|
|
|
785
785
|
options: plugin._options
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function bindingifyManifestPlugin(plugin, pluginContextData) {
|
|
789
|
+
const { isOutputOptionsForLegacyChunks, ...options } = plugin._options;
|
|
790
|
+
return {
|
|
791
|
+
__name: plugin.name,
|
|
792
|
+
options: {
|
|
793
|
+
...options,
|
|
794
|
+
isLegacy: isOutputOptionsForLegacyChunks ? (opts) => {
|
|
795
|
+
return isOutputOptionsForLegacyChunks(pluginContextData.getOutputOptions(opts));
|
|
796
|
+
} : void 0
|
|
797
|
+
}
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
function bindingifyCSSPostPlugin(plugin, pluginContextData) {
|
|
801
|
+
const { isOutputOptionsForLegacyChunks, ...options } = plugin._options;
|
|
802
|
+
return {
|
|
803
|
+
__name: plugin.name,
|
|
804
|
+
options: {
|
|
805
|
+
...options,
|
|
806
|
+
isLegacy: isOutputOptionsForLegacyChunks ? (opts) => {
|
|
807
|
+
return isOutputOptionsForLegacyChunks(pluginContextData.getOutputOptions(opts));
|
|
808
|
+
} : void 0,
|
|
809
|
+
cssScopeTo() {
|
|
810
|
+
const cssScopeTo = {};
|
|
811
|
+
for (const [id, opts] of pluginContextData.moduleOptionMap.entries()) if (opts?.meta.vite?.cssScopeTo) cssScopeTo[id] = opts.meta.vite.cssScopeTo;
|
|
812
|
+
return cssScopeTo;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
function bindingifyViteHtmlPlugin(plugin, onLog, logLevel, watchMode, pluginContextData) {
|
|
789
818
|
const { preHooks, normalHooks, postHooks, applyHtmlTransforms, ...options } = plugin._options;
|
|
790
819
|
if (preHooks.length + normalHooks.length + postHooks.length > 0) return {
|
|
791
820
|
__name: plugin.name,
|
|
@@ -806,6 +835,14 @@ function bindingifyViteHtmlPlugin(plugin, onLog, logLevel, watchMode) {
|
|
|
806
835
|
case "transform": return await applyHtmlTransforms(html, preHooks, pluginContext, context);
|
|
807
836
|
case "generateBundle": return await applyHtmlTransforms(html, [...normalHooks, ...postHooks], pluginContext, context);
|
|
808
837
|
}
|
|
838
|
+
},
|
|
839
|
+
setModuleSideEffects(id) {
|
|
840
|
+
let opts = pluginContextData.getModuleOption(id);
|
|
841
|
+
pluginContextData.updateModuleOption(id, {
|
|
842
|
+
moduleSideEffects: true,
|
|
843
|
+
meta: opts.meta,
|
|
844
|
+
invalidate: true
|
|
845
|
+
});
|
|
809
846
|
}
|
|
810
847
|
}
|
|
811
848
|
};
|
|
@@ -827,4 +864,4 @@ function isReadonlyArray(input) {
|
|
|
827
864
|
}
|
|
828
865
|
|
|
829
866
|
//#endregion
|
|
830
|
-
export {
|
|
867
|
+
export { augmentCodeLocation as A, LOG_LEVEL_INFO as C, unimplemented as D, arraify as E, logNoFileSystemInBrowser as F, logParseError as I, logPluginError as L, logCycleLoading as M, logInputHookInOutputPlugin as N, unreachable as O, logMultiplyNotifyOption as P, locate as R, LOG_LEVEL_ERROR as S, logLevelPriority as T, PlainObjectLike as _, bindingifyManifestPlugin as a, normalizeLog as b, collectChangedBundle as c, bindingifySourcemap as d, transformRenderedChunk as f, lazyProp as g, transformAssetSource as h, bindingifyCSSPostPlugin as i, error as j, unsupported as k, transformToOutputBundle as l, bindingAssetSource as m, BuiltinPlugin as n, bindingifyViteHtmlPlugin as o, __decorate as p, bindingifyBuiltInPlugin as r, makeBuiltinPluginCallable as s, normalizedStringOrRegex as t, transformToRollupOutput as u, MinimalPluginContextImpl as v, LOG_LEVEL_WARN as w, LOG_LEVEL_DEBUG as x, VERSION as y, getCodeFrame as z };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/
|
|
3
|
-
import "./shared/
|
|
4
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-D4i1DYzt.mjs";
|
|
5
|
-
import "./shared/parse-ast-index-BSDTTjWT.mjs";
|
|
6
|
-
import "./shared/composable-filters-DZ5ToxRJ.mjs";
|
|
1
|
+
import "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
2
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-DcGFRvkp.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-BOAjpcDq.mjs";
|
|
7
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
8
5
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
9
6
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { s as MaybePromise } from "./shared/utils-
|
|
2
|
-
import "./shared/
|
|
3
|
-
import { x as Plugin } from "./shared/define-config-Buedmg9e.mjs";
|
|
1
|
+
import { s as MaybePromise } from "./shared/utils-m9n-gTFq.mjs";
|
|
2
|
+
import { x as Plugin } from "./shared/define-config-CPSppdHs.mjs";
|
|
4
3
|
|
|
5
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
6
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./constructors-
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./normalize-string-or-regex-BVvsez4S.js";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./constructors-YnYYKXAq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
5
5
|
/**
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
2
|
-
import { u as BindingReplacePluginConfig } from "./shared/binding-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { t as BuiltinPlugin } from "./shared/utils-m9n-gTFq.mjs";
|
|
2
|
+
import { u as BindingReplacePluginConfig } from "./shared/binding-CY7Z709f.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-S9gqtBdT.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import "./shared/
|
|
2
|
-
import "./shared/
|
|
3
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-D1mB67Iy.mjs";
|
|
4
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-XFp0WhK3.mjs";
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable } from "./shared/normalize-string-or-regex-Bsz_9HAl.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-Bi2whoYR.mjs";
|
|
5
3
|
|
|
6
4
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
7
5
|
/**
|
|
Binary file
|