feat(compiler): block optimization codegen for RootNode

This commit is contained in:
Evan You
2019-10-02 13:11:07 -04:00
parent c0bf341748
commit 24bd6c27e0
15 changed files with 376 additions and 491 deletions

View File

@@ -86,6 +86,7 @@ export function parse(content: string, options: ParserOptions = {}): RootNode {
imports: [],
statements: [],
hoists: [],
codegenNode: undefined,
loc: getSelection(context, start)
}
}