feat(sfc): wip scopeId compiler support

This commit is contained in:
Evan You
2019-12-16 12:11:51 -05:00
parent b2c2d0590e
commit 51980afca2
8 changed files with 107 additions and 22 deletions

View File

@@ -62,6 +62,8 @@ export interface CodegenOptions {
// Filename for source map generation.
// Default: `template.vue.html`
filename?: string
// SFC scoped styles ID
scopeId?: string | null
}
export type CompilerOptions = ParserOptions & TransformOptions & CodegenOptions