mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
chore: Increase memory limit on webpack ts checker plugin (#34653)
This commit is contained in:
committed by
GitHub
parent
1f80725b0e
commit
e2a9f2dead
@@ -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')];
|
||||
|
||||
Reference in New Issue
Block a user