Skip to content

Commit

Permalink
feat: support template AST reuse from Vue 3.4 parser
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 25, 2023
1 parent 85b2f5b commit ba1bab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugin-vue/src/template.ts
Expand Up @@ -168,6 +168,8 @@ export function resolveTemplateCompilerOptions(
return {
...options.template,
id,
// @ts-ignore TODO remove ignore when dep is updated to 3.4
ast: descriptor.template?.ast,
filename,
scoped: hasScoped,
slotted: descriptor.slotted,
Expand Down

0 comments on commit ba1bab9

Please sign in to comment.