-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: compiler
Description
Vue version
3.3.8
Link to minimal reproduction
https://codepen.io/markrian/pen/JjxOmrw?editors=1011
Steps to reproduce
- Create two apps via
createApp
- Configure the second one of them to use custom
compilerOptions
- Observe those
compilerOptions
are ignored on the second app, as if you didn't set them.
OR
- Create two apps via
createApp
- Configure the first one of them to use custom
compilerOptions
- Observe those
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 all compilerOptions
or just that one - I've made an assumption about the effects here.
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: compiler