Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
compilerOptions?: CompilerOptions
[src]
§
filename: string
[src]
§
id: string
[src]
§
isProd?: boolean
[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.

§
preprocessLang?: string
[src]
§
preprocessOptions?: any
[src]
§
scoped?: boolean
[src]
§
slotted?: boolean
[src]
§
source: string
[src]
§
ssr?: boolean
[src]
§
ssrCssVars?: string[]
[src]
§
transformAssetUrls?: AssetURLOptions | AssetURLTagConfig | boolean
[src]

Configure what tags/attributes to transform into asset url imports, or disable the transform altogether with false.