From fa87967743e15221b80f6aa6b0d9bd788afe71e9 Mon Sep 17 00:00:00 2001 From: hieu-w Date: Thu, 19 Dec 2024 12:45:29 +0700 Subject: [PATCH] Update webpack.config.js --- packages/torus-scripts/config/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/torus-scripts/config/webpack.config.js b/packages/torus-scripts/config/webpack.config.js index 5005e7f..64e5367 100644 --- a/packages/torus-scripts/config/webpack.config.js +++ b/packages/torus-scripts/config/webpack.config.js @@ -200,6 +200,8 @@ export const getDefaultCjsConfig = (pkgName) => { plugins.push( new ESLintPlugin({ context: paths.appPath, + threads: !process.env.CI, + configType: 'flat', extensions: ["ts", "tsx"], emitError: true, emitWarning: true,