SFCScriptCompileOptions Type — vue Architecture
Architecture documentation for the SFCScriptCompileOptions type/interface in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 8e4f8f79_cb61_0ded_9cc7_dd5ae2e0296b["SFCScriptCompileOptions"] c9346cac_54e3_f6ca_68a7_03c6e82c9609["compileScript.ts"] 8e4f8f79_cb61_0ded_9cc7_dd5ae2e0296b -->|defined in| c9346cac_54e3_f6ca_68a7_03c6e82c9609 style 8e4f8f79_cb61_0ded_9cc7_dd5ae2e0296b 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