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 Dec 25, 2023
1 parent 7c0d275 commit f75de2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugin-vue/src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,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 f75de2e

Please sign in to comment.