mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02: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
This commit is contained in:
parent
e5ec611163
commit
2d151debb4
@ -60,6 +60,7 @@ module.exports = {
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
runtimeChunk: 'single',
|
||||
minimizer: [
|
||||
new terse(),
|
||||
new mini({
|
||||
|
Loading…
x
Reference in New Issue
Block a user