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

SFCScriptCompileOptions

interface SFCScriptCompileOptions {
babelParserPlugins?: ParserPlugin[];
id: string;
inlineTemplate?: boolean;
isProd?: boolean;
propsDestructureTransform?: boolean;
reactivityTransform?: boolean;
refSugar?: boolean;
refTransform?: boolean;
sourceMap?: boolean;
templateOptions?: Partial<SFCTemplateCompileOptions>;
}

§Properties

§
id: string
[src]

Scope ID for prefixing injected CSS variables. This must be consistent with the id passed to compileStyle.

§
inlineTemplate?: boolean
[src]

Compile the template and inline the resulting render function directly inside setup().

  • Only affects <script setup>
  • This should only be used in production because it prevents the template from being hot-reloaded separately from component state.
§
isProd?: boolean
[src]

Production mode. Used to determine whether to generate hashed CSS variables

§
propsDestructureTransform?: boolean
[src]

(Experimental) Enable syntax transform for destructuring from defineProps() https://github.com/vuejs/rfcs/discussions/394

§
reactivityTransform?: boolean
[src]

(Experimental) Enable syntax transform for using refs without .value and using destructured props with reactivity

§
refSugar?: boolean
[src]
§
refTransform?: boolean
[src]

(Experimental) Enable syntax transform for using refs without .value https://github.com/vuejs/rfcs/discussions/369

§
sourceMap?: boolean
[src]

Enable/disable source map. Defaults to true.

§
templateOptions?: Partial<SFCTemplateCompileOptions>
[src]

Options for template compilation when inlining. Note these are options that would normally be passed to compiler-sfc's own compileTemplate(), not options passed to compiler-dom.