-
-
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
Vue 2.7+ no longer fails on and report type errors in build and serve commands #12719
Comments
I noticed this as well after upgrading a project from 2.6.14 to 2.7.8. Type errors seem to be silently ignored by both |
This seems to be a |
This relies on The latest recommendation, however, is to avoid doing type check as part of the webpack build, and instead using vue-tsc, which also works with Vue 2.7+. You can start it in a separate process in watch mode. |
Thanks for your reply. We will try that, but it would be nice if this got mentioned in the upgrade to vue 2.7+, so users can determine if they can spare the extra time invested to setup vue-tsc and disable type checking in webpack during serve and build commands. |
I can confirm that this particular problem is fixed in |
Version
2.7.8
Reproduction link
github.com
Steps to reproduce
Based from the
vuejs-type-bug-demo
root folder:cd ./hello-world-2.6 && npm install && npm run build
cd ./hello-world-2.7 && npm install && npm run build
What is expected?
In 2.7 I expect the errors in typing to fail the build as it does in 2.6
What is actually happening?
Succeeding the build without any errors thrown
The text was updated successfully, but these errors were encountered: