Next.js: [Next 9.0.0] How to disable ForkTsCheckerWebpackPlugin?

Created on 9 Jul 2019  路  4Comments  路  Source: vercel/next.js

Is it supported?

Most helpful comment

@Timer have the same request. For me ts checking plugin eats too much memory and CPU on every hot reload, and I still have editor typescript checker, so I don't need another one. An option to disable ForkTsCheckerWebpackPlugin on dev would be awesome

All 4 comments

Not currently -- you cannot disable ForkTsCheckerWebpackPlugin.

Do note type checking happens in the background so it does not affect the reload/rebuild speed of your project.

If you're finding yourself constantly hitting typescript errors maybe try using strict: false in your tsconfig.json.

@Timer have the same request. For me ts checking plugin eats too much memory and CPU on every hot reload, and I still have editor typescript checker, so I don't need another one. An option to disable ForkTsCheckerWebpackPlugin on dev would be awesome

You can find a workaround in https://github.com/zeit/next.js/issues/7687#issuecomment-506440999

I also hope that an official option will be possible in future.

Was this page helpful?
0 / 5 - 0 ratings