Skip to content

Commit ba1bab9

Browse files
committed
feat: support template AST reuse from Vue 3.4 parser
1 parent 85b2f5b commit ba1bab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-vue/src/template.ts

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ export function resolveTemplateCompilerOptions(
168168
return {
169169
...options.template,
170170
id,
171+
// @ts-ignore TODO remove ignore when dep is updated to 3.4
172+
ast: descriptor.template?.ast,
171173
filename,
172174
scoped: hasScoped,
173175
slotted: descriptor.slotted,

0 commit comments

Comments
 (0)