You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
import type { LoaderContext } from 'webpack';
|
|
import type { TemplateCompiler, CompilerOptions, SFCTemplateCompileOptions, SFCScriptCompileOptions } from 'vue/compiler-sfc';
|
|
import VueLoaderPlugin from './plugin';
|
|
export { VueLoaderPlugin };
|
|
export interface VueLoaderOptions {
|
|
babelParserPlugins?: SFCScriptCompileOptions['babelParserPlugins'];
|
|
transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];
|
|
compiler?: TemplateCompiler | string;
|
|
compilerOptions?: CompilerOptions;
|
|
/**
|
|
* TODO remove in 3.4
|
|
* @deprecated
|
|
*/
|
|
reactivityTransform?: boolean;
|
|
/**
|
|
* @experimental
|
|
*/
|
|
propsDestructure?: boolean;
|
|
/**
|
|
* @experimental
|
|
*/
|
|
defineModel?: boolean;
|
|
customElement?: boolean | RegExp;
|
|
hotReload?: boolean;
|
|
exposeFilename?: boolean;
|
|
appendExtension?: boolean;
|
|
enableTsInTemplate?: boolean;
|
|
experimentalInlineMatchResource?: boolean;
|
|
isServerBuild?: boolean;
|
|
}
|
|
export default function loader(this: LoaderContext<VueLoaderOptions>, source: string): string | void;
|