Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove parseExpressions #11597

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

edison1105
Copy link
Member

use templateParseOptions: { prefixIdentifiers: false } instead

Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 98.8 kB 37.4 kB 33.7 kB
vue.global.prod.js 156 kB 57.2 kB 50.8 kB

Usages

Name Size Gzip Brotli
createApp 54.2 kB 21 kB 19.1 kB
createSSRApp 58.2 kB 22.6 kB 20.7 kB
defineCustomElement 58.8 kB 22.5 kB 20.5 kB
overall 67.8 kB 26 kB 23.6 kB

@edison1105
Copy link
Member Author

/ecosystem-ci run

@vue-bot
Copy link
Contributor

vue-bot commented Aug 13, 2024

📝 Ran ecosystem CI: Open

suite result latest scheduled
language-tools failure failure
nuxt failure failure
pinia success success
primevue success success
quasar success success
radix-vue success success
router success success
test-utils success success
vant failure failure
vite-plugin-vue failure success
vitepress failure failure
vue-i18n failure failure
vue-macros failure failure
vuetify success success
vueuse success success
vue-simple-compiler success success

@yyx990803 yyx990803 merged commit 4e7d5db into vuejs:main Aug 13, 2024
11 checks passed
@@ -138,8 +133,7 @@ export function parse(
pad = false,
ignoreEmpty = true,
compiler = CompilerDOM,
templateParseOptions = {},
parseExpressions = true,
templateParseOptions = { prefixIdentifiers: true },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value will only be used when no templateParseOptions is passed, causing a regression for template import usage check.

Fixed in 3d6f015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants