Skip to content

Commit

Permalink
Enhance webpack configuration with increased memory limit and improve…
Browse files Browse the repository at this point in the history
…d logger settings
  • Loading branch information
EdwinKato committed Dec 17, 2024
1 parent 9c4ee8d commit 1925141
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion front/internals/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,11 @@ const config = {
async: isDev,
typescript: {
configFile: path.join(process.cwd(), 'app/tsconfig.json'),
memoryLimit: 4096,
},
logger: { infrastructure: !!argv.json ? 'silent' : 'console' }, // silent when trying to profile the chunks sizes
logger: !!argv.json
? { error: () => {}, warn: () => {}, info: () => {} } // Silent when trying to profile the chunks sizes
: console, // Use the default `console` logger
}),

new CleanWebpackPlugin(),
Expand Down

0 comments on commit 1925141

Please sign in to comment.