-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
自定义的d.ts在运行状态下被改变,结果没有生效 #6047
Comments
v4.5 起,新生成的项目里都开启了 |
在 和 CLI升级插件应该能解决问题 用yarn的话可以这样应付(针对 "resolutions": {
"fork-ts-checker-webpack-plugin-v5": "npm:fork-ts-checker-webpack-plugin@^6.0.0"
} |
请教下、如何关闭运行时的类型校验么。我想两种都试试,一种关闭校验、一种尝试@fangbinwei 的方法, 但是我有一个问题、我不用yarn |
大胸弟,解决了吗~, 新版webpack好像不会收集导出 Type.ts 的文件依赖 |
目前cli 5.0.0-apha.0已经解决这个问题, 可以尝试升级 npm i @vue/[email protected] -D |
npm i @vue/[email protected] -D |
Version
4.5.8
Reproduction link
https://github.com/gds-prue/ceshi/tree/master/vue3
Environment info
Steps to reproduce
What is expected?
第2步保存时报错、第3步保存时正常
What is actually happening?
第2步保存时正常、第3步保存时编译报错
The text was updated successfully, but these errors were encountered: