feat(compiler): handle runtime helper injection

This commit is contained in:
Evan You
2019-09-22 23:07:36 -04:00
parent 914087edea
commit 8076ce1f28
10 changed files with 272 additions and 30 deletions

View File

@@ -82,6 +82,8 @@ export function parse(content: string, options: ParserOptions = {}): RootNode {
return {
type: NodeTypes.ROOT,
children: parseChildren(context, TextModes.DATA, []),
imports: [],
statements: [],
loc: getSelection(context, start)
}
}