mirror of https://github.com/vuejs/core.git
chore: reuse descriptor ast in compileScript inlineTemplate mode by default
This commit is contained in:
parent
eb51b23d85
commit
8f339ea144
|
@ -833,6 +833,7 @@ export function compileScript(
|
|||
// inline it right here
|
||||
const { code, ast, preamble, tips, errors } = compileTemplate({
|
||||
filename,
|
||||
ast: sfc.template.ast,
|
||||
source: sfc.template.content,
|
||||
inMap: sfc.template.map,
|
||||
...options.templateOptions,
|
||||
|
|
Loading…
Reference in New Issue