[ ] π Documentation (updates to the documentation, readme or JSdoc annotations)
[x] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
This is very specific, I don't think anyone ran into this bug π
While refactoring/merging tests I noticed that the text defineI18nRoute(false) inside of <template> in specs/fixtures/basic/pages/index.vue was being transformed and replaced to false && /*#__PURE__*/ defineI18nRoute(false). This should only happen inside the script contents.
Maybe this PR changes the transform plugin more than it should, if anything is off let me know!
π Linked issue
β Type of change
π Description
This is very specific, I don't think anyone ran into this bug π
While refactoring/merging tests I noticed that the text
defineI18nRoute(false)
inside of<template>
inspecs/fixtures/basic/pages/index.vue
was being transformed and replaced tofalse && /*#__PURE__*/ defineI18nRoute(false)
. This should only happen inside the script contents.Maybe this PR changes the transform plugin more than it should, if anything is off let me know!
π Checklist