123456789101112131415161718 |
- import webpack = require('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;
- refSugar?: boolean;
- customElement?: boolean | RegExp;
- hotReload?: boolean;
- exposeFilename?: boolean;
- appendExtension?: boolean;
- enableTsInTemplate?: boolean;
- isServerBuild?: boolean;
- }
- export default function loader(this: webpack.loader.LoaderContext, source: string): string | void;
|