Skip to content

Commit f75de2e

Browse files
committed
feat: support template AST reuse from Vue 3.4 parser
1 parent 7c0d275 commit f75de2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-vue/src/template.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ export function resolveTemplateCompilerOptions(
186186
return {
187187
...options.template,
188188
id,
189+
// @ts-ignore TODO remove ignore when dep is updated to 3.4
190+
ast: descriptor.template?.ast,
189191
filename,
190192
scoped: hasScoped,
191193
slotted: descriptor.slotted,

0 commit comments

Comments
 (0)