@voidzero-dev/vite-plus-core 0.1.3 → 0.1.5-alpha.0
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.mjs +617 -184
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +8 -8
- package/dist/rolldown/experimental-index.d.mts +2 -2
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +1 -1
- package/dist/rolldown/index.mjs +8 -8
- package/dist/rolldown/parallel-plugin-worker.mjs +5 -5
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +2 -2
- package/dist/rolldown/plugins-index.d.mts +2 -2
- package/dist/rolldown/plugins-index.mjs +3 -3
- package/dist/rolldown/shared/{bindingify-input-options-DdW_FOGG.mjs → bindingify-input-options-DkwIzK4F.mjs} +6 -3
- package/dist/rolldown/shared/{constructors-ColrbLxz.d.mts → constructors-Bnr_ApVf.d.mts} +1 -1
- package/dist/rolldown/shared/{constructors-CQlws1EK.mjs → constructors-D91FHkmz.mjs} +1 -1
- package/dist/rolldown/shared/{define-config-BqZZMLjO.d.mts → define-config-B1jccsL9.d.mts} +18 -0
- package/dist/rolldown/shared/{error-FTNambir.mjs → error-tpgdcGrK.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-DBRCgd9m.mjs → load-config-Dapgaecf.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-CJTjKt5t.mjs → normalize-string-or-regex-BCllTl21.mjs} +1 -1
- package/dist/rolldown/shared/{parse-q7gzDQmi.mjs → parse-DFYpKkKl.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-BJMdRJb1.mjs → rolldown-DK6iIJl8.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-DKv2K096.mjs → rolldown-build-rw0HCMhn.mjs} +9 -6
- package/dist/rolldown/shared/{transform-CQppMqL8.mjs → transform-BSCulZAO.mjs} +2 -2
- package/dist/rolldown/shared/{watch-BeMWbIuq.mjs → watch-D8uEZyLj.mjs} +4 -4
- package/dist/rolldown/utils-index.mjs +4 -4
- package/dist/tsdown/{build-TmLngPCw-CBoVPzkZ.js → build-BG-XbM6V-hoyhQqI3.js} +41 -153
- package/dist/tsdown/build-DHPfiKA--CvTonTfC.js +5 -0
- package/dist/tsdown/{debug-tOJ_PtrM-C-Do1Twv.js → debug-C4FmgzkJ-B6m_gRpz.js} +2 -2
- package/dist/tsdown/{detect-DK-FDZQ9-CHuRhyUG.js → detect-J1_Vd1yf-BWDiPZkP.js} +1 -1
- package/dist/tsdown/{dist-DCol2bGA.js → dist-C9Oecl0H.js} +2 -2
- package/dist/tsdown/{dist-Ba2DZx1w.js → dist-Dx-jtFHM.js} +2 -4
- package/dist/tsdown/{index-node-Djp92Gzb-B-AUHI4t.js → index-node-Bpsmc0eX-jMz9gD3P.js} +1 -1
- package/dist/tsdown/index-types.d.ts +8556 -176
- package/dist/tsdown/index.js +5 -5
- package/dist/tsdown/{main-DYgM-9Cb.js → main-DN-_H9u2.js} +3 -3
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{tsc-CberiTDq.js → tsc-OwK9UHsV.js} +1 -1
- package/dist/vite/client/client.mjs +112 -0
- package/dist/vite/node/chunks/logger.js +1 -1
- package/dist/vite/node/chunks/node.js +823 -494
- package/dist/vite/node/cli.js +201 -63
- package/dist/vite/node/index.d.ts +15 -12
- package/dist/vite/node/index.js +1 -1
- package/dist/vite/node/module-runner.d.ts +5 -1
- package/dist/vite/types/customEvent.d.ts +27 -0
- package/package.json +9 -9
- package/dist/tsdown/build-gOkJM1H9-D9ngUBpk.js +0 -5
- /package/dist/rolldown/shared/{binding-COZdHtee.mjs → binding-BSVL02lq.mjs} +0 -0
- /package/dist/tsdown/{filename-BDcjeHGl.js → filename-tIvGuRvQ.js} +0 -0
package/dist/rolldown/config.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/normalize-string-or-regex-
|
|
3
|
-
import { b as VERSION } from "./shared/bindingify-input-options-
|
|
4
|
-
import "./shared/rolldown-build-
|
|
5
|
-
import "./shared/error-
|
|
6
|
-
import "./shared/parse-
|
|
7
|
-
import "./shared/rolldown-
|
|
1
|
+
import "./shared/binding-BSVL02lq.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-BCllTl21.mjs";
|
|
3
|
+
import { b as VERSION } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
|
|
4
|
+
import "./shared/rolldown-build-rw0HCMhn.mjs";
|
|
5
|
+
import "./shared/error-tpgdcGrK.mjs";
|
|
6
|
+
import "./shared/parse-DFYpKkKl.mjs";
|
|
7
|
+
import "./shared/rolldown-DK6iIJl8.mjs";
|
|
8
8
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
9
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
9
|
+
import { t as loadConfig } from "./shared/load-config-Dapgaecf.mjs";
|
|
10
10
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as IsolatedDeclarationsOptions, B as ResolverFactory, D as BindingViteTransformPluginConfig, F as NapiResolveOptions, G as isolatedDeclarationSync, K as moduleRunnerTransform, S as BindingViteManifestPluginConfig, U as TsconfigCache$1, W as isolatedDeclaration, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsResult, n as BindingBundleAnalyzerPluginConfig, q as resolveTsconfig, r as BindingBundleState, z as ResolveResult } from "./shared/binding-BohGL_65.mjs";
|
|
2
|
-
import { Gt as RolldownOutput, It as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, qt as freeExternalMemory, st as NormalizedOutputOptions } from "./shared/define-config-
|
|
3
|
-
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-
|
|
2
|
+
import { Gt as RolldownOutput, It as OutputOptions, N as BuiltinPlugin, X as defineParallelPlugin, c as InputOptions, qt as freeExternalMemory, st as NormalizedOutputOptions } from "./shared/define-config-B1jccsL9.mjs";
|
|
3
|
+
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-Bnr_ApVf.mjs";
|
|
4
4
|
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, n as TransformResult$1, o as MinifyResult$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-BoJxrM-e.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/dev/dev-options.d.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { a as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
4
|
-
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-
|
|
5
|
-
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-
|
|
6
|
-
import { n as parseSync$1, t as parse$1 } from "./shared/parse-
|
|
7
|
-
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-
|
|
8
|
-
import { a as minifySync$1, i as minify$1, n as transform$1, r as transformSync$1, t as import_binding$1 } from "./shared/transform-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-BCllTl21.mjs";
|
|
3
|
+
import { a as transformToRollupOutput } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
|
|
4
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-rw0HCMhn.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-tpgdcGrK.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-DFYpKkKl.mjs";
|
|
7
|
+
import { a as viteImportGlobPlugin, c as viteModulePreloadPolyfillPlugin, d as viteResolvePlugin, f as viteWasmFallbackPlugin, i as viteDynamicImportVarsPlugin, l as viteReactRefreshWrapperPlugin, n as isolatedDeclarationPlugin, o as viteJsonPlugin, p as viteWebWorkerPostPlugin, r as viteBuildImportAnalysisPlugin, s as viteLoadFallbackPlugin, u as viteReporterPlugin } from "./shared/constructors-D91FHkmz.mjs";
|
|
8
|
+
import { a as minifySync$1, i as minify$1, n as transform$1, r as transformSync$1, t as import_binding$1 } from "./shared/transform-BSCulZAO.mjs";
|
|
9
9
|
import { pathToFileURL } from "node:url";
|
|
10
10
|
//#region src/api/dev/dev-engine.ts
|
|
11
11
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -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-C6h4g8dA.mjs";
|
|
2
2
|
import { R as PreRenderedChunk, u as BindingMagicString } from "./shared/binding-BohGL_65.mjs";
|
|
3
|
-
import { $ as GeneralHookFilter, A as SourceDescription, At as CommentsOptions, B as TreeshakingOptions, C as PartialResolvedId, Ct as AdvancedChunksGroup, D as ResolvedId, Dt as CodeSplittingGroup, E as ResolveIdResult, Et as ChunkingContext, F as VERSION, Ft as ModuleFormat, G as EmittedPrebuiltChunk, Gt as RolldownOutput, H as EmittedAsset, Ht as OutputChunk, I as BundleError, It as OutputOptions, J as PluginContextResolveOptions, Jt as ModuleInfo, K as GetModuleInfo, Kt as SourceMap, L as ExistingRawSourceMap, Lt as PreRenderedAsset, Mt as GeneratedCodePreset, Nt as GlobalsFunction, O as RolldownPlugin, Ot as CodeSplittingNameFunction, P as RUNTIME_MODULE_ID, Pt as MinifyOptions, Q as PluginContextMeta, R as SourceMapInput, S as ParallelPluginHooks, St as AddonFunction, T as ResolveIdExtraOptions, Tt as ChunkFileNamesFunction, U as EmittedChunk, Ut as RenderedChunk, V as TransformPluginContext, Vt as OutputAsset, W as EmittedFile, Wt as RenderedModule, Y as DefineParallelPluginResult, Yt as SourcemapIgnoreListOption, Z as MinimalPluginContext, _ as ImportKind, _t as WatchOptions, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as BuildOptions, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherWatcherEventMap, h as FunctionPluginHooks, ht as RolldownWatcherEvent, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as GeneratedCodeOptions, k as RolldownPluginOption, kt as CodeSplittingOptions, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as RolldownWatcher, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as watch, q as PluginContext, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as rolldown, w as Plugin, wt as AdvancedChunksOptions, x as ObjectHook, xt as build, y as ModuleOptions, yt as RolldownBuild, z as OutputBundle, zt as PartialNull } from "./shared/define-config-
|
|
3
|
+
import { $ as GeneralHookFilter, A as SourceDescription, At as CommentsOptions, B as TreeshakingOptions, C as PartialResolvedId, Ct as AdvancedChunksGroup, D as ResolvedId, Dt as CodeSplittingGroup, E as ResolveIdResult, Et as ChunkingContext, F as VERSION, Ft as ModuleFormat, G as EmittedPrebuiltChunk, Gt as RolldownOutput, H as EmittedAsset, Ht as OutputChunk, I as BundleError, It as OutputOptions, J as PluginContextResolveOptions, Jt as ModuleInfo, K as GetModuleInfo, Kt as SourceMap, L as ExistingRawSourceMap, Lt as PreRenderedAsset, Mt as GeneratedCodePreset, Nt as GlobalsFunction, O as RolldownPlugin, Ot as CodeSplittingNameFunction, P as RUNTIME_MODULE_ID, Pt as MinifyOptions, Q as PluginContextMeta, R as SourceMapInput, S as ParallelPluginHooks, St as AddonFunction, T as ResolveIdExtraOptions, Tt as ChunkFileNamesFunction, U as EmittedChunk, Ut as RenderedChunk, V as TransformPluginContext, Vt as OutputAsset, W as EmittedFile, Wt as RenderedModule, Y as DefineParallelPluginResult, Yt as SourcemapIgnoreListOption, Z as MinimalPluginContext, _ as ImportKind, _t as WatchOptions, a as ExternalOption, at as RolldownFsModule, b as ModuleType, bt as BuildOptions, c as InputOptions, ct as NormalizedInputOptions, d as WatcherFileWatcherOptions, dt as LoggingFunction, et as HookFilter, f as WatcherOptions, ft as WarningHandlerWithDefault, g as HookFilterExtension, gt as RolldownWatcherWatcherEventMap, h as FunctionPluginHooks, ht as RolldownWatcherEvent, i as RolldownOptions, it as RolldownFileStats, j as TransformResult, jt as GeneratedCodeOptions, k as RolldownPluginOption, kt as CodeSplittingOptions, l as ModuleTypes, lt as TransformOptions, m as CustomPluginOptions, mt as RolldownWatcher, n as RolldownOptionsFunction, nt as BufferEncoding, o as ExternalOptionFunction, ot as InternalModuleFormat, p as AsyncPluginHooks, pt as watch, q as PluginContext, r as defineConfig, rt as RolldownDirectoryEntry, s as InputOption, st as NormalizedOutputOptions, t as ConfigExport, tt as ModuleTypeFilter, u as OptimizationOptions, ut as ChecksOptions, v as LoadResult, vt as rolldown, w as Plugin, wt as AdvancedChunksOptions, x as ObjectHook, xt as build, y as ModuleOptions, yt as RolldownBuild, z as OutputBundle, zt as PartialNull } from "./shared/define-config-B1jccsL9.mjs";
|
|
4
4
|
export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BindingMagicString, BufferEncoding, BuildOptions, BundleError, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, CommentsOptions, 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, RUNTIME_MODULE_ID, 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, WatcherFileWatcherOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/rolldown/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { b as VERSION, y as RUNTIME_MODULE_ID } from "./shared/bindingify-input-options-
|
|
5
|
-
import "./shared/rolldown-build-
|
|
6
|
-
import "./shared/error-
|
|
7
|
-
import "./shared/parse-
|
|
8
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-D8uEZyLj.mjs";
|
|
3
|
+
import "./shared/normalize-string-or-regex-BCllTl21.mjs";
|
|
4
|
+
import { b as VERSION, y as RUNTIME_MODULE_ID } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
|
|
5
|
+
import "./shared/rolldown-build-rw0HCMhn.mjs";
|
|
6
|
+
import "./shared/error-tpgdcGrK.mjs";
|
|
7
|
+
import "./shared/parse-DFYpKkKl.mjs";
|
|
8
|
+
import { t as rolldown } from "./shared/rolldown-DK6iIJl8.mjs";
|
|
9
9
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
10
10
|
import { isMainThread } from "node:worker_threads";
|
|
11
11
|
//#region src/setup.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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/error-
|
|
5
|
-
import "./shared/parse-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-BSVL02lq.mjs";
|
|
2
|
+
import "./shared/normalize-string-or-regex-BCllTl21.mjs";
|
|
3
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-DkwIzK4F.mjs";
|
|
4
|
+
import "./shared/error-tpgdcGrK.mjs";
|
|
5
|
+
import "./shared/parse-DFYpKkKl.mjs";
|
|
6
6
|
import { parentPort, workerData } from "node:worker_threads";
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
8
8
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rt as MaybePromise, w as Plugin } from "./shared/define-config-
|
|
1
|
+
import { Rt as MaybePromise, w as Plugin } from "./shared/define-config-B1jccsL9.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
4
4
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
1
|
+
import "./shared/binding-BSVL02lq.mjs";
|
|
2
2
|
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
|
|
3
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
3
|
+
import { n as parseSync, t as parse } from "./shared/parse-DFYpKkKl.mjs";
|
|
4
4
|
//#region src/parse-ast-index.ts
|
|
5
5
|
function wrap(result, filename, sourceText) {
|
|
6
6
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as BindingReplacePluginConfig } from "./shared/binding-BohGL_65.mjs";
|
|
2
|
-
import { N as BuiltinPlugin } from "./shared/define-config-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
2
|
+
import { N as BuiltinPlugin } from "./shared/define-config-B1jccsL9.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-Bnr_ApVf.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-BSVL02lq.mjs";
|
|
2
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-BCllTl21.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-D91FHkmz.mjs";
|
|
4
4
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
5
5
|
/**
|
|
6
6
|
* Replaces targeted strings in files while bundling.
|
|
@@ -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-BSVL02lq.mjs";
|
|
2
2
|
import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-D80CXhvg.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-BCllTl21.mjs";
|
|
4
4
|
import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-DJYbNKZX.mjs";
|
|
5
|
-
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-tpgdcGrK.mjs";
|
|
6
6
|
import { parseAst } from "../parse-ast-index.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
|
|
@@ -2086,6 +2086,9 @@ function bindingifyWatch(watch) {
|
|
|
2086
2086
|
usePolling: watcher.usePolling,
|
|
2087
2087
|
pollInterval: watcher.pollInterval,
|
|
2088
2088
|
compareContentsForPolling: watcher.compareContentsForPolling,
|
|
2089
|
+
useDebounce: watcher.useDebounce,
|
|
2090
|
+
debounceDelay: watcher.debounceDelay,
|
|
2091
|
+
debounceTickRate: watcher.debounceTickRate,
|
|
2089
2092
|
include: normalizedStringOrRegex(watch.include),
|
|
2090
2093
|
exclude: normalizedStringOrRegex(watch.exclude),
|
|
2091
2094
|
onInvalidate: (...args) => watch.onInvalidate?.(...args)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as BindingViteModulePreloadPolyfillPluginConfig, E as BindingViteResolvePluginConfig, T as BindingViteReporterPluginConfig, b as BindingViteImportGlobPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, v as BindingViteBuildImportAnalysisPluginConfig, w as BindingViteReactRefreshWrapperPluginConfig, x as BindingViteJsonPluginConfig, y as BindingViteDynamicImportVarsPluginConfig } from "./binding-BohGL_65.mjs";
|
|
2
|
-
import { Bt as StringOrRegExp, N as BuiltinPlugin } from "./define-config-
|
|
2
|
+
import { Bt as StringOrRegExp, N as BuiltinPlugin } from "./define-config-B1jccsL9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/constructors.d.ts
|
|
5
5
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|
|
@@ -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-BCllTl21.mjs";
|
|
2
2
|
//#region src/builtin-plugin/constructors.ts
|
|
3
3
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
4
4
|
return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
|
|
@@ -3045,6 +3045,24 @@ interface WatcherFileWatcherOptions {
|
|
|
3045
3045
|
* @default false
|
|
3046
3046
|
*/
|
|
3047
3047
|
compareContentsForPolling?: boolean;
|
|
3048
|
+
/**
|
|
3049
|
+
* Whether to use debounced event delivery at the filesystem level.
|
|
3050
|
+
* This coalesces rapid filesystem events before they reach the build coordinator.
|
|
3051
|
+
* @default false
|
|
3052
|
+
*/
|
|
3053
|
+
useDebounce?: boolean;
|
|
3054
|
+
/**
|
|
3055
|
+
* Debounce delay in milliseconds for fs-level debounced watchers.
|
|
3056
|
+
* Only used when {@linkcode useDebounce} is `true`.
|
|
3057
|
+
* @default 10
|
|
3058
|
+
*/
|
|
3059
|
+
debounceDelay?: number;
|
|
3060
|
+
/**
|
|
3061
|
+
* Tick rate in milliseconds for the debouncer's internal polling.
|
|
3062
|
+
* Only used when {@linkcode useDebounce} is `true`.
|
|
3063
|
+
* When undefined, auto-selects 1/4 of debounceDelay.
|
|
3064
|
+
*/
|
|
3065
|
+
debounceTickRate?: number;
|
|
3048
3066
|
}
|
|
3049
3067
|
interface WatcherOptions {
|
|
3050
3068
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
|
|
2
2
|
import { c as logPluginError, n as error } from "./logs-D80CXhvg.mjs";
|
|
3
3
|
//#region src/builtin-plugin/utils.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
|
|
2
2
|
//#region ../../../node_modules/.pnpm/oxc-parser@0.115.0/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
function wrap(result) {
|
|
4
4
|
let program, module, comments, errors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-rw0HCMhn.mjs";
|
|
2
2
|
//#region src/api/rolldown/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
|
|
2
2
|
import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
4
|
-
import { _ as LOG_LEVEL_WARN, a as transformToRollupOutput, b as VERSION, c as transformAssetSource, d as MinimalPluginContextImpl, f as normalizeHook, i as transformModuleInfo, l as lazyProp, m as LOG_LEVEL_DEBUG, o as transformRenderedChunk, p as normalizeLog, s as __decorate, t as bindingifyInputOptions, u as PlainObjectLike, v as logLevelPriority } from "./bindingify-input-options-
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-BCllTl21.mjs";
|
|
4
|
+
import { _ as LOG_LEVEL_WARN, a as transformToRollupOutput, b as VERSION, c as transformAssetSource, d as MinimalPluginContextImpl, f as normalizeHook, i as transformModuleInfo, l as lazyProp, m as LOG_LEVEL_DEBUG, o as transformRenderedChunk, p as normalizeLog, s as __decorate, t as bindingifyInputOptions, u as PlainObjectLike, v as logLevelPriority } from "./bindingify-input-options-DkwIzK4F.mjs";
|
|
5
5
|
import { i as unimplemented } from "./misc-DJYbNKZX.mjs";
|
|
6
|
-
import { i as unwrapBindingResult } from "./error-
|
|
6
|
+
import { i as unwrapBindingResult } from "./error-tpgdcGrK.mjs";
|
|
7
7
|
import { Worker } from "node:worker_threads";
|
|
8
8
|
import path, { sep } from "node:path";
|
|
9
9
|
import { formatWithOptions, styleText } from "node:util";
|
|
@@ -1521,7 +1521,10 @@ isTypeTrue();
|
|
|
1521
1521
|
const WatcherFileWatcherOptionsSchema = /* @__PURE__ */ strictObject({
|
|
1522
1522
|
usePolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use polling-based file watching instead of native OS events")),
|
|
1523
1523
|
pollInterval: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Poll interval in milliseconds (only used when usePolling is true)")),
|
|
1524
|
-
compareContentsForPolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Compare file contents for poll-based watchers (only used when usePolling is true)"))
|
|
1524
|
+
compareContentsForPolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Compare file contents for poll-based watchers (only used when usePolling is true)")),
|
|
1525
|
+
useDebounce: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use debounced event delivery at the filesystem level")),
|
|
1526
|
+
debounceDelay: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Debounce delay in milliseconds (only used when useDebounce is true)")),
|
|
1527
|
+
debounceTickRate: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ number()), /* @__PURE__ */ description("Tick rate in milliseconds for debouncer (only used when useDebounce is true)"))
|
|
1525
1528
|
});
|
|
1526
1529
|
const WatcherOptionsSchema = /* @__PURE__ */ strictObject({
|
|
1527
1530
|
chokidar: /* @__PURE__ */ optional(/* @__PURE__ */ never(`The "watch.chokidar" option is deprecated, please use "watch.watcher" instead of it`)),
|
|
@@ -1812,7 +1815,7 @@ const OutputOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1812
1815
|
/* @__PURE__ */ boolean(),
|
|
1813
1816
|
/* @__PURE__ */ literal("inline"),
|
|
1814
1817
|
/* @__PURE__ */ literal("hidden")
|
|
1815
|
-
])), /* @__PURE__ */ description(`Generate sourcemap (\`-s inline\` for inline, or
|
|
1818
|
+
])), /* @__PURE__ */ description(`Generate sourcemap (\`-s inline\` for inline, or \`-s\` for \`.map\` file)`)),
|
|
1816
1819
|
sourcemapBaseUrl: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ string()), /* @__PURE__ */ description("Base URL used to prefix sourcemap paths")),
|
|
1817
1820
|
sourcemapDebugIds: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Inject sourcemap debug IDs")),
|
|
1818
1821
|
sourcemapIgnoreList: /* @__PURE__ */ optional(/* @__PURE__ */ union([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-tpgdcGrK.mjs";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-BSVL02lq.mjs";
|
|
2
2
|
import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { _ as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
3
|
+
import { _ as LOG_LEVEL_WARN } from "./bindingify-input-options-DkwIzK4F.mjs";
|
|
4
4
|
import { t as arraify } from "./misc-DJYbNKZX.mjs";
|
|
5
|
-
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-
|
|
6
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-rw0HCMhn.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-tpgdcGrK.mjs";
|
|
7
7
|
//#region ../../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
8
8
|
/**
|
|
9
9
|
* This is not the set of all possible signals.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./shared/binding-
|
|
2
|
-
import "./shared/error-
|
|
3
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
4
|
-
import { a as minifySync, i as minify, n as transform, r as transformSync, t as import_binding } from "./shared/transform-
|
|
1
|
+
import "./shared/binding-BSVL02lq.mjs";
|
|
2
|
+
import "./shared/error-tpgdcGrK.mjs";
|
|
3
|
+
import { n as parseSync, t as parse } from "./shared/parse-DFYpKkKl.mjs";
|
|
4
|
+
import { a as minifySync, i as minify, n as transform, r as transformSync, t as import_binding } from "./shared/transform-BSCulZAO.mjs";
|
|
5
5
|
//#region ../../../node_modules/.pnpm/oxc-parser@0.115.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
6
6
|
function walkNode(node, visitors) {
|
|
7
7
|
if (node == null) return;
|