1
0
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:
kaiyou 2025-01-29 10:50:55 +01:00
parent e5ec611163
commit 2d151debb4

View File

@ -60,6 +60,7 @@ module.exports = {
],
optimization: {
minimize: true,
runtimeChunk: 'single',
minimizer: [
new terse(),
new mini({