SFCScriptCompileOptions Type — vue Architecture
Architecture documentation for the SFCScriptCompileOptions type/interface in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD ad22ce09_5d9b_582f_18f5_79be89c74624["SFCScriptCompileOptions"] b9f12a63_b611_1b00_0717_3ff21d7ce156["compileScript.ts"] ad22ce09_5d9b_582f_18f5_79be89c74624 -->|defined in| b9f12a63_b611_1b00_0717_3ff21d7ce156 style ad22ce09_5d9b_582f_18f5_79be89c74624 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/compileScript.ts lines 65–83
export interface SFCScriptCompileOptions {
/**
* Scope ID for prefixing injected CSS variables.
* This must be consistent with the `id` passed to `compileStyle`.
*/
id: string
/**
* Production mode. Used to determine whether to generate hashed CSS variables
*/
isProd?: boolean
/**
* Enable/disable source map. Defaults to true.
*/
sourceMap?: boolean
/**
* https://babeljs.io/docs/en/babel-parser#plugins
*/
babelParserPlugins?: ParserPlugin[]
}
Defined In
Source
Frequently Asked Questions
What is the SFCScriptCompileOptions type?
SFCScriptCompileOptions is a type/interface in the vue codebase, defined in packages/compiler-sfc/src/compileScript.ts.
Where is SFCScriptCompileOptions defined?
SFCScriptCompileOptions is defined in packages/compiler-sfc/src/compileScript.ts at line 65.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free