1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Possible to disable ts checker (most editor already has it)

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-05-20 16:35:43 +03:00
parent f7b3c59afb
commit 3fc104c147
No known key found for this signature in database
GPG Key ID: 54B44603D251B788
2 changed files with 2 additions and 2 deletions

View File

@ -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)
};
}

View File

@ -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({