mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
Fix the webpack build due to dependOn issue
As stated in Webpack documentation, when using multiple entrypoints
and dependencies, it is recommended to export the runtime as a single
separated chunk.
See: https://webpack.js.org/guides/code-splitting/#entry-dependencies
(cherry picked from commit 2d151debb4)
This commit is contained in:
@@ -60,6 +60,7 @@ module.exports = {
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
runtimeChunk: 'single',
|
||||
minimizer: [
|
||||
new terse(),
|
||||
new mini({
|
||||
|
||||
Reference in New Issue
Block a user