]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
feat(compiler-sfc): support passing template parsing options when parsing sfc
authorEvan You <yyx990803@gmail.com>
Sat, 30 Dec 2023 00:42:43 +0000 (08:42 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 30 Dec 2023 00:44:39 +0000 (08:44 +0800)
commit6fab8551e4aeef4610987640de8b435b1ae321bb
treea1fdddc25e76a974dd62b5499440276e75be6b08
parenta9be936acf4e9209d5a86f3f0ddaf6e09233c35e
feat(compiler-sfc): support passing template parsing options when parsing sfc

- This is released in a patch because it is an relatively internal API
  but required to properly fix https://github.com/vitejs/vite-plugin-vue/issues/322

- `parseExpressions` is now deprecated because it can be passed using
  original template parsing options (`prefixIdentifiers`)
packages/compiler-sfc/__tests__/parse.spec.ts
packages/compiler-sfc/src/parse.ts