@voidzero-dev/vite-plus-core 0.0.0-dfd5c99899261c54d5b19dceaa831fab310d6171 → 0.0.0-e8feafb8f8a08d271fb227752fbda933a3dfadfc
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/rolldown/cli-setup.mjs +1 -1
- package/dist/rolldown/cli.mjs +10 -10
- package/dist/rolldown/config.d.mts +2 -2
- package/dist/rolldown/config.mjs +7 -7
- package/dist/rolldown/experimental-index.d.mts +3 -3
- package/dist/rolldown/experimental-index.mjs +6 -6
- package/dist/rolldown/filter-index.d.mts +2 -2
- package/dist/rolldown/index.d.mts +2 -2
- package/dist/rolldown/index.mjs +7 -7
- package/dist/rolldown/parallel-plugin-worker.mjs +4 -4
- package/dist/rolldown/parallel-plugin.d.mts +2 -2
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +2 -2
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +3 -3
- package/dist/rolldown/shared/{binding-Cw_3KtPU.d.mts → binding-Bo6UcGYl.d.mts} +2 -25
- package/dist/rolldown/shared/{binding-C-UNREnT.mjs → binding-D2zbhySS.mjs} +1 -1
- package/dist/rolldown/shared/{bindingify-input-options-Wz0x4eNx.mjs → bindingify-input-options-D5ETSX2l.mjs} +11 -6
- package/dist/rolldown/shared/{constructors-aZ82R2dj.mjs → constructors-B6lq4qhv.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-Ca7tRmZM.d.mts → constructors-Bnez_zpO.d.mts} +2 -2
- package/dist/rolldown/shared/{define-config-C68MDl_S.d.mts → define-config-Bqat13pE.d.mts} +233 -85
- package/dist/rolldown/shared/{load-config-BFbO0hc-.mjs → load-config-Bylafctz.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-Dq50a7l9.mjs → normalize-string-or-regex-Di6BG_El.mjs} +1 -1
- package/dist/rolldown/shared/{parse-ast-index-nL6ZULw-.mjs → parse-ast-index-BOsgfGfT.mjs} +2 -2
- package/dist/rolldown/shared/{prompt-SrPOc31f.mjs → prompt-DeISmFRp.mjs} +3 -3
- package/dist/rolldown/shared/{rolldown-CEFsIFqg.mjs → rolldown-CrTfKKds.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-DQqnnq1G.mjs → rolldown-build-DQ0O4syb.mjs} +108 -105
- package/dist/rolldown/shared/{watch-Br1LThkf.mjs → watch-RLcbrPD1.mjs} +5 -5
- package/dist/tsdown/build-CzTpMdRu-BmvYh9BV.js +5 -0
- package/dist/tsdown/{build-D8FjwDd9-DEpuzAG4.js → build-D8FjwDd9-D2NGSNK7.js} +4 -4
- package/dist/tsdown/{chunk-B7RtqpM4.js → chunk-CdeBBKNj.js} +3 -3
- package/dist/tsdown/{context-EuY-ImLj-DcFUQvBV.js → context-DoVwxr5H-DvADgLKP.js} +1 -1
- package/dist/tsdown/{debug-DbwOOii4-ZBP31UUn.js → debug-DbwOOii4-CO6DLHhf.js} +1 -1
- package/dist/tsdown/{dist-ze5KhHMZ.js → dist-BN8b9T9K.js} +77 -65
- package/dist/tsdown/{filename-Cqnsj8Gp-CAU62zDf.js → filename-7p2SFN0X-CzYpYi4e.js} +2 -2
- package/dist/tsdown/index-types.d.ts +1 -1
- package/dist/tsdown/index.js +3 -3
- package/dist/tsdown/{main-BbZcM11g.js → main-CMZ7tpHV.js} +1 -1
- package/dist/tsdown/npm_cjs_chunk_chunk.cjs +1 -1
- package/dist/tsdown/{resolver-CQnlAxJ7-DtynAVYu.js → resolver-o20sdYK5-uG4MuD8q.js} +1 -1
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{tsc-B2ViMLvM.js → tsc-BDF3hKba.js} +27 -27
- package/dist/vite/client/client.mjs +4 -4
- package/dist/vite/node/chunks/build2.js +3 -3
- package/dist/vite/node/chunks/chunk.js +15 -2
- package/dist/vite/node/chunks/dist2.js +1 -1
- package/dist/vite/node/chunks/logger.js +2 -2
- package/dist/vite/node/chunks/node.js +1311 -1566
- package/dist/vite/node/chunks/postcss-import.js +1 -1
- package/dist/vite/node/cli.js +6 -6
- package/dist/vite/node/index.d.ts +3 -6
- package/dist/vite/node/index.js +1 -1
- package/package.json +8 -8
- package/dist/tsdown/build-CzTpMdRu-CWdd-zBj.js +0 -5
- package/dist/vite/node/chunks/build.js +0 -4
- package/dist/vite/node/chunks/config.js +0 -4
- package/dist/vite/node/chunks/optimizer.js +0 -4
- package/dist/vite/node/chunks/preview.js +0 -4
- package/dist/vite/node/chunks/server.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-D2zbhySS.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/cli/setup-index.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
package/dist/rolldown/cli.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import "./shared/normalize-string-or-regex-
|
|
4
|
-
import { C as description, w as version } from "./shared/bindingify-input-options-
|
|
1
|
+
import "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-RLcbrPD1.mjs";
|
|
3
|
+
import "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
4
|
+
import { C as description, w as version } from "./shared/bindingify-input-options-D5ETSX2l.mjs";
|
|
5
5
|
import { t as arraify } from "./shared/misc-CCZIsXVO.mjs";
|
|
6
|
-
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-
|
|
7
|
-
import "./shared/parse-ast-index-
|
|
8
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
9
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
6
|
+
import { a as getOutputCliKeys, c as styleText$1, i as getInputCliKeys, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/rolldown-build-DQ0O4syb.mjs";
|
|
7
|
+
import "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
8
|
+
import { t as rolldown } from "./shared/rolldown-CrTfKKds.mjs";
|
|
9
|
+
import { t as loadConfig } from "./shared/load-config-Bylafctz.mjs";
|
|
10
10
|
import path, { sep } from "node:path";
|
|
11
11
|
import { formatWithOptions, parseArgs } from "node:util";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -951,7 +951,7 @@ function createConsola(options = {}) {
|
|
|
951
951
|
defaults: { level },
|
|
952
952
|
stdout: process.stdout,
|
|
953
953
|
stderr: process.stderr,
|
|
954
|
-
prompt: (...args) => import("./shared/prompt-
|
|
954
|
+
prompt: (...args) => import("./shared/prompt-DeISmFRp.mjs").then((m) => m.prompt(...args)),
|
|
955
955
|
reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
956
956
|
...options
|
|
957
957
|
});
|
|
@@ -1238,7 +1238,7 @@ function getClearScreenFunction(options) {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
1240
|
//#endregion
|
|
1241
|
-
//#region \0@oxc-project+runtime@0.
|
|
1241
|
+
//#region \0@oxc-project+runtime@0.111.0/helpers/usingCtx.js
|
|
1242
1242
|
function _usingCtx() {
|
|
1243
1243
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
1244
1244
|
var n = Error();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { r as defineConfig, t as ConfigExport } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { r as defineConfig, t as ConfigExport } from "./shared/define-config-Bqat13pE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/load-config.d.ts
|
|
5
5
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
package/dist/rolldown/config.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/normalize-string-or-regex-
|
|
3
|
-
import { w as version } from "./shared/bindingify-input-options-
|
|
4
|
-
import "./shared/rolldown-build-
|
|
5
|
-
import "./shared/parse-ast-index-
|
|
6
|
-
import "./shared/rolldown-
|
|
1
|
+
import "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
3
|
+
import { w as version } from "./shared/bindingify-input-options-D5ETSX2l.mjs";
|
|
4
|
+
import "./shared/rolldown-build-DQ0O4syb.mjs";
|
|
5
|
+
import "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
6
|
+
import "./shared/rolldown-CrTfKKds.mjs";
|
|
7
7
|
import { t as defineConfig } from "./shared/define-config-BVG4QvnP.mjs";
|
|
8
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
8
|
+
import { t as loadConfig } from "./shared/load-config-Bylafctz.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/config.ts
|
|
11
11
|
const VERSION = version;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as MinifyResult, B as isolatedDeclaration, D as IsolatedDeclarationsResult, E as IsolatedDeclarationsOptions, F as ResolveResult, G as transform, H as minify, I as ResolverFactory, K as transformSync, L as TransformOptions, M as ParseResult, N as ParserOptions, R as TransformResult, S as BindingViteTransformPluginConfig, U as minifySync, V as isolatedDeclarationSync, W as moduleRunnerTransform, _ as BindingViteManifestPluginConfig, j as NapiResolveOptions, k as MinifyOptions, l as BindingRebuildStrategy, n as BindingBundleState, r as BindingClientHmrUpdate, z as createTokioRuntime } from "./shared/binding-
|
|
2
|
-
import { M as BuiltinPlugin, Mt as OutputOptions, Ut as freeExternalMemory, Vt as RolldownOutput, c as InputOptions, it as NormalizedOutputOptions, q as defineParallelPlugin } from "./shared/define-config-
|
|
3
|
-
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWasmHelperPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-
|
|
1
|
+
import { A as MinifyResult, B as isolatedDeclaration, D as IsolatedDeclarationsResult, E as IsolatedDeclarationsOptions, F as ResolveResult, G as transform, H as minify, I as ResolverFactory, K as transformSync, L as TransformOptions, M as ParseResult, N as ParserOptions, R as TransformResult, S as BindingViteTransformPluginConfig, U as minifySync, V as isolatedDeclarationSync, W as moduleRunnerTransform, _ as BindingViteManifestPluginConfig, j as NapiResolveOptions, k as MinifyOptions, l as BindingRebuildStrategy, n as BindingBundleState, r as BindingClientHmrUpdate, z as createTokioRuntime } from "./shared/binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { M as BuiltinPlugin, Mt as OutputOptions, Ut as freeExternalMemory, Vt as RolldownOutput, c as InputOptions, it as NormalizedOutputOptions, q as defineParallelPlugin } from "./shared/define-config-Bqat13pE.mjs";
|
|
3
|
+
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWasmHelperPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-Bnez_zpO.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/api/dev/dev-options.d.ts
|
|
6
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { c as transformToRollupOutput, o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-
|
|
4
|
-
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-
|
|
5
|
-
import { i as parseSync, r as parse } from "./shared/parse-ast-index-
|
|
6
|
-
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWasmHelperPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
3
|
+
import { c as transformToRollupOutput, o as normalizeBindingResult, s as unwrapBindingResult } from "./shared/bindingify-input-options-D5ETSX2l.mjs";
|
|
4
|
+
import { l as PluginDriver, n as createBundlerOptions, s as validateOption, t as RolldownBuild } from "./shared/rolldown-build-DQ0O4syb.mjs";
|
|
5
|
+
import { i as parseSync, r as parse } from "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
6
|
+
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWasmHelperPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-B6lq4qhv.mjs";
|
|
7
7
|
import { pathToFileURL } from "node:url";
|
|
8
8
|
|
|
9
9
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { j as withFilter } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { j as withFilter } from "./shared/define-config-Bqat13pE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region ../pluginutils/dist/filter/composable-filters.d.ts
|
|
5
5
|
type StringOrRegExp = string | RegExp;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-CE90D8JR.mjs";
|
|
2
|
-
import { P as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-
|
|
3
|
-
import { $ as BufferEncoding, A as TransformResult, At as MinifyOptions, B as EmittedChunk, Bt as RenderedModule, C as Plugin, Ct as ChunkingContext, D as RolldownPlugin, Dt as GeneratedCodeOptions, E as ResolvedId, Et as CodeSplittingOptions, F as SourceMapInput, Ft as PartialNull, G as PluginContextResolveOptions, Gt as SourcemapIgnoreListOption, H as EmittedPrebuiltChunk, Ht as SourceMap, I as OutputBundle, J as MinimalPluginContext, K as DefineParallelPluginResult, L as TreeshakingOptions, Lt as OutputAsset, Mt as OutputOptions, N as VERSION, Nt as PreRenderedAsset, O as RolldownPluginOption, Ot as GeneratedCodePreset, P as ExistingRawSourceMap, Q as ModuleTypeFilter, R as TransformPluginContext, Rt as OutputChunk, S as PartialResolvedId, St as ChunkFileNamesFunction, T as ResolveIdResult, Tt as CodeSplittingNameFunction, U as GetModuleInfo, V as EmittedFile, Vt as RolldownOutput, W as PluginContext, Wt as ModuleInfo, X as GeneralHookFilter, Y as PluginContextMeta, Z as HookFilter, _ as LoadResult, _t as BuildOptions, a as ExternalOption, at as NormalizedInputOptions, b as ObjectHook, bt as AdvancedChunksGroup, c as InputOptions, ct as LoggingFunction, d as WatcherOptions, dt as RolldownWatcher, et as RolldownDirectoryEntry, f as AsyncPluginHooks, ft as RolldownWatcherEvent, g as ImportKind, gt as RolldownBuild, h as HookFilterExtension, ht as rolldown, i as RolldownOptions, it as NormalizedOutputOptions, jt as ModuleFormat, k as SourceDescription, kt as GlobalsFunction, l as ModuleTypes, lt as WarningHandlerWithDefault, m as FunctionPluginHooks, mt as WatchOptions, n as RolldownOptionsFunction, nt as RolldownFsModule, o as ExternalOptionFunction, ot as TransformOptions, p as CustomPluginOptions, pt as RolldownWatcherWatcherEventMap, r as defineConfig, rt as InternalModuleFormat, s as InputOption, st as ChecksOptions, t as ConfigExport, tt as RolldownFileStats, u as OptimizationOptions, ut as watch, v as ModuleOptions, vt as build, w as ResolveIdExtraOptions, wt as CodeSplittingGroup, x as ParallelPluginHooks, xt as AdvancedChunksOptions, y as ModuleType, yt as AddonFunction, z as EmittedAsset, zt as RenderedChunk } from "./shared/define-config-
|
|
2
|
+
import { P as PreRenderedChunk, s as BindingMagicString } from "./shared/binding-Bo6UcGYl.mjs";
|
|
3
|
+
import { $ as BufferEncoding, A as TransformResult, At as MinifyOptions, B as EmittedChunk, Bt as RenderedModule, C as Plugin, Ct as ChunkingContext, D as RolldownPlugin, Dt as GeneratedCodeOptions, E as ResolvedId, Et as CodeSplittingOptions, F as SourceMapInput, Ft as PartialNull, G as PluginContextResolveOptions, Gt as SourcemapIgnoreListOption, H as EmittedPrebuiltChunk, Ht as SourceMap, I as OutputBundle, J as MinimalPluginContext, K as DefineParallelPluginResult, L as TreeshakingOptions, Lt as OutputAsset, Mt as OutputOptions, N as VERSION, Nt as PreRenderedAsset, O as RolldownPluginOption, Ot as GeneratedCodePreset, P as ExistingRawSourceMap, Q as ModuleTypeFilter, R as TransformPluginContext, Rt as OutputChunk, S as PartialResolvedId, St as ChunkFileNamesFunction, T as ResolveIdResult, Tt as CodeSplittingNameFunction, U as GetModuleInfo, V as EmittedFile, Vt as RolldownOutput, W as PluginContext, Wt as ModuleInfo, X as GeneralHookFilter, Y as PluginContextMeta, Z as HookFilter, _ as LoadResult, _t as BuildOptions, a as ExternalOption, at as NormalizedInputOptions, b as ObjectHook, bt as AdvancedChunksGroup, c as InputOptions, ct as LoggingFunction, d as WatcherOptions, dt as RolldownWatcher, et as RolldownDirectoryEntry, f as AsyncPluginHooks, ft as RolldownWatcherEvent, g as ImportKind, gt as RolldownBuild, h as HookFilterExtension, ht as rolldown, i as RolldownOptions, it as NormalizedOutputOptions, jt as ModuleFormat, k as SourceDescription, kt as GlobalsFunction, l as ModuleTypes, lt as WarningHandlerWithDefault, m as FunctionPluginHooks, mt as WatchOptions, n as RolldownOptionsFunction, nt as RolldownFsModule, o as ExternalOptionFunction, ot as TransformOptions, p as CustomPluginOptions, pt as RolldownWatcherWatcherEventMap, r as defineConfig, rt as InternalModuleFormat, s as InputOption, st as ChecksOptions, t as ConfigExport, tt as RolldownFileStats, u as OptimizationOptions, ut as watch, v as ModuleOptions, vt as build, w as ResolveIdExtraOptions, wt as CodeSplittingGroup, x as ParallelPluginHooks, xt as AdvancedChunksOptions, y as ModuleType, yt as AddonFunction, z as EmittedAsset, zt as RenderedChunk } from "./shared/define-config-Bqat13pE.mjs";
|
|
4
4
|
export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedChunk, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, 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, PluginContextResolveOptions, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownError, RolldownError as RollupError, RolldownFileStats, RolldownFsModule, RolldownLog, RolldownLog as RollupLog, RolldownLogWithString, RolldownLogWithString as RollupLogWithString, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RolldownWatcherWatcherEventMap, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/rolldown/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
3
|
-
import "./shared/normalize-string-or-regex-
|
|
4
|
-
import { S as VERSION } from "./shared/bindingify-input-options-
|
|
5
|
-
import "./shared/rolldown-build-
|
|
6
|
-
import "./shared/parse-ast-index-
|
|
7
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-RLcbrPD1.mjs";
|
|
3
|
+
import "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
4
|
+
import { S as VERSION } from "./shared/bindingify-input-options-D5ETSX2l.mjs";
|
|
5
|
+
import "./shared/rolldown-build-DQ0O4syb.mjs";
|
|
6
|
+
import "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
7
|
+
import { t as rolldown } from "./shared/rolldown-CrTfKKds.mjs";
|
|
8
8
|
import { t as defineConfig } from "./shared/define-config-BVG4QvnP.mjs";
|
|
9
9
|
import { isMainThread } from "node:worker_threads";
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import "./shared/normalize-string-or-regex-
|
|
3
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
4
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
3
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-D5ETSX2l.mjs";
|
|
4
|
+
import "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { C as Plugin, Pt as MaybePromise } from "./shared/define-config-
|
|
1
|
+
import "./shared/binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { C as Plugin, Pt as MaybePromise } from "./shared/define-config-Bqat13pE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-
|
|
1
|
+
import "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import { n as parseAstAsync, t as parseAst } from "./shared/parse-ast-index-BOsgfGfT.mjs";
|
|
3
3
|
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as BindingReplacePluginConfig } from "./shared/binding-
|
|
2
|
-
import { M as BuiltinPlugin } from "./shared/define-config-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { d as BindingReplacePluginConfig } from "./shared/binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { M as BuiltinPlugin } from "./shared/define-config-Bqat13pE.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-Bnez_zpO.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import "./shared/binding-D2zbhySS.mjs";
|
|
2
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-Di6BG_El.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-B6lq4qhv.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
6
6
|
/**
|
|
@@ -870,23 +870,6 @@ interface JsxOptions {
|
|
|
870
870
|
* @default 'React.Fragment'
|
|
871
871
|
*/
|
|
872
872
|
pragmaFrag?: string;
|
|
873
|
-
/**
|
|
874
|
-
* When spreading props, use `Object.assign` directly instead of an extend helper.
|
|
875
|
-
*
|
|
876
|
-
* Only used for `classic` {@link runtime}.
|
|
877
|
-
*
|
|
878
|
-
* @default false
|
|
879
|
-
*/
|
|
880
|
-
useBuiltIns?: boolean;
|
|
881
|
-
/**
|
|
882
|
-
* When spreading props, use inline object with spread elements directly
|
|
883
|
-
* instead of an extend helper or Object.assign.
|
|
884
|
-
*
|
|
885
|
-
* Only used for `classic` {@link runtime}.
|
|
886
|
-
*
|
|
887
|
-
* @default false
|
|
888
|
-
*/
|
|
889
|
-
useSpread?: boolean;
|
|
890
873
|
/**
|
|
891
874
|
* Enable React Fast Refresh .
|
|
892
875
|
*
|
|
@@ -1554,21 +1537,15 @@ interface BindingViteBuildImportAnalysisPluginV2Config {
|
|
|
1554
1537
|
renderBuiltUrl?: (filename: string, type: BindingRenderBuiltUrlConfig) => undefined | string | BindingRenderBuiltUrlRet;
|
|
1555
1538
|
}
|
|
1556
1539
|
interface BindingViteDynamicImportVarsPluginConfig {
|
|
1540
|
+
sourcemap?: boolean;
|
|
1557
1541
|
include?: Array<BindingStringOrRegex>;
|
|
1558
1542
|
exclude?: Array<BindingStringOrRegex>;
|
|
1559
1543
|
resolver?: (id: string, importer: string) => MaybePromise<string | undefined>;
|
|
1560
|
-
isV2?: BindingViteDynamicImportVarsPluginV2Config;
|
|
1561
|
-
}
|
|
1562
|
-
interface BindingViteDynamicImportVarsPluginV2Config {
|
|
1563
|
-
sourcemap: boolean;
|
|
1564
1544
|
}
|
|
1565
1545
|
interface BindingViteImportGlobPluginConfig {
|
|
1566
1546
|
root?: string;
|
|
1567
|
-
restoreQueryExtension?: boolean;
|
|
1568
|
-
isV2?: BindingViteImportGlobPluginV2Config;
|
|
1569
|
-
}
|
|
1570
|
-
interface BindingViteImportGlobPluginV2Config {
|
|
1571
1547
|
sourcemap?: boolean;
|
|
1548
|
+
restoreQueryExtension?: boolean;
|
|
1572
1549
|
}
|
|
1573
1550
|
interface BindingViteJsonPluginConfig {
|
|
1574
1551
|
minify?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-D2zbhySS.mjs";
|
|
2
2
|
import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-NH298mHo.mjs";
|
|
3
|
-
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
3
|
+
import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Di6BG_El.mjs";
|
|
4
4
|
import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CCZIsXVO.mjs";
|
|
5
|
-
import { t as parseAst } from "./parse-ast-index-
|
|
5
|
+
import { t as parseAst } from "./parse-ast-index-BOsgfGfT.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
|
|
8
8
|
import fsp from "node:fs/promises";
|
|
@@ -220,7 +220,7 @@ function bindingAssetSource(source) {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
//#endregion
|
|
223
|
-
//#region \0@oxc-project+runtime@0.
|
|
223
|
+
//#region \0@oxc-project+runtime@0.111.0/helpers/decorate.js
|
|
224
224
|
function __decorate(decorators, target, key, desc) {
|
|
225
225
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
226
226
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -979,10 +979,14 @@ var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
|
979
979
|
emitFile = (file) => {
|
|
980
980
|
if (file.type === "prebuilt-chunk") return this.context.emitPrebuiltChunk({
|
|
981
981
|
fileName: file.fileName,
|
|
982
|
+
name: file.name,
|
|
982
983
|
code: file.code,
|
|
983
984
|
exports: file.exports,
|
|
984
985
|
map: bindingifySourcemap(file.map),
|
|
985
|
-
sourcemapFileName: file.sourcemapFileName
|
|
986
|
+
sourcemapFileName: file.sourcemapFileName,
|
|
987
|
+
facadeModuleId: file.facadeModuleId,
|
|
988
|
+
isEntry: file.isEntry,
|
|
989
|
+
isDynamicEntry: file.isDynamicEntry
|
|
986
990
|
});
|
|
987
991
|
if (file.type === "chunk") return this.context.emitChunk({
|
|
988
992
|
preserveEntrySignatures: bindingifyPreserveEntrySignatures(file.preserveSignature),
|
|
@@ -2098,7 +2102,8 @@ function bindingifyExperimental(experimental) {
|
|
|
2098
2102
|
onDemandWrapping: experimental?.onDemandWrapping,
|
|
2099
2103
|
incrementalBuild: experimental?.incrementalBuild,
|
|
2100
2104
|
nativeMagicString: experimental?.nativeMagicString,
|
|
2101
|
-
chunkOptimization: experimental?.chunkOptimization
|
|
2105
|
+
chunkOptimization: experimental?.chunkOptimization,
|
|
2106
|
+
lazyBarrel: experimental?.lazyBarrel
|
|
2102
2107
|
};
|
|
2103
2108
|
}
|
|
2104
2109
|
function bindingifyResolve(resolve) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Di6BG_El.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/builtin-plugin/constructors.ts
|
|
4
4
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as BindingViteWasmHelperPluginConfig, b as BindingViteReporterPluginConfig, g as BindingViteJsonPluginConfig, h as BindingViteImportGlobPluginConfig, i as BindingEsmExternalRequirePluginConfig, m as BindingViteDynamicImportVarsPluginConfig, o as BindingIsolatedDeclarationPluginConfig, p as BindingViteBuildImportAnalysisPluginConfig, v as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteResolvePluginConfig, y as BindingViteReactRefreshWrapperPluginConfig } from "./binding-
|
|
2
|
-
import { It as StringOrRegExp, M as BuiltinPlugin } from "./define-config-
|
|
1
|
+
import { C as BindingViteWasmHelperPluginConfig, b as BindingViteReporterPluginConfig, g as BindingViteJsonPluginConfig, h as BindingViteImportGlobPluginConfig, i as BindingEsmExternalRequirePluginConfig, m as BindingViteDynamicImportVarsPluginConfig, o as BindingIsolatedDeclarationPluginConfig, p as BindingViteBuildImportAnalysisPluginConfig, v as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteResolvePluginConfig, y as BindingViteReactRefreshWrapperPluginConfig } from "./binding-Bo6UcGYl.mjs";
|
|
2
|
+
import { It as StringOrRegExp, M as BuiltinPlugin } from "./define-config-Bqat13pE.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/constructors.d.ts
|
|
5
5
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|