@voidzero-dev/vite-plus-core 0.1.16-alpha.3 → 0.1.16

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.
@@ -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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/logger-DLaktdLm.d.mts
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_8e1769edffc9fa38659393584fb9975c/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,6 +8476,165 @@ 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._97ab2205292bbf461c73b19c3ab34649/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.13_@pnpm+logger@1001.0.1_typescript@6.0.2_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
8479
8638
  //#region ../../node_modules/.pnpm/@tsdown+exe@0.21.7_tsdown@0.21.7/node_modules/@tsdown/exe/dist/index.d.mts
8480
8639
  //#region src/platform.d.ts
8481
8640
  type ExePlatform = "win" | "darwin" | "linux";
@@ -20737,192 +20896,7 @@ type TsConfigJson = {
20737
20896
  references?: TsConfigJson.References[];
20738
20897
  };
20739
20898
  //#endregion
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
20899
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_a1b917fb2cc1517960b8c67ff7a07c16/node_modules/rolldown-plugin-dts/dist/index.d.mts
20926
20900
  //#region src/options.d.ts
20927
20901
  interface GeneralOptions {
20928
20902
  /**
@@ -21122,7 +21096,33 @@ interface TsgoOptions {
21122
21096
  path?: string;
21123
21097
  }
21124
21098
  //#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_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/types-DD-uKQPn.d.mts
21099
+ //#region ../../node_modules/.pnpm/unplugin@2.3.11/node_modules/unplugin/dist/index.d.ts
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_8e1769edffc9fa38659393584fb9975c/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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/config-BJiwtsMo.d.mts
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_8e1769edffc9fa38659393584fb9975c/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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/index.d.mts
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_8e1769edffc9fa38659393584fb9975c/node_modules/tsdown/dist/index.d.mts
22307
22307
  //#region src/build.d.ts
22308
22308
  /**
22309
22309
  * Build with tsdown.
@@ -1,8 +1,8 @@
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";
1
+ import { c as globalLogger } from "./main-wrcIC7dd.js";
2
+ import { t as enableDebug } from "./debug-BmAPbhgA-CHpocWMm.js";
3
+ import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-DU-BFLB1-BZ80XpcX.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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/config.mjs
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_8e1769edffc9fa38659393584fb9975c/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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/general-D3muxt2f.mjs
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_8e1769edffc9fa38659393584fb9975c/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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/logger-uV8l1UFa.mjs
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_8e1769edffc9fa38659393584fb9975c/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_@type_1d7f06c329f60405b9b915ac0abfe958/node_modules/tsdown/dist/package-CBgnLfjl.mjs
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_8e1769edffc9fa38659393584fb9975c/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
@@ -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-CC95VQtR.js";
3
- import { t as enableDebug } from "./debug-BmAPbhgA-ClibQzj1.js";
2
+ import { _ as yellow, c as globalLogger, m as hex, r as version, t as R, u as blue } from "./main-wrcIC7dd.js";
3
+ import { t as enableDebug } from "./debug-BmAPbhgA-CHpocWMm.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-DhRv5Umu.js").then((n) => n.r);
633
+ const { build } = await import("./build-DU-BFLB1-Dm3Ve-Np.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-smVMy5Ot.js";
3
- import { n as globalContext } from "./tsc-context-BEcA6aUv.js";
2
+ import { n as RE_DTS, r as RE_DTS_MAP } from "./filename-DQnUJlio-D58wGDtS.js";
3
+ import { n as globalContext } from "./tsc-context-Dban9z4Z.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-resolver_c04da8307f1378ebab12d63d21f95af6/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
3
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.23.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_a1b917fb2cc1517960b8c67ff7a07c16/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,8 @@
1
1
  /// <reference path="./types/importMeta.d.ts" />
2
2
 
3
+ // virtual modules
4
+ declare module 'vite/modulepreload-polyfill' {}
5
+
3
6
  // CSS modules
4
7
  type CSSModuleClasses = { readonly [key: string]: string }
5
8
 
@@ -72,7 +72,7 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
72
72
  }));
73
73
  //#endregion
74
74
  //#region ../../vite/packages/vite/package.json
75
- var version = "8.0.3";
75
+ var version = "8.0.5";
76
76
  //#endregion
77
77
  //#region ../../vite/packages/vite/src/node/constants.ts
78
78
  const ROLLUP_HOOKS = [
@@ -8,34 +8,34 @@ interface FetchFunctionOptions {
8
8
  type FetchResult = CachedFetchResult | ExternalFetchResult | ViteFetchResult;
9
9
  interface CachedFetchResult {
10
10
  /**
11
- * If module cached in the runner, we can just confirm
12
- * it wasn't invalidated on the server side.
11
+ * If the module is cached in the runner, this confirms
12
+ * it was not invalidated on the server side.
13
13
  */
14
14
  cache: true;
15
15
  }
16
16
  interface ExternalFetchResult {
17
17
  /**
18
- * The path to the externalized module starting with file://,
19
- * by default this will be imported via a dynamic "import"
20
- * instead of being transformed by vite and loaded with vite runner
18
+ * The path to the externalized module starting with file://.
19
+ * By default this will be imported via a dynamic "import"
20
+ * instead of being transformed by Vite and loaded with the Vite runner.
21
21
  */
22
22
  externalize: string;
23
23
  /**
24
- * Type of the module. Will be used to determine if import statement is correct.
25
- * For example, if Vite needs to throw an error if variable is not actually exported
24
+ * Type of the module. Used to determine if the import statement is correct.
25
+ * For example, if Vite needs to throw an error if a variable is not actually exported.
26
26
  */
27
27
  type: "module" | "commonjs" | "builtin" | "network";
28
28
  }
29
29
  interface ViteFetchResult {
30
30
  /**
31
- * Code that will be evaluated by vite runner
32
- * by default this will be wrapped in an async function
31
+ * Code that will be evaluated by the Vite runner.
32
+ * By default this will be wrapped in an async function.
33
33
  */
34
34
  code: string;
35
35
  /**
36
36
  * File path of the module on disk.
37
- * This will be resolved as import.meta.url/filename
38
- * Will be equal to `null` for virtual modules
37
+ * This will be resolved as import.meta.url/filename.
38
+ * Will be `null` for virtual modules.
39
39
  */
40
40
  file: string | null;
41
41
  /**