You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by kg...@apache.org on 2025/08/12 16:55:44 UTC
(superset) branch master updated: chore: Increase memory limit on webpack ts checker plugin (#34653)
This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new e2a9f2dead chore: Increase memory limit on webpack ts checker plugin (#34653)
e2a9f2dead is described below
commit e2a9f2deadbc143c77b5bdf3a8c12f1d2cd76abb
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Tue Aug 12 18:55:38 2025 +0200
chore: Increase memory limit on webpack ts checker plugin (#34653)
---
superset-frontend/webpack.config.js | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index f315c11451..21ca09bfaa 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -157,7 +157,22 @@ if (!isDevMode) {
);
// Runs type checking on a separate process to speed up the build
- plugins.push(new ForkTsCheckerWebpackPlugin());
+ plugins.push(
+ new ForkTsCheckerWebpackPlugin({
+ typescript: {
+ memoryLimit: 4096,
+ build: true,
+ exclude: [
+ '**/node_modules/**',
+ '**/dist/**',
+ '**/coverage/**',
+ '**/storybook/**',
+ '**/*.stories.{ts,tsx,js,jsx}',
+ '**/*.{test,spec}.{ts,tsx,js,jsx}',
+ ],
+ },
+ }),
+ );
}
const PREAMBLE = [path.join(APP_DIR, '/src/preamble.ts')];