Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Revert "feat: support template AST reuse from Vue 3.4 parser"
This reverts commit ba1bab9. Fixes #322 It seems that the AST returned from https://github.com/vuejs/core/blob/a41c5f1f4367a9f41bcdb8c4e02f54b2378e577d/packages/compiler-sfc/src/parse.ts#L133-L139 gets reused in https://github.com/vitejs/vite-plugin-vue/blob/f75de2e5284af6036efa45d5c9ec37757485e3a0/packages/plugin-vue/src/template.ts#L186-L190, resulting in the second `parse` pass (called with real user options) being skipped. TODO: investigate the root cause further later and re-enable the optimization.
- Loading branch information