We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efe7ba4 commit 82cfad0Copy full SHA for 82cfad0
src/utils/webpack-config.ts
@@ -365,6 +365,12 @@ export const getWebpackConfig = async (opts: IOptions) => {
365
config.performance = {};
366
}
367
config.performance.hints = false;
368
+
369
+ // Improve dev performance https://v4.webpack.js.org/guides/build-performance/#development
370
+ config.optimization.removeAvailableModules = false;
371
+ config.optimization.removeEmptyChunks = false;
372
+ config.optimization.splitChunks = false;
373
+ config.output.pathinfo = false;
374
375
376
return plugin.buildConfigPipes.reduce(async (newConfig, fn) => {
0 commit comments