First created app's config.compilerOptions applies to all later apps #9618
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: compiler
Vue version
3.3.8
Link to minimal reproduction
https://codepen.io/markrian/pen/JjxOmrw?editors=1011
Steps to reproduce
createApp
compilerOptions
compilerOptions
are ignored on the second app, as if you didn't set them.OR
createApp
compilerOptions
compilerOptions
also apply (incorrectly) to the second app.What is expected?
Each app should respect only its own
compilerOptions
.What is actually happening?
It looks like apps share
compilerOptions
in some way.System Info
No response
Any additional comments?
In my minimal reproduction I only test
whitespace: 'preserve'
. I don't actually know if it applies to allcompilerOptions
or just that one - I've made an assumption about the effects here.The text was updated successfully, but these errors were encountered: