You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a long running build times and I am trying to find a way to fix it. One of the solutions could be enabling the enableForkedTypeScriptTypesChecking. After enabling this setting it requires to install the fork-ts-checker-webpack-plugin@^6.0.0
and it cuts the build time almost in half, but the problem is that with this option enabled, the build doesn't validate the .ts files at all. I can remove all the types from the variables in .ts files and it still compiles successfully.
If you read the documentation of fork-ts-checker-webpack-plugin, it explicitly say that you will need to run type checking separately from your webpack build when using this plugin (disabling type checking is a big part of what makes it faster)
I have a long running build times and I am trying to find a way to fix it. One of the solutions could be enabling the
enableForkedTypeScriptTypesChecking
. After enabling this setting it requires to install thefork-ts-checker-webpack-plugin@^6.0.0
and it cuts the build time almost in half, but the problem is that with this option enabled, the build doesn't validate the .ts files at all. I can remove all the types from the variables in .ts files and it still compiles successfully.
Any way to configure this to run smoothly?
My webpack.config.js:
The text was updated successfully, but these errors were encountered: