-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Changing compilerOptions directives in vue.config.js not working in 2.7 when building #12828
Comments
/cc @sodatea this seems to be related to Not sure why this behavior is different between 2.6 and 2.7. Is there some logic in For now you can work around this by setting |
It's in |
This issue could be mostly mitigated if we detect and skip cloning |
Fixed in |
Version
2.7.12
Reproduction link
github.com
Steps to reproduce
Clone the minimal reproduction repo and do
npm run build
. The code in vue.config.js: https://github.com/tunnelpuzzle/vue-compiler-directive/blob/master/vue.config.js#L11-L12 for the v-show directive won't be run.Switch to Vue 2.6
npm i vue@2.6.14 vue-template-compiler@2.6.14
and then donpm run build
. The code to for the v-show directive is run.What is expected?
Changing the compilerOptions directives should work in Vue 2.7 when building.
What is actually happening?
Changing the compilerOptions directives when building works in Vue 2.6 but not Vue 2.7
I looked in the release notes but couldn't find anything about this behavior changing in 2.7.
The text was updated successfully, but these errors were encountered: