@voidzero-dev/vite-plus-core 0.1.16-alpha.0 → 0.1.16-alpha.2
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 +5726 -0
- package/dist/rolldown/cli.mjs +6 -6
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +4 -4
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +2 -2
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-CYVfiOV3.d.mts → binding-DUEnSb0A.d.mts} +10 -4
- package/dist/rolldown/shared/{bindingify-input-options-BCAF6TcN.mjs → bindingify-input-options-BGxmrQWF.mjs} +47 -4
- package/dist/rolldown/shared/{constructors-D3ZqEbT5.mjs → constructors-ChVDbP6o.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-DRe7RuMC.d.mts → constructors-DYemMpPL.d.mts} +2 -2
- package/dist/rolldown/shared/{define-config-BkRKRADp.d.mts → define-config-DhJZwTRw.d.mts} +1 -1
- package/dist/rolldown/shared/{error-BLhcSyeg.mjs → error-DBGOT6sf.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-CFr1Adp9.mjs → load-config-BGYZWvSJ.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-CCT059Zu.mjs → normalize-string-or-regex-BzTP-qJS.mjs} +1 -1
- package/dist/rolldown/shared/{parse-tRtSyZ-b.mjs → parse-CDR7akDs.mjs} +3 -3
- package/dist/rolldown/shared/{resolve-tsconfig-DJjTYbYr.mjs → resolve-tsconfig-BD5XUCWz.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-BMLc9elZ.mjs → rolldown-Dx_xtyvN.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-CxsB9UaT.mjs → rolldown-build-KavLbTK7.mjs} +6 -6
- package/dist/rolldown/shared/{transform-C_gBfjMR.d.mts → transform-Kz3D2LbX.d.mts} +1 -1
- package/dist/rolldown/shared/{watch-DJOwXDOi.mjs → watch-VmIe8ZAg.mjs} +4 -4
- package/dist/rolldown/utils-index.d.mts +3 -3
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/{build-DU-BFLB1-BP6FOpRZ.js → build-DU-BFLB1-B3WPwpFM.js} +12 -12
- package/dist/tsdown/build-DU-BFLB1-DhRv5Umu.js +2 -0
- package/dist/tsdown/{debug-BmAPbhgA-BPQhbB8P.js → debug-BmAPbhgA-ClibQzj1.js} +2 -2
- package/dist/tsdown/{detect-h8ZFBH96-C_8f1Pj6.js → detect-h8ZFBH96-CQBPtOHi.js} +1 -1
- package/dist/tsdown/{dist-B98oBzil.js → dist-SqMQ6Q2q.js} +4 -4
- package/dist/tsdown/{filename-DQnUJlio-B_23lF2M.js → filename-DQnUJlio-smVMy5Ot.js} +1 -1
- package/dist/tsdown/index-types.d.ts +190 -190
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-CYOGr7IM.js → main-CC95VQtR.js} +3 -3
- package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -0
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{tsc-Cabpo8gE.js → tsc-Bq9H2v3f.js} +2 -2
- package/dist/tsdown/{tsc-context-CltQOpVo.js → tsc-context-BEcA6aUv.js} +1 -1
- package/dist/vite/client/client.mjs +4 -4
- package/dist/vite/node/chunks/dist2.js +6 -0
- package/dist/vite/node/index.d.ts +2 -2
- package/package.json +11 -11
- package/dist/tsdown/build-DU-BFLB1-BCro_0va.js +0 -2
- /package/dist/rolldown/shared/{binding-CkWPGrSM.mjs → binding-Rc5vBspi.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
4
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/detect-h8ZFBH96.mjs
|
|
5
5
|
const AGENTS = [
|
|
6
6
|
"npm",
|
|
7
7
|
"yarn",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
|
|
2
2
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
3
|
-
import { a as RE_JSON, c as RE_TS, d as filename_js_to_dts, f as filename_to_dts, i as RE_JS, l as RE_VUE, m as resolveTemplateFn, n as RE_DTS, o as RE_NODE_MODULES, p as replaceTemplateName, r as RE_DTS_MAP, s as RE_ROLLDOWN_RUNTIME, t as RE_CSS, u as filename_dts_to } from "./filename-DQnUJlio-
|
|
3
|
+
import { a as RE_JSON, c as RE_TS, d as filename_js_to_dts, f as filename_to_dts, i as RE_JS, l as RE_VUE, m as resolveTemplateFn, n as RE_DTS, o as RE_NODE_MODULES, p as replaceTemplateName, r as RE_DTS_MAP, s as RE_ROLLDOWN_RUNTIME, t as RE_CSS, u as filename_dts_to } from "./filename-DQnUJlio-smVMy5Ot.js";
|
|
4
4
|
import { n as pe, t as Ge } from "./dist-CxeZzY9B.js";
|
|
5
|
-
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-
|
|
5
|
+
import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-BEcA6aUv.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
import { fork, spawn } from "node:child_process";
|
|
@@ -30409,7 +30409,7 @@ function resolveTemplateLiteral(node) {
|
|
|
30409
30409
|
*/
|
|
30410
30410
|
const walkAST = walk;
|
|
30411
30411
|
//#endregion
|
|
30412
|
-
//#region ../../node_modules/.pnpm/dts-resolver@2.1.3_oxc-resolver@11.
|
|
30412
|
+
//#region ../../node_modules/.pnpm/dts-resolver@2.1.3_oxc-resolver@11.19.1_@emnapi+core@1.9.1_@emnapi+runtime@1.9.1_/node_modules/dts-resolver/dist/index.mjs
|
|
30413
30413
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30414
30414
|
function createResolver({ tsconfig, cwd = process.cwd(), resolveNodeModules = false, ResolverFactory } = {}) {
|
|
30415
30415
|
ResolverFactory ||= __require("oxc-resolver").ResolverFactory;
|
|
@@ -31216,7 +31216,7 @@ function createGeneratePlugin({ entry, tsconfig, tsconfigRaw, build, incremental
|
|
|
31216
31216
|
on: (fn) => childProcess.on("message", fn)
|
|
31217
31217
|
});
|
|
31218
31218
|
} else {
|
|
31219
|
-
tscModule = await import("./tsc-
|
|
31219
|
+
tscModule = await import("./tsc-Bq9H2v3f.js");
|
|
31220
31220
|
if (newContext) tscContext = createContext();
|
|
31221
31221
|
}
|
|
31222
31222
|
if (!Array.isArray(options.input)) for (const [name, id] of Object.entries(options.input)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RUNTIME_MODULE_ID } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
2
2
|
import { exactRegex } from "@voidzero-dev/vite-plus-core/rolldown/filter";
|
|
3
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-
|
|
3
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_c04da8307f1378ebab12d63d21f95af6/node_modules/rolldown-plugin-dts/dist/filename-DQnUJlio.mjs
|
|
4
4
|
const RE_JS = /\.([cm]?)jsx?$/;
|
|
5
5
|
const RE_TS = /\.([cm]?)tsx?$/;
|
|
6
6
|
const RE_DTS = /\.d\.([cm]?)ts$/;
|
|
@@ -4,7 +4,7 @@ import { IsolatedDeclarationsOptions } from "@voidzero-dev/vite-plus-core/rolldo
|
|
|
4
4
|
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
7
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/logger-DLaktdLm.d.mts
|
|
8
8
|
//#region src/utils/types.d.ts
|
|
9
9
|
type Overwrite<T, U> = Omit<T, keyof U> & U;
|
|
10
10
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -8476,165 +8476,6 @@ interface GlobDependency {
|
|
|
8476
8476
|
glob: string;
|
|
8477
8477
|
}
|
|
8478
8478
|
//#endregion
|
|
8479
|
-
//#region ../../node_modules/.pnpm/@tsdown+css@0.21.7_jiti@2.6.1_postcss-import@16.1.1_postcss@8.5.8__postcss-modules@6.0._7a7c293bbd3467c2ea19763f48e96eac/node_modules/@tsdown/css/dist/index.d.mts
|
|
8480
|
-
//#region src/options.d.ts
|
|
8481
|
-
type LightningCSSOptions = Omit<TransformOptions<any>, "filename" | "code">;
|
|
8482
|
-
interface CSSModulesOptions {
|
|
8483
|
-
/**
|
|
8484
|
-
* Controls the scoping behavior.
|
|
8485
|
-
* @default 'local'
|
|
8486
|
-
*/
|
|
8487
|
-
scopeBehaviour?: "global" | "local";
|
|
8488
|
-
/**
|
|
8489
|
-
* File paths matching these patterns will use global scoping.
|
|
8490
|
-
*/
|
|
8491
|
-
globalModulePaths?: RegExp[];
|
|
8492
|
-
/**
|
|
8493
|
-
* Pattern or function to generate scoped class names.
|
|
8494
|
-
* When using `transformer: 'lightningcss'`, only string patterns are supported.
|
|
8495
|
-
*/
|
|
8496
|
-
generateScopedName?: string | ((name: string, filename: string, css: string) => string);
|
|
8497
|
-
/**
|
|
8498
|
-
* Prefix added to hashes when generating scoped names.
|
|
8499
|
-
*/
|
|
8500
|
-
hashPrefix?: string;
|
|
8501
|
-
/**
|
|
8502
|
-
* Transform convention for exported class names.
|
|
8503
|
-
*/
|
|
8504
|
-
localsConvention?: "camelCase" | "camelCaseOnly" | "dashes" | "dashesOnly";
|
|
8505
|
-
/**
|
|
8506
|
-
* Whether to include global class names in the export.
|
|
8507
|
-
*/
|
|
8508
|
-
exportGlobals?: boolean;
|
|
8509
|
-
/**
|
|
8510
|
-
* Callback to receive the generated class name mappings.
|
|
8511
|
-
*/
|
|
8512
|
-
getJSON?: (cssFileName: string, json: Record<string, string>, outputFileName: string) => void;
|
|
8513
|
-
}
|
|
8514
|
-
interface CssOptions {
|
|
8515
|
-
/**
|
|
8516
|
-
* Enable/disable CSS code splitting.
|
|
8517
|
-
* When set to `false`, all CSS in the entire project will be extracted into a single CSS file named by {@link fileName}.
|
|
8518
|
-
* When set to `true`, CSS imported in async JS chunks will be preserved as chunks.
|
|
8519
|
-
*
|
|
8520
|
-
* Defaults to `false`, but if `unbundle` is `true`, it defaults to `true` to preserve chunk splitting.
|
|
8521
|
-
*/
|
|
8522
|
-
splitting?: boolean;
|
|
8523
|
-
/**
|
|
8524
|
-
* Specify the name of the CSS file generated when `splitting` is `false`.
|
|
8525
|
-
* @default 'style.css'
|
|
8526
|
-
*/
|
|
8527
|
-
fileName?: string;
|
|
8528
|
-
/**
|
|
8529
|
-
* Set the target environment for CSS syntax lowering.
|
|
8530
|
-
* Accepts esbuild-style target strings (e.g., `'chrome99'`, `'safari16.2'`).
|
|
8531
|
-
* Defaults to the top-level `target` option.
|
|
8532
|
-
*
|
|
8533
|
-
* @see https://vite.dev/config/build-options#build-csstarget
|
|
8534
|
-
*/
|
|
8535
|
-
target?: string | string[] | false;
|
|
8536
|
-
/**
|
|
8537
|
-
* Options for CSS preprocessors (Sass/Less/Stylus).
|
|
8538
|
-
*
|
|
8539
|
-
* In addition to options specific to each processor, `additionalData` option
|
|
8540
|
-
* can be used to inject extra code for each style content.
|
|
8541
|
-
*/
|
|
8542
|
-
preprocessorOptions?: PreprocessorOptions;
|
|
8543
|
-
/**
|
|
8544
|
-
* Enable/disable CSS minification.
|
|
8545
|
-
*
|
|
8546
|
-
* @default false
|
|
8547
|
-
*/
|
|
8548
|
-
minify?: boolean;
|
|
8549
|
-
/**
|
|
8550
|
-
* Lightning CSS options for CSS syntax lowering and transformations.
|
|
8551
|
-
*/
|
|
8552
|
-
lightningcss?: LightningCSSOptions;
|
|
8553
|
-
/**
|
|
8554
|
-
* PostCSS configuration.
|
|
8555
|
-
*
|
|
8556
|
-
* - `string`: Path to the directory to search for PostCSS config files.
|
|
8557
|
-
* - `object`: Inline PostCSS options with optional `plugins` array.
|
|
8558
|
-
* - Omitted: Auto-detect PostCSS config from the project root.
|
|
8559
|
-
*
|
|
8560
|
-
* Only used when `transformer` is `'postcss'`.
|
|
8561
|
-
* Requires `postcss` to be installed.
|
|
8562
|
-
*
|
|
8563
|
-
* @see https://github.com/postcss/postcss
|
|
8564
|
-
*/
|
|
8565
|
-
postcss?: PostCSSOptions;
|
|
8566
|
-
/**
|
|
8567
|
-
* When enabled, JS output preserves import statements pointing to emitted CSS files.
|
|
8568
|
-
* Consumers of the library will automatically import the CSS alongside the JS.
|
|
8569
|
-
*
|
|
8570
|
-
* @default false
|
|
8571
|
-
*/
|
|
8572
|
-
inject?: boolean;
|
|
8573
|
-
/**
|
|
8574
|
-
* CSS modules configuration.
|
|
8575
|
-
* When not `false`, `.module.css` files (and preprocessor variants) are
|
|
8576
|
-
* treated as CSS modules with scoped class names.
|
|
8577
|
-
*
|
|
8578
|
-
* @see https://github.com/css-modules/css-modules
|
|
8579
|
-
*/
|
|
8580
|
-
modules?: CSSModulesOptions | false;
|
|
8581
|
-
/**
|
|
8582
|
-
* CSS transformer to use. Controls how CSS is processed:
|
|
8583
|
-
*
|
|
8584
|
-
* - `'lightningcss'` (default): `@import` handled by Lightning CSS
|
|
8585
|
-
* `bundleAsync()`, PostCSS is **not** used at all.
|
|
8586
|
-
* - `'postcss'`: `@import` handled by `postcss-import`,
|
|
8587
|
-
* PostCSS plugins applied, Lightning CSS used only for final
|
|
8588
|
-
* targets/minify transform.
|
|
8589
|
-
*
|
|
8590
|
-
* @default 'lightningcss'
|
|
8591
|
-
* @see https://vite.dev/config/shared-options#css-transformer
|
|
8592
|
-
*/
|
|
8593
|
-
transformer?: "postcss" | "lightningcss";
|
|
8594
|
-
}
|
|
8595
|
-
type PostCSSOptions = string | (Record<string, any> & {
|
|
8596
|
-
plugins?: any[];
|
|
8597
|
-
});
|
|
8598
|
-
interface PreprocessorOptions {
|
|
8599
|
-
scss?: SassPreprocessorOptions;
|
|
8600
|
-
sass?: SassPreprocessorOptions;
|
|
8601
|
-
less?: LessPreprocessorOptions;
|
|
8602
|
-
styl?: StylusPreprocessorOptions;
|
|
8603
|
-
stylus?: StylusPreprocessorOptions;
|
|
8604
|
-
}
|
|
8605
|
-
type PreprocessorAdditionalDataResult = string | {
|
|
8606
|
-
content: string;
|
|
8607
|
-
map?: any;
|
|
8608
|
-
};
|
|
8609
|
-
type PreprocessorAdditionalData = string | ((source: string, filename: string) => PreprocessorAdditionalDataResult | Promise<PreprocessorAdditionalDataResult>);
|
|
8610
|
-
interface SassPreprocessorOptions {
|
|
8611
|
-
additionalData?: PreprocessorAdditionalData;
|
|
8612
|
-
[key: string]: any;
|
|
8613
|
-
}
|
|
8614
|
-
interface LessPreprocessorOptions {
|
|
8615
|
-
additionalData?: PreprocessorAdditionalData;
|
|
8616
|
-
math?: any;
|
|
8617
|
-
paths?: string[];
|
|
8618
|
-
plugins?: any[];
|
|
8619
|
-
[key: string]: any;
|
|
8620
|
-
}
|
|
8621
|
-
interface StylusPreprocessorOptions {
|
|
8622
|
-
additionalData?: PreprocessorAdditionalData;
|
|
8623
|
-
define?: Record<string, any>;
|
|
8624
|
-
paths?: string[];
|
|
8625
|
-
[key: string]: any;
|
|
8626
|
-
}
|
|
8627
|
-
//#endregion
|
|
8628
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.11_@pnpm+logger@1001.0.1_typescript@5.9.3_vite@packages+core/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
8629
|
-
//#region src/node/cli-commands.d.ts
|
|
8630
|
-
interface StartOptions {
|
|
8631
|
-
root?: string;
|
|
8632
|
-
config?: string;
|
|
8633
|
-
host: string;
|
|
8634
|
-
port?: string | number;
|
|
8635
|
-
open?: boolean;
|
|
8636
|
-
}
|
|
8637
|
-
//#endregion
|
|
8638
8479
|
//#region ../../node_modules/.pnpm/@tsdown+exe@0.21.7_tsdown@0.21.7/node_modules/@tsdown/exe/dist/index.d.mts
|
|
8639
8480
|
//#region src/platform.d.ts
|
|
8640
8481
|
type ExePlatform = "win" | "darwin" | "linux";
|
|
@@ -20896,7 +20737,192 @@ type TsConfigJson = {
|
|
|
20896
20737
|
references?: TsConfigJson.References[];
|
|
20897
20738
|
};
|
|
20898
20739
|
//#endregion
|
|
20899
|
-
//#region ../../node_modules/.pnpm/
|
|
20740
|
+
//#region ../../node_modules/.pnpm/unplugin@2.3.11/node_modules/unplugin/dist/index.d.ts
|
|
20741
|
+
/**
|
|
20742
|
+
* Array, or not yet
|
|
20743
|
+
*/
|
|
20744
|
+
type Arrayable<T> = T | Array<T>;
|
|
20745
|
+
type StringOrRegExp = string | RegExp;
|
|
20746
|
+
type FilterPattern = Arrayable<StringOrRegExp>;
|
|
20747
|
+
//#endregion
|
|
20748
|
+
//#region ../../node_modules/.pnpm/unplugin-unused@0.5.6/node_modules/unplugin-unused/dist/options-CGknhUOq.d.mts
|
|
20749
|
+
//#region src/core/options.d.ts
|
|
20750
|
+
type DepKind = "dependencies" | "devDependencies" | "peerDependencies";
|
|
20751
|
+
interface Options {
|
|
20752
|
+
root?: string;
|
|
20753
|
+
include?: FilterPattern;
|
|
20754
|
+
exclude?: FilterPattern;
|
|
20755
|
+
ignore?: string[] | Partial<Record<DepKind, string[]>>;
|
|
20756
|
+
/**
|
|
20757
|
+
* @default 'warning'
|
|
20758
|
+
*/
|
|
20759
|
+
level?: "warning" | "error";
|
|
20760
|
+
/**
|
|
20761
|
+
* @default ['dependencies', 'peerDependencies']
|
|
20762
|
+
*/
|
|
20763
|
+
depKinds?: Array<DepKind>;
|
|
20764
|
+
}
|
|
20765
|
+
//#endregion
|
|
20766
|
+
//#region ../../node_modules/.pnpm/@tsdown+css@0.21.7_jiti@2.6.1_postcss-import@16.1.1_postcss@8.5.8__postcss-modules@6.0._7a7c293bbd3467c2ea19763f48e96eac/node_modules/@tsdown/css/dist/index.d.mts
|
|
20767
|
+
//#region src/options.d.ts
|
|
20768
|
+
type LightningCSSOptions = Omit<TransformOptions<any>, "filename" | "code">;
|
|
20769
|
+
interface CSSModulesOptions {
|
|
20770
|
+
/**
|
|
20771
|
+
* Controls the scoping behavior.
|
|
20772
|
+
* @default 'local'
|
|
20773
|
+
*/
|
|
20774
|
+
scopeBehaviour?: "global" | "local";
|
|
20775
|
+
/**
|
|
20776
|
+
* File paths matching these patterns will use global scoping.
|
|
20777
|
+
*/
|
|
20778
|
+
globalModulePaths?: RegExp[];
|
|
20779
|
+
/**
|
|
20780
|
+
* Pattern or function to generate scoped class names.
|
|
20781
|
+
* When using `transformer: 'lightningcss'`, only string patterns are supported.
|
|
20782
|
+
*/
|
|
20783
|
+
generateScopedName?: string | ((name: string, filename: string, css: string) => string);
|
|
20784
|
+
/**
|
|
20785
|
+
* Prefix added to hashes when generating scoped names.
|
|
20786
|
+
*/
|
|
20787
|
+
hashPrefix?: string;
|
|
20788
|
+
/**
|
|
20789
|
+
* Transform convention for exported class names.
|
|
20790
|
+
*/
|
|
20791
|
+
localsConvention?: "camelCase" | "camelCaseOnly" | "dashes" | "dashesOnly";
|
|
20792
|
+
/**
|
|
20793
|
+
* Whether to include global class names in the export.
|
|
20794
|
+
*/
|
|
20795
|
+
exportGlobals?: boolean;
|
|
20796
|
+
/**
|
|
20797
|
+
* Callback to receive the generated class name mappings.
|
|
20798
|
+
*/
|
|
20799
|
+
getJSON?: (cssFileName: string, json: Record<string, string>, outputFileName: string) => void;
|
|
20800
|
+
}
|
|
20801
|
+
interface CssOptions {
|
|
20802
|
+
/**
|
|
20803
|
+
* Enable/disable CSS code splitting.
|
|
20804
|
+
* When set to `false`, all CSS in the entire project will be extracted into a single CSS file named by {@link fileName}.
|
|
20805
|
+
* When set to `true`, CSS imported in async JS chunks will be preserved as chunks.
|
|
20806
|
+
*
|
|
20807
|
+
* Defaults to `false`, but if `unbundle` is `true`, it defaults to `true` to preserve chunk splitting.
|
|
20808
|
+
*/
|
|
20809
|
+
splitting?: boolean;
|
|
20810
|
+
/**
|
|
20811
|
+
* Specify the name of the CSS file generated when `splitting` is `false`.
|
|
20812
|
+
* @default 'style.css'
|
|
20813
|
+
*/
|
|
20814
|
+
fileName?: string;
|
|
20815
|
+
/**
|
|
20816
|
+
* Set the target environment for CSS syntax lowering.
|
|
20817
|
+
* Accepts esbuild-style target strings (e.g., `'chrome99'`, `'safari16.2'`).
|
|
20818
|
+
* Defaults to the top-level `target` option.
|
|
20819
|
+
*
|
|
20820
|
+
* @see https://vite.dev/config/build-options#build-csstarget
|
|
20821
|
+
*/
|
|
20822
|
+
target?: string | string[] | false;
|
|
20823
|
+
/**
|
|
20824
|
+
* Options for CSS preprocessors (Sass/Less/Stylus).
|
|
20825
|
+
*
|
|
20826
|
+
* In addition to options specific to each processor, `additionalData` option
|
|
20827
|
+
* can be used to inject extra code for each style content.
|
|
20828
|
+
*/
|
|
20829
|
+
preprocessorOptions?: PreprocessorOptions;
|
|
20830
|
+
/**
|
|
20831
|
+
* Enable/disable CSS minification.
|
|
20832
|
+
*
|
|
20833
|
+
* @default false
|
|
20834
|
+
*/
|
|
20835
|
+
minify?: boolean;
|
|
20836
|
+
/**
|
|
20837
|
+
* Lightning CSS options for CSS syntax lowering and transformations.
|
|
20838
|
+
*/
|
|
20839
|
+
lightningcss?: LightningCSSOptions;
|
|
20840
|
+
/**
|
|
20841
|
+
* PostCSS configuration.
|
|
20842
|
+
*
|
|
20843
|
+
* - `string`: Path to the directory to search for PostCSS config files.
|
|
20844
|
+
* - `object`: Inline PostCSS options with optional `plugins` array.
|
|
20845
|
+
* - Omitted: Auto-detect PostCSS config from the project root.
|
|
20846
|
+
*
|
|
20847
|
+
* Only used when `transformer` is `'postcss'`.
|
|
20848
|
+
* Requires `postcss` to be installed.
|
|
20849
|
+
*
|
|
20850
|
+
* @see https://github.com/postcss/postcss
|
|
20851
|
+
*/
|
|
20852
|
+
postcss?: PostCSSOptions;
|
|
20853
|
+
/**
|
|
20854
|
+
* When enabled, JS output preserves import statements pointing to emitted CSS files.
|
|
20855
|
+
* Consumers of the library will automatically import the CSS alongside the JS.
|
|
20856
|
+
*
|
|
20857
|
+
* @default false
|
|
20858
|
+
*/
|
|
20859
|
+
inject?: boolean;
|
|
20860
|
+
/**
|
|
20861
|
+
* CSS modules configuration.
|
|
20862
|
+
* When not `false`, `.module.css` files (and preprocessor variants) are
|
|
20863
|
+
* treated as CSS modules with scoped class names.
|
|
20864
|
+
*
|
|
20865
|
+
* @see https://github.com/css-modules/css-modules
|
|
20866
|
+
*/
|
|
20867
|
+
modules?: CSSModulesOptions | false;
|
|
20868
|
+
/**
|
|
20869
|
+
* CSS transformer to use. Controls how CSS is processed:
|
|
20870
|
+
*
|
|
20871
|
+
* - `'lightningcss'` (default): `@import` handled by Lightning CSS
|
|
20872
|
+
* `bundleAsync()`, PostCSS is **not** used at all.
|
|
20873
|
+
* - `'postcss'`: `@import` handled by `postcss-import`,
|
|
20874
|
+
* PostCSS plugins applied, Lightning CSS used only for final
|
|
20875
|
+
* targets/minify transform.
|
|
20876
|
+
*
|
|
20877
|
+
* @default 'lightningcss'
|
|
20878
|
+
* @see https://vite.dev/config/shared-options#css-transformer
|
|
20879
|
+
*/
|
|
20880
|
+
transformer?: "postcss" | "lightningcss";
|
|
20881
|
+
}
|
|
20882
|
+
type PostCSSOptions = string | (Record<string, any> & {
|
|
20883
|
+
plugins?: any[];
|
|
20884
|
+
});
|
|
20885
|
+
interface PreprocessorOptions {
|
|
20886
|
+
scss?: SassPreprocessorOptions;
|
|
20887
|
+
sass?: SassPreprocessorOptions;
|
|
20888
|
+
less?: LessPreprocessorOptions;
|
|
20889
|
+
styl?: StylusPreprocessorOptions;
|
|
20890
|
+
stylus?: StylusPreprocessorOptions;
|
|
20891
|
+
}
|
|
20892
|
+
type PreprocessorAdditionalDataResult = string | {
|
|
20893
|
+
content: string;
|
|
20894
|
+
map?: any;
|
|
20895
|
+
};
|
|
20896
|
+
type PreprocessorAdditionalData = string | ((source: string, filename: string) => PreprocessorAdditionalDataResult | Promise<PreprocessorAdditionalDataResult>);
|
|
20897
|
+
interface SassPreprocessorOptions {
|
|
20898
|
+
additionalData?: PreprocessorAdditionalData;
|
|
20899
|
+
[key: string]: any;
|
|
20900
|
+
}
|
|
20901
|
+
interface LessPreprocessorOptions {
|
|
20902
|
+
additionalData?: PreprocessorAdditionalData;
|
|
20903
|
+
math?: any;
|
|
20904
|
+
paths?: string[];
|
|
20905
|
+
plugins?: any[];
|
|
20906
|
+
[key: string]: any;
|
|
20907
|
+
}
|
|
20908
|
+
interface StylusPreprocessorOptions {
|
|
20909
|
+
additionalData?: PreprocessorAdditionalData;
|
|
20910
|
+
define?: Record<string, any>;
|
|
20911
|
+
paths?: string[];
|
|
20912
|
+
[key: string]: any;
|
|
20913
|
+
}
|
|
20914
|
+
//#endregion
|
|
20915
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.13_@pnpm+logger@1001.0.1_typescript@5.9.3_vite@packages+core/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
20916
|
+
//#region src/node/cli-commands.d.ts
|
|
20917
|
+
interface StartOptions {
|
|
20918
|
+
root?: string;
|
|
20919
|
+
config?: string;
|
|
20920
|
+
host: string;
|
|
20921
|
+
port?: string | number;
|
|
20922
|
+
open?: boolean;
|
|
20923
|
+
}
|
|
20924
|
+
//#endregion
|
|
20925
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_c04da8307f1378ebab12d63d21f95af6/node_modules/rolldown-plugin-dts/dist/index.d.mts
|
|
20900
20926
|
//#region src/options.d.ts
|
|
20901
20927
|
interface GeneralOptions {
|
|
20902
20928
|
/**
|
|
@@ -21096,33 +21122,7 @@ interface TsgoOptions {
|
|
|
21096
21122
|
path?: string;
|
|
21097
21123
|
}
|
|
21098
21124
|
//#endregion
|
|
21099
|
-
//#region ../../node_modules/.pnpm/
|
|
21100
|
-
/**
|
|
21101
|
-
* Array, or not yet
|
|
21102
|
-
*/
|
|
21103
|
-
type Arrayable<T> = T | Array<T>;
|
|
21104
|
-
type StringOrRegExp = string | RegExp;
|
|
21105
|
-
type FilterPattern = Arrayable<StringOrRegExp>;
|
|
21106
|
-
//#endregion
|
|
21107
|
-
//#region ../../node_modules/.pnpm/unplugin-unused@0.5.6/node_modules/unplugin-unused/dist/options-CGknhUOq.d.mts
|
|
21108
|
-
//#region src/core/options.d.ts
|
|
21109
|
-
type DepKind = "dependencies" | "devDependencies" | "peerDependencies";
|
|
21110
|
-
interface Options {
|
|
21111
|
-
root?: string;
|
|
21112
|
-
include?: FilterPattern;
|
|
21113
|
-
exclude?: FilterPattern;
|
|
21114
|
-
ignore?: string[] | Partial<Record<DepKind, string[]>>;
|
|
21115
|
-
/**
|
|
21116
|
-
* @default 'warning'
|
|
21117
|
-
*/
|
|
21118
|
-
level?: "warning" | "error";
|
|
21119
|
-
/**
|
|
21120
|
-
* @default ['dependencies', 'peerDependencies']
|
|
21121
|
-
*/
|
|
21122
|
-
depKinds?: Array<DepKind>;
|
|
21123
|
-
}
|
|
21124
|
-
//#endregion
|
|
21125
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_f4ea40ca957034c1fa8bb4b9c4426b84/node_modules/tsdown/dist/types-DD-uKQPn.d.mts
|
|
21125
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/types-DD-uKQPn.d.mts
|
|
21126
21126
|
//#region src/features/copy.d.ts
|
|
21127
21127
|
interface CopyEntry {
|
|
21128
21128
|
/**
|
|
@@ -22283,7 +22283,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
|
|
|
22283
22283
|
exe: false | ExeOptions;
|
|
22284
22284
|
}>; //#endregion
|
|
22285
22285
|
//#endregion
|
|
22286
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
22286
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/config-BJiwtsMo.d.mts
|
|
22287
22287
|
//#region src/config/options.d.ts
|
|
22288
22288
|
/**
|
|
22289
22289
|
* Resolve user config into resolved configs
|
|
@@ -22303,7 +22303,7 @@ declare function defineConfig(options: UserConfig[]): UserConfig[];
|
|
|
22303
22303
|
declare function defineConfig(options: UserConfigFn): UserConfigFn;
|
|
22304
22304
|
declare function defineConfig(options: UserConfigExport): UserConfigExport; //#endregion
|
|
22305
22305
|
//#endregion
|
|
22306
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
22306
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/index.d.mts
|
|
22307
22307
|
//#region src/build.d.ts
|
|
22308
22308
|
/**
|
|
22309
22309
|
* Build with tsdown.
|
package/dist/tsdown/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as globalLogger } from "./main-
|
|
2
|
-
import { t as enableDebug } from "./debug-BmAPbhgA-
|
|
3
|
-
import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-DU-BFLB1-
|
|
1
|
+
import { c as globalLogger } from "./main-CC95VQtR.js";
|
|
2
|
+
import { t as enableDebug } from "./debug-BmAPbhgA-ClibQzj1.js";
|
|
3
|
+
import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-DU-BFLB1-B3WPwpFM.js";
|
|
4
4
|
import * as Rolldown from "@voidzero-dev/vite-plus-core/rolldown";
|
|
5
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
5
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/config.mjs
|
|
6
6
|
function defineConfig(options) {
|
|
7
7
|
return options;
|
|
8
8
|
}
|
|
@@ -5,7 +5,7 @@ import readline from "node:readline";
|
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
6
6
|
import { delimiter, dirname, normalize, resolve } from "node:path";
|
|
7
7
|
import { PassThrough } from "node:stream";
|
|
8
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
8
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/general-D3muxt2f.mjs
|
|
9
9
|
const picomatch = createRequire(import.meta.url)("picomatch");
|
|
10
10
|
function toArray(val, defaultValue) {
|
|
11
11
|
if (Array.isArray(val)) return val;
|
|
@@ -169,7 +169,7 @@ const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible,
|
|
|
169
169
|
module.exports = w, w.default = w;
|
|
170
170
|
})))(), 1)).default;
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
172
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/logger-uV8l1UFa.mjs
|
|
173
173
|
const LogLevels = {
|
|
174
174
|
silent: 0,
|
|
175
175
|
error: 1,
|
|
@@ -293,7 +293,7 @@ function hue2rgb(p, q, t) {
|
|
|
293
293
|
return p;
|
|
294
294
|
}
|
|
295
295
|
//#endregion
|
|
296
|
-
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@
|
|
296
|
+
//#region ../../node_modules/.pnpm/tsdown@0.21.7_@arethetypeswrong+core@0.18.2_@tsdown+css@0.21.7_@tsdown+exe@0.21.7_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/package-CBgnLfjl.mjs
|
|
297
297
|
var version = "0.21.7";
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region ../../node_modules/.pnpm/tinyexec@1.0.4/node_modules/tinyexec/dist/main.mjs
|
package/dist/tsdown/run.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as yellow, c as globalLogger, m as hex, r as version, t as R, u as blue } from "./main-
|
|
3
|
-
import { t as enableDebug } from "./debug-BmAPbhgA-
|
|
2
|
+
import { _ as yellow, c as globalLogger, m as hex, r as version, t as R, u as blue } from "./main-CC95VQtR.js";
|
|
3
|
+
import { t as enableDebug } from "./debug-BmAPbhgA-ClibQzj1.js";
|
|
4
4
|
import module, { createRequire } from "node:module";
|
|
5
5
|
import process$1 from "node:process";
|
|
6
6
|
import { VERSION } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
@@ -630,7 +630,7 @@ cli.command("[...files]", "Bundle files", {
|
|
|
630
630
|
}).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate export-related metadata for package.json (experimental)").action(async (input, flags) => {
|
|
631
631
|
globalLogger.level = flags.logLevel || "info";
|
|
632
632
|
globalLogger.info(`${blue`tsdown v${version}`} powered by ${hex("#ff7e17")`rolldown v${VERSION}`}`);
|
|
633
|
-
const { build } = await import("./build-DU-BFLB1-
|
|
633
|
+
const { build } = await import("./build-DU-BFLB1-DhRv5Umu.js").then((n) => n.r);
|
|
634
634
|
if (input.length > 0) flags.entry = input;
|
|
635
635
|
await build(flags);
|
|
636
636
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
2
|
-
import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-DQnUJlio-
|
|
3
|
-
import { n as globalContext } from "./tsc-context-
|
|
2
|
+
import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-DQnUJlio-smVMy5Ot.js";
|
|
3
|
+
import { n as globalContext } from "./tsc-context-BEcA6aUv.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createDebug } from "./node-B3Gdtau1.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-
|
|
3
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_c04da8307f1378ebab12d63d21f95af6/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
|
|
4
4
|
const debug = createDebug("rolldown-plugin-dts:tsc-context");
|
|
5
5
|
function createContext() {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
|
-
//#region \0@oxc-project+runtime@0.
|
|
2
|
+
//#region \0@oxc-project+runtime@0.123.0/helpers/typeof.js
|
|
3
3
|
function _typeof(o) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
5
5
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -9,7 +9,7 @@ function _typeof(o) {
|
|
|
9
9
|
}, _typeof(o);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.123.0/helpers/toPrimitive.js
|
|
13
13
|
function toPrimitive(t, r) {
|
|
14
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
15
|
var e = t[Symbol.toPrimitive];
|
|
@@ -21,13 +21,13 @@ function toPrimitive(t, r) {
|
|
|
21
21
|
return ("string" === r ? String : Number)(t);
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region \0@oxc-project+runtime@0.
|
|
24
|
+
//#region \0@oxc-project+runtime@0.123.0/helpers/toPropertyKey.js
|
|
25
25
|
function toPropertyKey(t) {
|
|
26
26
|
var i = toPrimitive(t, "string");
|
|
27
27
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.123.0/helpers/defineProperty.js
|
|
31
31
|
function _defineProperty(e, r, t) {
|
|
32
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
33
|
value: t,
|
|
@@ -3870,6 +3870,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3870
3870
|
onError(token, "UNEXPECTED_TOKEN", token.message);
|
|
3871
3871
|
length += token.source.length;
|
|
3872
3872
|
break;
|
|
3873
|
+
/* istanbul ignore next should not happen */
|
|
3873
3874
|
default: {
|
|
3874
3875
|
onError(token, "UNEXPECTED_TOKEN", `Unexpected token in block scalar header: ${token.type}`);
|
|
3875
3876
|
const ts = token.source;
|
|
@@ -3919,6 +3920,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3919
3920
|
_type = Scalar.Scalar.QUOTE_DOUBLE;
|
|
3920
3921
|
value = doubleQuotedValue(source, _onError);
|
|
3921
3922
|
break;
|
|
3923
|
+
/* istanbul ignore next should not happen */
|
|
3922
3924
|
default:
|
|
3923
3925
|
onError(scalar, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${type}`);
|
|
3924
3926
|
return {
|
|
@@ -3948,6 +3950,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3948
3950
|
function plainValue(source, onError) {
|
|
3949
3951
|
let badChar = "";
|
|
3950
3952
|
switch (source[0]) {
|
|
3953
|
+
/* istanbul ignore next should not happen */
|
|
3951
3954
|
case " ":
|
|
3952
3955
|
badChar = "a tab character";
|
|
3953
3956
|
break;
|
|
@@ -5604,6 +5607,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5604
5607
|
return it.sep ?? it.start;
|
|
5605
5608
|
}
|
|
5606
5609
|
case "block-seq": return parent.items[parent.items.length - 1].start;
|
|
5610
|
+
/* istanbul ignore next should not happen */
|
|
5607
5611
|
default: return [];
|
|
5608
5612
|
}
|
|
5609
5613
|
}
|
|
@@ -5856,6 +5860,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5856
5860
|
});
|
|
5857
5861
|
return;
|
|
5858
5862
|
}
|
|
5863
|
+
/* istanbul ignore next should not happen */
|
|
5859
5864
|
default:
|
|
5860
5865
|
yield* this.pop();
|
|
5861
5866
|
yield* this.pop(token);
|
|
@@ -5973,6 +5978,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5973
5978
|
}
|
|
5974
5979
|
yield* this.pop();
|
|
5975
5980
|
break;
|
|
5981
|
+
/* istanbul ignore next should not happen */
|
|
5976
5982
|
default:
|
|
5977
5983
|
yield* this.pop();
|
|
5978
5984
|
yield* this.step();
|
|
@@ -31,7 +31,7 @@ import { GeneralImportGlobOptions, ImportGlobFunction, ImportGlobOptions, KnownA
|
|
|
31
31
|
|
|
32
32
|
//#region \0rolldown/runtime.js
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region ../../../node_modules/.pnpm/@vitejs+devtools@0.1.
|
|
34
|
+
//#region ../../../node_modules/.pnpm/@vitejs+devtools@0.1.13_@pnpm+logger@1001.0.1_typescript@6.0.2_vite@packages+core/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
35
35
|
//#region src/node/cli-commands.d.ts
|
|
36
36
|
interface StartOptions {
|
|
37
37
|
root?: string;
|
|
@@ -41,7 +41,7 @@ interface StartOptions {
|
|
|
41
41
|
open?: boolean;
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
|
-
//#region ../../../node_modules/.pnpm/@vitejs+devtools@0.1.
|
|
44
|
+
//#region ../../../node_modules/.pnpm/@vitejs+devtools@0.1.13_@pnpm+logger@1001.0.1_typescript@6.0.2_vite@packages+core/node_modules/@vitejs/devtools/dist/config.d.ts
|
|
45
45
|
//#region src/node/config.d.ts
|
|
46
46
|
interface DevToolsConfig extends Partial<StartOptions> {
|
|
47
47
|
enabled: boolean;
|