SFCTemplateCompileOptions
interface SFCTemplateCompileOptions {
compiler?: TemplateCompiler;
compilerOptions?: CompilerOptions;
filename: string;
id: string;
inMap?: RawSourceMap;
isProd?: boolean;
preprocessCustomRequire?: (id: string) => any;
preprocessLang?: string;
preprocessOptions?: any;
scoped?: boolean;
slotted?: boolean;
source: string;
ssr?: boolean;
ssrCssVars?: string[];
transformAssetUrls?: AssetURLOptions | AssetURLTagConfig | boolean;
}§Properties
§
compiler?: TemplateCompiler
[src]§
compilerOptions?: CompilerOptions
[src]§
inMap?: RawSourceMap
[src]§
preprocessCustomRequire?: (id: string) => any
[src]In some cases, compiler-sfc may not be inside the project root (e.g. when
linked or globally installed). In such cases a custom require
can be
passed to correctly resolve the preprocessors.
§
transformAssetUrls?: AssetURLOptions | AssetURLTagConfig | boolean
[src]Configure what tags/attributes to transform into asset url imports,
or disable the transform altogether with false
.