@voidzero-dev/vite-plus-core 0.1.21-alpha.3 → 0.1.21-alpha.4
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/LICENSE +0 -29
- package/dist/rolldown/cli.mjs +6 -6
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{bindingify-input-options-BFomq0CL.mjs → bindingify-input-options-wZdDRbfo.mjs} +27 -5
- package/dist/rolldown/shared/{constructors-CqLClvFc.mjs → constructors-D6i2Tbyl.mjs} +1 -1
- package/dist/rolldown/shared/define-config-5HJ1b9vG.d.mts +2 -2
- package/dist/rolldown/shared/{error-D4ASW9r2.mjs → error-BrnLyQ-g.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-nKXo7Yxg.mjs → load-config-BZFgt8GH.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-WerlQkgD.mjs → normalize-string-or-regex-dAjLOSbp.mjs} +3 -1
- package/dist/rolldown/shared/{parse-C-X7ajBy.mjs → parse-DFts7Hyl.mjs} +1 -1
- package/dist/rolldown/shared/{resolve-tsconfig-CxJB93yb.mjs → resolve-tsconfig-DCdBlPeK.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-DNviFDiu.mjs → rolldown-Cs2eRf4R.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-DdPwBoAu.mjs → rolldown-build-CNhzgsn2.mjs} +6 -4
- package/dist/rolldown/shared/{watch-BWGrirtv.mjs → watch-De_8Tgeq.mjs} +4 -4
- package/dist/rolldown/utils-index.mjs +2 -2
- package/dist/tsdown/{build-CgGnBlCD-CmgnJdWt.js → build-5FURNVr0-BYnPlyxS.js} +88 -71
- package/dist/tsdown/{debug-CLlnG64L-Bga2f95T.js → debug-CLlnG64L-DgUic6dq.js} +2 -2
- package/dist/tsdown/{detect-DN3DXXYt-CQvReX03.js → detect-DN3DXXYt-C8fBJ-Pz.js} +1 -1
- package/dist/tsdown/dist-Cv2Z0Bi_.js +1012 -0
- package/dist/tsdown/{dist-dEREUhS4.js → dist-DTzJRoOQ.js} +4898 -4741
- package/dist/tsdown/{filename-DQnUJlio-CkHYanGh.js → filename-DQnUJlio-D7-CzKqs.js} +1 -1
- package/dist/tsdown/index-types.d.ts +259 -92
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-BQC8aVfq.js → main-D7FQqhAT.js} +4 -4
- package/dist/tsdown/npm_cjs_chunk_range.cjs +20 -7
- package/dist/tsdown/npm_cjs_chunk_semver.cjs +15 -15
- package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -1
- package/dist/tsdown/run.js +7 -7
- package/dist/tsdown/{tsc-ILrjzsA_.js → tsc-Dr9kCkDm.js} +2 -2
- package/dist/tsdown/{tsc-context-BBIdwth6.js → tsc-context-CANQEB9U.js} +1 -1
- package/dist/vite/client/client.mjs +7 -7
- package/dist/vite/node/chunks/build.js +19 -19
- package/dist/vite/node/chunks/logger.js +1 -1
- package/dist/vite/node/chunks/node.js +75 -49
- package/dist/vite/node/chunks/postcss-import.js +10 -10
- package/dist/vite/node/index.d.ts +2 -2
- package/dist/vite/node/module-runner.js +14 -3
- package/package.json +19 -15
- package/dist/tsdown/dist-DJhmrSLH.js +0 -739
- package/dist/tsdown/dist-D_AJtdxQ.js +0 -848
- package/dist/tsdown/npm_cjs_chunk_lt.cjs +0 -28
- package/dist/tsdown/npm_entry_semver_functions_lt.cjs +0 -4
- /package/dist/rolldown/shared/{binding-Cf9ARhL0.mjs → binding-ESkOU1xr.mjs} +0 -0
package/LICENSE
CHANGED
|
@@ -2810,35 +2810,6 @@ Repository: https://github.com/stream-utils/unpipe
|
|
|
2810
2810
|
|
|
2811
2811
|
---------------------------------------
|
|
2812
2812
|
|
|
2813
|
-
## unrun
|
|
2814
|
-
License: MIT
|
|
2815
|
-
By: Augustin Mercier <gugustinette@proton.me>
|
|
2816
|
-
Repository: https://github.com/Gugustinette/unrun
|
|
2817
|
-
|
|
2818
|
-
> MIT License
|
|
2819
|
-
>
|
|
2820
|
-
> Copyright (c) 2025 Gugustinette
|
|
2821
|
-
>
|
|
2822
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2823
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
2824
|
-
> in the Software without restriction, including without limitation the rights
|
|
2825
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2826
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
2827
|
-
> furnished to do so, subject to the following conditions:
|
|
2828
|
-
>
|
|
2829
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
2830
|
-
> copies or substantial portions of the Software.
|
|
2831
|
-
>
|
|
2832
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2833
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2834
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2835
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2836
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2837
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2838
|
-
> SOFTWARE.
|
|
2839
|
-
|
|
2840
|
-
---------------------------------------
|
|
2841
|
-
|
|
2842
2813
|
## util-deprecate
|
|
2843
2814
|
License: MIT
|
|
2844
2815
|
By: Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)
|
package/dist/rolldown/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { C as version, S as description } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-De_8Tgeq.mjs";
|
|
2
|
+
import { C as version, S as description } from "./shared/bindingify-input-options-wZdDRbfo.mjs";
|
|
3
3
|
import { t as arraify } from "./shared/misc-DJYbNKZX.mjs";
|
|
4
|
-
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-CNhzgsn2.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-Cs2eRf4R.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-BZFgt8GH.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
|
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
|
-
//#region \0@oxc-project+runtime@0.
|
|
850
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/usingCtx.js
|
|
851
851
|
function _usingCtx() {
|
|
852
852
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
853
853
|
var n = Error();
|
package/dist/rolldown/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as VERSION } from "./shared/bindingify-input-options-
|
|
1
|
+
import { x as VERSION } from "./shared/bindingify-input-options-wZdDRbfo.mjs";
|
|
2
2
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-BZFgt8GH.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -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 { o 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 viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
8
|
-
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-ESkOU1xr.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-dAjLOSbp.mjs";
|
|
3
|
+
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-wZdDRbfo.mjs";
|
|
4
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CNhzgsn2.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-BrnLyQ-g.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-DFts7Hyl.mjs";
|
|
7
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-D6i2Tbyl.mjs";
|
|
8
|
+
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-DCdBlPeK.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);
|
package/dist/rolldown/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-
|
|
4
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-ESkOU1xr.mjs";
|
|
2
|
+
import { n as onExit, t as watch } from "./shared/watch-De_8Tgeq.mjs";
|
|
3
|
+
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-wZdDRbfo.mjs";
|
|
4
|
+
import { t as rolldown } from "./shared/rolldown-Cs2eRf4R.mjs";
|
|
5
5
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
6
6
|
import { isMainThread } from "node:worker_threads";
|
|
7
7
|
//#region src/setup.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-ESkOU1xr.mjs";
|
|
2
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-wZdDRbfo.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
//#region src/parallel-plugin-worker.ts
|
|
5
5
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-DFts7Hyl.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-dAjLOSbp.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-D6i2Tbyl.mjs";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* 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-ESkOU1xr.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-dAjLOSbp.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-BrnLyQ-g.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";
|
|
@@ -14,7 +14,7 @@ var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compat
|
|
|
14
14
|
//#region src/constants/version.ts
|
|
15
15
|
/**
|
|
16
16
|
* The version of Rolldown.
|
|
17
|
-
* @example `'
|
|
17
|
+
* @example `'0.0.0'`
|
|
18
18
|
*
|
|
19
19
|
* @category Plugin APIs
|
|
20
20
|
*/
|
|
@@ -73,6 +73,8 @@ function normalizeHook(hook) {
|
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region src/plugin/minimal-plugin-context.ts
|
|
75
75
|
var MinimalPluginContextImpl = class {
|
|
76
|
+
pluginName;
|
|
77
|
+
hookName;
|
|
76
78
|
info;
|
|
77
79
|
warn;
|
|
78
80
|
debug;
|
|
@@ -217,7 +219,7 @@ function bindingAssetSource(source) {
|
|
|
217
219
|
return { inner: source };
|
|
218
220
|
}
|
|
219
221
|
//#endregion
|
|
220
|
-
//#region \0@oxc-project+runtime@0.
|
|
222
|
+
//#region \0@oxc-project+runtime@0.129.0/helpers/decorate.js
|
|
221
223
|
function __decorate(decorators, target, key, desc) {
|
|
222
224
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
223
225
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -227,6 +229,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
227
229
|
//#endregion
|
|
228
230
|
//#region src/types/output-asset-impl.ts
|
|
229
231
|
var OutputAssetImpl = class extends PlainObjectLike {
|
|
232
|
+
bindingAsset;
|
|
230
233
|
type = "asset";
|
|
231
234
|
constructor(bindingAsset) {
|
|
232
235
|
super();
|
|
@@ -330,6 +333,7 @@ function transformChunkModules(modules) {
|
|
|
330
333
|
//#endregion
|
|
331
334
|
//#region src/types/output-chunk-impl.ts
|
|
332
335
|
var OutputChunkImpl = class extends PlainObjectLike {
|
|
336
|
+
bindingChunk;
|
|
333
337
|
type = "chunk";
|
|
334
338
|
constructor(bindingChunk) {
|
|
335
339
|
super();
|
|
@@ -891,6 +895,11 @@ const fsModule = {
|
|
|
891
895
|
//#endregion
|
|
892
896
|
//#region src/plugin/plugin-context.ts
|
|
893
897
|
var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
898
|
+
outputOptions;
|
|
899
|
+
context;
|
|
900
|
+
data;
|
|
901
|
+
onLog;
|
|
902
|
+
currentLoadingModule;
|
|
894
903
|
fs = fsModule;
|
|
895
904
|
getModuleInfo;
|
|
896
905
|
constructor(outputOptions, context, plugin, data, onLog, logLevel, watchMode, currentLoadingModule) {
|
|
@@ -998,6 +1007,7 @@ var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
|
998
1007
|
//#endregion
|
|
999
1008
|
//#region src/plugin/load-plugin-context.ts
|
|
1000
1009
|
var LoadPluginContextImpl = class extends PluginContextImpl {
|
|
1010
|
+
inner;
|
|
1001
1011
|
constructor(outputOptions, context, plugin, data, inner, moduleId, onLog, logLevelOption, watchMode) {
|
|
1002
1012
|
super(outputOptions, context, plugin, data, onLog, logLevelOption, watchMode, moduleId);
|
|
1003
1013
|
this.inner = inner;
|
|
@@ -1009,6 +1019,9 @@ var LoadPluginContextImpl = class extends PluginContextImpl {
|
|
|
1009
1019
|
//#endregion
|
|
1010
1020
|
//#region src/plugin/transform-plugin-context.ts
|
|
1011
1021
|
var TransformPluginContextImpl = class extends PluginContextImpl {
|
|
1022
|
+
inner;
|
|
1023
|
+
moduleId;
|
|
1024
|
+
moduleSource;
|
|
1012
1025
|
constructor(outputOptions, context, plugin, data, inner, moduleId, moduleSource, onLog, LogLevelOption, watchMode) {
|
|
1013
1026
|
super(outputOptions, context, plugin, data, onLog, LogLevelOption, watchMode, moduleId);
|
|
1014
1027
|
this.inner = inner;
|
|
@@ -1623,6 +1636,8 @@ function wrapHandlers(plugin) {
|
|
|
1623
1636
|
//#endregion
|
|
1624
1637
|
//#region src/options/normalized-input-options.ts
|
|
1625
1638
|
var NormalizedInputOptionsImpl = class extends PlainObjectLike {
|
|
1639
|
+
onLog;
|
|
1640
|
+
inputPlugins;
|
|
1626
1641
|
inner;
|
|
1627
1642
|
constructor(inner, onLog, inputPlugins) {
|
|
1628
1643
|
super();
|
|
@@ -1657,6 +1672,9 @@ __decorate([lazyProp], NormalizedInputOptionsImpl.prototype, "context", null);
|
|
|
1657
1672
|
//#endregion
|
|
1658
1673
|
//#region src/options/normalized-output-options.ts
|
|
1659
1674
|
var NormalizedOutputOptionsImpl = class extends PlainObjectLike {
|
|
1675
|
+
inner;
|
|
1676
|
+
outputOptions;
|
|
1677
|
+
normalizedOutputPlugins;
|
|
1660
1678
|
constructor(inner, outputOptions, normalizedOutputPlugins) {
|
|
1661
1679
|
super();
|
|
1662
1680
|
this.inner = inner;
|
|
@@ -1845,6 +1863,10 @@ function normalizeAddon(value) {
|
|
|
1845
1863
|
//#endregion
|
|
1846
1864
|
//#region src/plugin/plugin-context-data.ts
|
|
1847
1865
|
var PluginContextData = class {
|
|
1866
|
+
onLog;
|
|
1867
|
+
outputOptions;
|
|
1868
|
+
normalizedInputPlugins;
|
|
1869
|
+
normalizedOutputPlugins;
|
|
1848
1870
|
moduleOptionMap = /* @__PURE__ */ new Map();
|
|
1849
1871
|
resolveOptionsMap = /* @__PURE__ */ new Map();
|
|
1850
1872
|
loadModulePromiseMap = /* @__PURE__ */ new Map();
|
|
@@ -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-dAjLOSbp.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);
|
|
@@ -1977,7 +1977,7 @@ interface PluginContextMeta {
|
|
|
1977
1977
|
rollupVersion: string;
|
|
1978
1978
|
/**
|
|
1979
1979
|
* The currently running version of Rolldown.
|
|
1980
|
-
* @example `'
|
|
1980
|
+
* @example `'0.0.0'`
|
|
1981
1981
|
*/
|
|
1982
1982
|
rolldownVersion: string;
|
|
1983
1983
|
/**
|
|
@@ -2518,7 +2518,7 @@ type BundleError = Error & {
|
|
|
2518
2518
|
//#region src/constants/version.d.ts
|
|
2519
2519
|
/**
|
|
2520
2520
|
* The version of Rolldown.
|
|
2521
|
-
* @example `'
|
|
2521
|
+
* @example `'0.0.0'`
|
|
2522
2522
|
*
|
|
2523
2523
|
* @category Plugin APIs
|
|
2524
2524
|
*/
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-ESkOU1xr.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);
|
|
5
5
|
var BuiltinPlugin = class {
|
|
6
|
+
name;
|
|
7
|
+
_options;
|
|
6
8
|
/** Vite-specific option to control plugin ordering */
|
|
7
9
|
enforce;
|
|
8
10
|
constructor(name, _options) {
|
|
@@ -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-ESkOU1xr.mjs";
|
|
2
2
|
//#region ../../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
4
4
|
function wrap(result) {
|
package/dist/rolldown/shared/{resolve-tsconfig-CxJB93yb.mjs → resolve-tsconfig-DCdBlPeK.mjs}
RENAMED
|
@@ -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-ESkOU1xr.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-BrnLyQ-g.mjs";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
/**
|
|
@@ -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-CNhzgsn2.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-ESkOU1xr.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 { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-dAjLOSbp.mjs";
|
|
4
|
+
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-wZdDRbfo.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-BrnLyQ-g.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";
|
|
@@ -1905,6 +1905,7 @@ function getCliSchemaInfo() {
|
|
|
1905
1905
|
//#endregion
|
|
1906
1906
|
//#region src/types/rolldown-output-impl.ts
|
|
1907
1907
|
var RolldownOutputImpl = class extends PlainObjectLike {
|
|
1908
|
+
bindingOutputs;
|
|
1908
1909
|
constructor(bindingOutputs) {
|
|
1909
1910
|
super();
|
|
1910
1911
|
this.bindingOutputs = bindingOutputs;
|
|
@@ -1928,6 +1929,7 @@ __decorate([lazyProp], RolldownOutputImpl.prototype, "output", null);
|
|
|
1928
1929
|
//#endregion
|
|
1929
1930
|
//#region src/types/chunking-context.ts
|
|
1930
1931
|
var ChunkingContextImpl = class {
|
|
1932
|
+
context;
|
|
1931
1933
|
constructor(context) {
|
|
1932
1934
|
this.context = context;
|
|
1933
1935
|
}
|
|
@@ -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-ESkOU1xr.mjs";
|
|
2
2
|
import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
|
|
3
|
-
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
3
|
+
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-wZdDRbfo.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-CNhzgsn2.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-BrnLyQ-g.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,5 +1,5 @@
|
|
|
1
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as parseSync, t as parse } from "./shared/parse-DFts7Hyl.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-DCdBlPeK.mjs";
|
|
3
3
|
//#region ../../../node_modules/.pnpm/oxc-parser@0.129.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
4
4
|
function walkNode(node, visitors) {
|
|
5
5
|
if (node == null) return;
|