3105
									
								
								node_modules/@vitejs/plugin-vue/dist/index.cjs
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3105
									
								
								node_modules/@vitejs/plugin-vue/dist/index.cjs
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										113
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.cts
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										113
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.cts
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,113 +0,0 @@
 | 
			
		||||
import { Plugin, ViteDevServer } from 'vite';
 | 
			
		||||
import * as _compiler from 'vue/compiler-sfc';
 | 
			
		||||
import { SFCScriptCompileOptions, SFCTemplateCompileOptions, SFCStyleCompileOptions } from 'vue/compiler-sfc';
 | 
			
		||||
 | 
			
		||||
interface VueQuery {
 | 
			
		||||
    vue?: boolean;
 | 
			
		||||
    src?: string;
 | 
			
		||||
    type?: 'script' | 'template' | 'style' | 'custom';
 | 
			
		||||
    index?: number;
 | 
			
		||||
    lang?: string;
 | 
			
		||||
    raw?: boolean;
 | 
			
		||||
    url?: boolean;
 | 
			
		||||
    scoped?: boolean;
 | 
			
		||||
    id?: string;
 | 
			
		||||
}
 | 
			
		||||
declare function parseVueRequest(id: string): {
 | 
			
		||||
    filename: string;
 | 
			
		||||
    query: VueQuery;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
interface Options {
 | 
			
		||||
    include?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
    exclude?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
    /**
 | 
			
		||||
     * In Vite, this option follows Vite's config.
 | 
			
		||||
     */
 | 
			
		||||
    isProduction?: boolean;
 | 
			
		||||
    script?: Partial<Omit<SFCScriptCompileOptions, 'id' | 'isProd' | 'inlineTemplate' | 'templateOptions' | 'sourceMap' | 'genDefaultAs' | 'customElement' | 'defineModel' | 'propsDestructure'>> & {
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated defineModel is now a stable feature and always enabled if
 | 
			
		||||
         * using Vue 3.4 or above.
 | 
			
		||||
         */
 | 
			
		||||
        defineModel?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated moved to `features.propsDestructure`.
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
    };
 | 
			
		||||
    template?: Partial<Omit<SFCTemplateCompileOptions, 'id' | 'source' | 'ast' | 'filename' | 'scoped' | 'slotted' | 'isProd' | 'inMap' | 'ssr' | 'ssrCssVars' | 'preprocessLang'>>;
 | 
			
		||||
    style?: Partial<Omit<SFCStyleCompileOptions, 'filename' | 'id' | 'isProd' | 'source' | 'scoped' | 'cssDevSourcemap' | 'postcssOptions' | 'map' | 'postcssPlugins' | 'preprocessCustomRequire' | 'preprocessLang' | 'preprocessOptions'>>;
 | 
			
		||||
    /**
 | 
			
		||||
     * Use custom compiler-sfc instance. Can be used to force a specific version.
 | 
			
		||||
     */
 | 
			
		||||
    compiler?: typeof _compiler;
 | 
			
		||||
    /**
 | 
			
		||||
     * Requires @vitejs/plugin-vue@^5.1.0
 | 
			
		||||
     */
 | 
			
		||||
    features?: {
 | 
			
		||||
        /**
 | 
			
		||||
         * Enable reactive destructure for `defineProps`.
 | 
			
		||||
         * - Available in Vue 3.4 and later.
 | 
			
		||||
         * - **default:** `false` in Vue 3.4 (**experimental**), `true` in Vue 3.5+
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Transform Vue SFCs into custom elements.
 | 
			
		||||
         * - `true`: all `*.vue` imports are converted into custom elements
 | 
			
		||||
         * - `string | RegExp`: matched files are converted into custom elements
 | 
			
		||||
         * - **default:** /\.ce\.vue$/
 | 
			
		||||
         */
 | 
			
		||||
        customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `false` to disable Options API support and allow related code in
 | 
			
		||||
         * Vue core to be dropped via dead-code elimination in production builds,
 | 
			
		||||
         * resulting in smaller bundles.
 | 
			
		||||
         * - **default:** `true`
 | 
			
		||||
         */
 | 
			
		||||
        optionsAPI?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable devtools support in production builds.
 | 
			
		||||
         * Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodDevtools?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable detailed information for hydration mismatch
 | 
			
		||||
         * errors in production builds. Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodHydrationMismatchDetails?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Customize the component ID generation strategy.
 | 
			
		||||
         * - `'filepath'`: hash the file path (relative to the project root)
 | 
			
		||||
         * - `'filepath-source'`: hash the file path and the source code
 | 
			
		||||
         * - `function`: custom function that takes the file path, source code,
 | 
			
		||||
         *   whether in production mode, and the default hash function as arguments
 | 
			
		||||
         * - **default:** `'filepath'` in development, `'filepath-source'` in production
 | 
			
		||||
         */
 | 
			
		||||
        componentIdGenerator?: 'filepath' | 'filepath-source' | ((filepath: string, source: string, isProduction: boolean | undefined, getHash: (text: string) => string) => string);
 | 
			
		||||
    };
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated moved to `features.customElement`.
 | 
			
		||||
     */
 | 
			
		||||
    customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
}
 | 
			
		||||
interface ResolvedOptions extends Options {
 | 
			
		||||
    compiler: typeof _compiler;
 | 
			
		||||
    root: string;
 | 
			
		||||
    sourceMap: boolean;
 | 
			
		||||
    cssDevSourcemap: boolean;
 | 
			
		||||
    devServer?: ViteDevServer;
 | 
			
		||||
    devToolsEnabled?: boolean;
 | 
			
		||||
}
 | 
			
		||||
interface Api {
 | 
			
		||||
    get options(): ResolvedOptions;
 | 
			
		||||
    set options(value: ResolvedOptions);
 | 
			
		||||
    version: string;
 | 
			
		||||
}
 | 
			
		||||
declare function vuePlugin(rawOptions?: Options): Plugin<Api>;
 | 
			
		||||
 | 
			
		||||
// @ts-ignore
 | 
			
		||||
export = vuePlugin;
 | 
			
		||||
export { type Api, type Options, type ResolvedOptions, type VueQuery, parseVueRequest };
 | 
			
		||||
							
								
								
									
										111
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.mts
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										111
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.mts
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,111 +0,0 @@
 | 
			
		||||
import { Plugin, ViteDevServer } from 'vite';
 | 
			
		||||
import * as _compiler from 'vue/compiler-sfc';
 | 
			
		||||
import { SFCScriptCompileOptions, SFCTemplateCompileOptions, SFCStyleCompileOptions } from 'vue/compiler-sfc';
 | 
			
		||||
 | 
			
		||||
interface VueQuery {
 | 
			
		||||
    vue?: boolean;
 | 
			
		||||
    src?: string;
 | 
			
		||||
    type?: 'script' | 'template' | 'style' | 'custom';
 | 
			
		||||
    index?: number;
 | 
			
		||||
    lang?: string;
 | 
			
		||||
    raw?: boolean;
 | 
			
		||||
    url?: boolean;
 | 
			
		||||
    scoped?: boolean;
 | 
			
		||||
    id?: string;
 | 
			
		||||
}
 | 
			
		||||
declare function parseVueRequest(id: string): {
 | 
			
		||||
    filename: string;
 | 
			
		||||
    query: VueQuery;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
interface Options {
 | 
			
		||||
    include?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
    exclude?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
    /**
 | 
			
		||||
     * In Vite, this option follows Vite's config.
 | 
			
		||||
     */
 | 
			
		||||
    isProduction?: boolean;
 | 
			
		||||
    script?: Partial<Omit<SFCScriptCompileOptions, 'id' | 'isProd' | 'inlineTemplate' | 'templateOptions' | 'sourceMap' | 'genDefaultAs' | 'customElement' | 'defineModel' | 'propsDestructure'>> & {
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated defineModel is now a stable feature and always enabled if
 | 
			
		||||
         * using Vue 3.4 or above.
 | 
			
		||||
         */
 | 
			
		||||
        defineModel?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated moved to `features.propsDestructure`.
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
    };
 | 
			
		||||
    template?: Partial<Omit<SFCTemplateCompileOptions, 'id' | 'source' | 'ast' | 'filename' | 'scoped' | 'slotted' | 'isProd' | 'inMap' | 'ssr' | 'ssrCssVars' | 'preprocessLang'>>;
 | 
			
		||||
    style?: Partial<Omit<SFCStyleCompileOptions, 'filename' | 'id' | 'isProd' | 'source' | 'scoped' | 'cssDevSourcemap' | 'postcssOptions' | 'map' | 'postcssPlugins' | 'preprocessCustomRequire' | 'preprocessLang' | 'preprocessOptions'>>;
 | 
			
		||||
    /**
 | 
			
		||||
     * Use custom compiler-sfc instance. Can be used to force a specific version.
 | 
			
		||||
     */
 | 
			
		||||
    compiler?: typeof _compiler;
 | 
			
		||||
    /**
 | 
			
		||||
     * Requires @vitejs/plugin-vue@^5.1.0
 | 
			
		||||
     */
 | 
			
		||||
    features?: {
 | 
			
		||||
        /**
 | 
			
		||||
         * Enable reactive destructure for `defineProps`.
 | 
			
		||||
         * - Available in Vue 3.4 and later.
 | 
			
		||||
         * - **default:** `false` in Vue 3.4 (**experimental**), `true` in Vue 3.5+
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Transform Vue SFCs into custom elements.
 | 
			
		||||
         * - `true`: all `*.vue` imports are converted into custom elements
 | 
			
		||||
         * - `string | RegExp`: matched files are converted into custom elements
 | 
			
		||||
         * - **default:** /\.ce\.vue$/
 | 
			
		||||
         */
 | 
			
		||||
        customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `false` to disable Options API support and allow related code in
 | 
			
		||||
         * Vue core to be dropped via dead-code elimination in production builds,
 | 
			
		||||
         * resulting in smaller bundles.
 | 
			
		||||
         * - **default:** `true`
 | 
			
		||||
         */
 | 
			
		||||
        optionsAPI?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable devtools support in production builds.
 | 
			
		||||
         * Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodDevtools?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable detailed information for hydration mismatch
 | 
			
		||||
         * errors in production builds. Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodHydrationMismatchDetails?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Customize the component ID generation strategy.
 | 
			
		||||
         * - `'filepath'`: hash the file path (relative to the project root)
 | 
			
		||||
         * - `'filepath-source'`: hash the file path and the source code
 | 
			
		||||
         * - `function`: custom function that takes the file path, source code,
 | 
			
		||||
         *   whether in production mode, and the default hash function as arguments
 | 
			
		||||
         * - **default:** `'filepath'` in development, `'filepath-source'` in production
 | 
			
		||||
         */
 | 
			
		||||
        componentIdGenerator?: 'filepath' | 'filepath-source' | ((filepath: string, source: string, isProduction: boolean | undefined, getHash: (text: string) => string) => string);
 | 
			
		||||
    };
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated moved to `features.customElement`.
 | 
			
		||||
     */
 | 
			
		||||
    customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
}
 | 
			
		||||
interface ResolvedOptions extends Options {
 | 
			
		||||
    compiler: typeof _compiler;
 | 
			
		||||
    root: string;
 | 
			
		||||
    sourceMap: boolean;
 | 
			
		||||
    cssDevSourcemap: boolean;
 | 
			
		||||
    devServer?: ViteDevServer;
 | 
			
		||||
    devToolsEnabled?: boolean;
 | 
			
		||||
}
 | 
			
		||||
interface Api {
 | 
			
		||||
    get options(): ResolvedOptions;
 | 
			
		||||
    set options(value: ResolvedOptions);
 | 
			
		||||
    version: string;
 | 
			
		||||
}
 | 
			
		||||
declare function vuePlugin(rawOptions?: Options): Plugin<Api>;
 | 
			
		||||
 | 
			
		||||
export { type Api, type Options, type ResolvedOptions, type VueQuery, vuePlugin as default, parseVueRequest };
 | 
			
		||||
							
								
								
									
										193
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										193
									
								
								node_modules/@vitejs/plugin-vue/dist/index.d.ts
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,113 +1,120 @@
 | 
			
		||||
import { Plugin, ViteDevServer } from 'vite';
 | 
			
		||||
import * as _compiler from 'vue/compiler-sfc';
 | 
			
		||||
import { SFCScriptCompileOptions, SFCTemplateCompileOptions, SFCStyleCompileOptions } from 'vue/compiler-sfc';
 | 
			
		||||
import { Plugin, ViteDevServer } from "vite";
 | 
			
		||||
import * as _compiler from "vue/compiler-sfc";
 | 
			
		||||
import { SFCScriptCompileOptions, SFCStyleCompileOptions, SFCTemplateCompileOptions } from "vue/compiler-sfc";
 | 
			
		||||
 | 
			
		||||
//#region src/utils/query.d.ts
 | 
			
		||||
interface VueQuery {
 | 
			
		||||
    vue?: boolean;
 | 
			
		||||
    src?: string;
 | 
			
		||||
    type?: 'script' | 'template' | 'style' | 'custom';
 | 
			
		||||
    index?: number;
 | 
			
		||||
    lang?: string;
 | 
			
		||||
    raw?: boolean;
 | 
			
		||||
    url?: boolean;
 | 
			
		||||
    scoped?: boolean;
 | 
			
		||||
    id?: string;
 | 
			
		||||
  vue?: boolean;
 | 
			
		||||
  src?: string;
 | 
			
		||||
  type?: 'script' | 'template' | 'style' | 'custom';
 | 
			
		||||
  index?: number;
 | 
			
		||||
  lang?: string;
 | 
			
		||||
  raw?: boolean;
 | 
			
		||||
  url?: boolean;
 | 
			
		||||
  scoped?: boolean;
 | 
			
		||||
  id?: string;
 | 
			
		||||
}
 | 
			
		||||
declare function parseVueRequest(id: string): {
 | 
			
		||||
    filename: string;
 | 
			
		||||
    query: VueQuery;
 | 
			
		||||
  filename: string;
 | 
			
		||||
  query: VueQuery;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
//#endregion
 | 
			
		||||
//#region src/index.d.ts
 | 
			
		||||
interface Options {
 | 
			
		||||
    include?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
    exclude?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
  include?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
  exclude?: string | RegExp | (string | RegExp)[];
 | 
			
		||||
  /**
 | 
			
		||||
   * In Vite, this option follows Vite's config.
 | 
			
		||||
   */
 | 
			
		||||
  isProduction?: boolean;
 | 
			
		||||
  script?: Partial<Omit<SFCScriptCompileOptions, 'id' | 'isProd' | 'inlineTemplate' | 'templateOptions' | 'sourceMap' | 'genDefaultAs' | 'customElement' | 'defineModel' | 'propsDestructure'>> & {
 | 
			
		||||
    /**
 | 
			
		||||
     * In Vite, this option follows Vite's config.
 | 
			
		||||
     * @deprecated defineModel is now a stable feature and always enabled if
 | 
			
		||||
     * using Vue 3.4 or above.
 | 
			
		||||
     */
 | 
			
		||||
    isProduction?: boolean;
 | 
			
		||||
    script?: Partial<Omit<SFCScriptCompileOptions, 'id' | 'isProd' | 'inlineTemplate' | 'templateOptions' | 'sourceMap' | 'genDefaultAs' | 'customElement' | 'defineModel' | 'propsDestructure'>> & {
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated defineModel is now a stable feature and always enabled if
 | 
			
		||||
         * using Vue 3.4 or above.
 | 
			
		||||
         */
 | 
			
		||||
        defineModel?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * @deprecated moved to `features.propsDestructure`.
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
    };
 | 
			
		||||
    template?: Partial<Omit<SFCTemplateCompileOptions, 'id' | 'source' | 'ast' | 'filename' | 'scoped' | 'slotted' | 'isProd' | 'inMap' | 'ssr' | 'ssrCssVars' | 'preprocessLang'>>;
 | 
			
		||||
    style?: Partial<Omit<SFCStyleCompileOptions, 'filename' | 'id' | 'isProd' | 'source' | 'scoped' | 'cssDevSourcemap' | 'postcssOptions' | 'map' | 'postcssPlugins' | 'preprocessCustomRequire' | 'preprocessLang' | 'preprocessOptions'>>;
 | 
			
		||||
    defineModel?: boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * Use custom compiler-sfc instance. Can be used to force a specific version.
 | 
			
		||||
     * @deprecated moved to `features.propsDestructure`.
 | 
			
		||||
     */
 | 
			
		||||
    compiler?: typeof _compiler;
 | 
			
		||||
    propsDestructure?: boolean;
 | 
			
		||||
  };
 | 
			
		||||
  template?: Partial<Omit<SFCTemplateCompileOptions, 'id' | 'source' | 'ast' | 'filename' | 'scoped' | 'slotted' | 'isProd' | 'inMap' | 'ssr' | 'ssrCssVars' | 'preprocessLang'>>;
 | 
			
		||||
  style?: Partial<Omit<SFCStyleCompileOptions, 'filename' | 'id' | 'isProd' | 'source' | 'scoped' | 'cssDevSourcemap' | 'postcssOptions' | 'map' | 'postcssPlugins' | 'preprocessCustomRequire' | 'preprocessLang' | 'preprocessOptions'>>;
 | 
			
		||||
  /**
 | 
			
		||||
   * Use custom compiler-sfc instance. Can be used to force a specific version.
 | 
			
		||||
   */
 | 
			
		||||
  compiler?: typeof _compiler;
 | 
			
		||||
  /**
 | 
			
		||||
   * Requires @vitejs/plugin-vue@^5.1.0
 | 
			
		||||
   */
 | 
			
		||||
  features?: {
 | 
			
		||||
    /**
 | 
			
		||||
     * Requires @vitejs/plugin-vue@^5.1.0
 | 
			
		||||
     * Enable reactive destructure for `defineProps`.
 | 
			
		||||
     * - Available in Vue 3.4 and later.
 | 
			
		||||
     * - **default:** `false` in Vue 3.4 (**experimental**), `true` in Vue 3.5+
 | 
			
		||||
     */
 | 
			
		||||
    features?: {
 | 
			
		||||
        /**
 | 
			
		||||
         * Enable reactive destructure for `defineProps`.
 | 
			
		||||
         * - Available in Vue 3.4 and later.
 | 
			
		||||
         * - **default:** `false` in Vue 3.4 (**experimental**), `true` in Vue 3.5+
 | 
			
		||||
         */
 | 
			
		||||
        propsDestructure?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Transform Vue SFCs into custom elements.
 | 
			
		||||
         * - `true`: all `*.vue` imports are converted into custom elements
 | 
			
		||||
         * - `string | RegExp`: matched files are converted into custom elements
 | 
			
		||||
         * - **default:** /\.ce\.vue$/
 | 
			
		||||
         */
 | 
			
		||||
        customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `false` to disable Options API support and allow related code in
 | 
			
		||||
         * Vue core to be dropped via dead-code elimination in production builds,
 | 
			
		||||
         * resulting in smaller bundles.
 | 
			
		||||
         * - **default:** `true`
 | 
			
		||||
         */
 | 
			
		||||
        optionsAPI?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable devtools support in production builds.
 | 
			
		||||
         * Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodDevtools?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Set to `true` to enable detailed information for hydration mismatch
 | 
			
		||||
         * errors in production builds. Results in slightly larger bundles.
 | 
			
		||||
         * - **default:** `false`
 | 
			
		||||
         */
 | 
			
		||||
        prodHydrationMismatchDetails?: boolean;
 | 
			
		||||
        /**
 | 
			
		||||
         * Customize the component ID generation strategy.
 | 
			
		||||
         * - `'filepath'`: hash the file path (relative to the project root)
 | 
			
		||||
         * - `'filepath-source'`: hash the file path and the source code
 | 
			
		||||
         * - `function`: custom function that takes the file path, source code,
 | 
			
		||||
         *   whether in production mode, and the default hash function as arguments
 | 
			
		||||
         * - **default:** `'filepath'` in development, `'filepath-source'` in production
 | 
			
		||||
         */
 | 
			
		||||
        componentIdGenerator?: 'filepath' | 'filepath-source' | ((filepath: string, source: string, isProduction: boolean | undefined, getHash: (text: string) => string) => string);
 | 
			
		||||
    };
 | 
			
		||||
    propsDestructure?: boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * @deprecated moved to `features.customElement`.
 | 
			
		||||
     * Transform Vue SFCs into custom elements.
 | 
			
		||||
     * - `true`: all `*.vue` imports are converted into custom elements
 | 
			
		||||
     * - `string | RegExp`: matched files are converted into custom elements
 | 
			
		||||
     * - **default:** /\.ce\.vue$/
 | 
			
		||||
     */
 | 
			
		||||
    customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
    /**
 | 
			
		||||
     * Set to `false` to disable Options API support and allow related code in
 | 
			
		||||
     * Vue core to be dropped via dead-code elimination in production builds,
 | 
			
		||||
     * resulting in smaller bundles.
 | 
			
		||||
     * - **default:** `true`
 | 
			
		||||
     */
 | 
			
		||||
    optionsAPI?: boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * Set to `true` to enable devtools support in production builds.
 | 
			
		||||
     * Results in slightly larger bundles.
 | 
			
		||||
     * - **default:** `false`
 | 
			
		||||
     */
 | 
			
		||||
    prodDevtools?: boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * Set to `true` to enable detailed information for hydration mismatch
 | 
			
		||||
     * errors in production builds. Results in slightly larger bundles.
 | 
			
		||||
     * - **default:** `false`
 | 
			
		||||
     */
 | 
			
		||||
    prodHydrationMismatchDetails?: boolean;
 | 
			
		||||
    /**
 | 
			
		||||
     * Customize the component ID generation strategy.
 | 
			
		||||
     * - `'filepath'`: hash the file path (relative to the project root)
 | 
			
		||||
     * - `'filepath-source'`: hash the file path and the source code
 | 
			
		||||
     * - `function`: custom function that takes the file path, source code,
 | 
			
		||||
     *   whether in production mode, and the default hash function as arguments
 | 
			
		||||
     * - **default:** `'filepath'` in development, `'filepath-source'` in production
 | 
			
		||||
     */
 | 
			
		||||
    componentIdGenerator?: 'filepath' | 'filepath-source' | ((filepath: string, source: string, isProduction: boolean | undefined, getHash: (text: string) => string) => string);
 | 
			
		||||
  };
 | 
			
		||||
  /**
 | 
			
		||||
   * @deprecated moved to `features.customElement`.
 | 
			
		||||
   */
 | 
			
		||||
  customElement?: boolean | string | RegExp | (string | RegExp)[];
 | 
			
		||||
}
 | 
			
		||||
interface ResolvedOptions extends Options {
 | 
			
		||||
    compiler: typeof _compiler;
 | 
			
		||||
    root: string;
 | 
			
		||||
    sourceMap: boolean;
 | 
			
		||||
    cssDevSourcemap: boolean;
 | 
			
		||||
    devServer?: ViteDevServer;
 | 
			
		||||
    devToolsEnabled?: boolean;
 | 
			
		||||
interface ResolvedOptions extends Omit<Options, 'include' | 'exclude'> {
 | 
			
		||||
  compiler: typeof _compiler;
 | 
			
		||||
  root: string;
 | 
			
		||||
  sourceMap: boolean;
 | 
			
		||||
  cssDevSourcemap: boolean;
 | 
			
		||||
  devServer?: ViteDevServer;
 | 
			
		||||
  devToolsEnabled?: boolean;
 | 
			
		||||
}
 | 
			
		||||
interface Api {
 | 
			
		||||
    get options(): ResolvedOptions;
 | 
			
		||||
    set options(value: ResolvedOptions);
 | 
			
		||||
    version: string;
 | 
			
		||||
  get options(): ResolvedOptions;
 | 
			
		||||
  set options(value: ResolvedOptions);
 | 
			
		||||
  get include(): string | RegExp | (string | RegExp)[] | undefined;
 | 
			
		||||
  /** include cannot be updated after `options` hook is called */
 | 
			
		||||
  set include(value: string | RegExp | (string | RegExp)[] | undefined);
 | 
			
		||||
  get exclude(): string | RegExp | (string | RegExp)[] | undefined;
 | 
			
		||||
  /** exclude cannot be updated after `options` hook is called */
 | 
			
		||||
  set exclude(value: string | RegExp | (string | RegExp)[] | undefined);
 | 
			
		||||
  version: string;
 | 
			
		||||
}
 | 
			
		||||
declare function vuePlugin(rawOptions?: Options): Plugin<Api>;
 | 
			
		||||
 | 
			
		||||
// @ts-ignore
 | 
			
		||||
export = vuePlugin;
 | 
			
		||||
export { type Api, type Options, type ResolvedOptions, type VueQuery, parseVueRequest };
 | 
			
		||||
declare function vuePluginCjs(this: unknown, options: Options): Plugin<Api>;
 | 
			
		||||
//#endregion
 | 
			
		||||
export { Api, Options, ResolvedOptions, type VueQuery, vuePlugin as default, vuePluginCjs as "module.exports", parseVueRequest };
 | 
			
		||||
							
								
								
									
										2068
									
								
								node_modules/@vitejs/plugin-vue/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2068
									
								
								node_modules/@vitejs/plugin-vue/dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										3090
									
								
								node_modules/@vitejs/plugin-vue/dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3090
									
								
								node_modules/@vitejs/plugin-vue/dist/index.mjs
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										44
									
								
								node_modules/@vitejs/plugin-vue/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								node_modules/@vitejs/plugin-vue/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,23 +1,24 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "@vitejs/plugin-vue",
 | 
			
		||||
  "version": "5.2.4",
 | 
			
		||||
  "type": "commonjs",
 | 
			
		||||
  "version": "6.0.1",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "author": "Evan You",
 | 
			
		||||
  "description": "The official plugin for Vue SFC support in Vite.",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "vite",
 | 
			
		||||
    "vite-plugin",
 | 
			
		||||
    "vue"
 | 
			
		||||
  ],
 | 
			
		||||
  "files": [
 | 
			
		||||
    "dist"
 | 
			
		||||
  ],
 | 
			
		||||
  "main": "./dist/index.cjs",
 | 
			
		||||
  "module": "./dist/index.mjs",
 | 
			
		||||
  "types": "./dist/index.d.ts",
 | 
			
		||||
  "exports": {
 | 
			
		||||
    ".": {
 | 
			
		||||
      "import": "./dist/index.mjs",
 | 
			
		||||
      "require": "./dist/index.cjs"
 | 
			
		||||
    }
 | 
			
		||||
    ".": "./dist/index.js",
 | 
			
		||||
    "./package.json": "./package.json"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": "^18.0.0 || >=20.0.0"
 | 
			
		||||
    "node": "^20.19.0 || >=22.12.0"
 | 
			
		||||
  },
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
@@ -29,22 +30,25 @@
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme",
 | 
			
		||||
  "peerDependencies": {
 | 
			
		||||
    "vite": "^5.0.0 || ^6.0.0",
 | 
			
		||||
    "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
 | 
			
		||||
    "vue": "^3.2.25"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@jridgewell/gen-mapping": "^0.3.8",
 | 
			
		||||
    "@jridgewell/trace-mapping": "^0.3.25",
 | 
			
		||||
    "debug": "^4.4.0",
 | 
			
		||||
    "rollup": "^4.40.2",
 | 
			
		||||
    "@jridgewell/gen-mapping": "^0.3.12",
 | 
			
		||||
    "@jridgewell/trace-mapping": "^0.3.29",
 | 
			
		||||
    "debug": "^4.4.1",
 | 
			
		||||
    "rollup": "^4.45.1",
 | 
			
		||||
    "slash": "^5.1.0",
 | 
			
		||||
    "source-map-js": "^1.2.1",
 | 
			
		||||
    "vite": "^6.3.5",
 | 
			
		||||
    "vue": "^3.5.13"
 | 
			
		||||
    "tsdown": "^0.13.0",
 | 
			
		||||
    "vite": "^7.0.5",
 | 
			
		||||
    "vue": "^3.5.18"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@rolldown/pluginutils": "1.0.0-beta.29"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "dev": "unbuild --stub",
 | 
			
		||||
    "build": "unbuild && pnpm run patch-cjs",
 | 
			
		||||
    "patch-cjs": "tsx ../../scripts/patchCJS.ts"
 | 
			
		||||
    "dev": "tsdown --watch",
 | 
			
		||||
    "build": "tsdown"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user