diff --git a/webpack.main.ts b/webpack.main.ts index a35a60f25d..f0bc38b72b 100755 --- a/webpack.main.ts +++ b/webpack.main.ts @@ -61,7 +61,7 @@ export default function (): webpack.Configuration { }, plugins: [ new ProgressBarPlugin(), - new ForkTsCheckerPlugin(), + process.env.LENS_DEV_DISABLE_TS_CHECKER === "true" ? undefined : new ForkTsCheckerPlugin(), ].filter(Boolean) }; } diff --git a/webpack.renderer.ts b/webpack.renderer.ts index 88f7203bf7..13bcc6135c 100755 --- a/webpack.renderer.ts +++ b/webpack.renderer.ts @@ -139,7 +139,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura plugins: [ new ProgressBarPlugin(), - new ForkTsCheckerPlugin(), + process.env.LENS_DEV_DISABLE_TS_CHECKER === "true" ? undefined : new ForkTsCheckerPlugin(), // todo: fix remain warnings about circular dependencies // new CircularDependencyPlugin({