1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +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
(cherry picked from commit 2d151debb4)
This commit is contained in:
kaiyou
2025-01-29 10:50:55 +01:00
committed by Mergify
parent a8395d46b0
commit dc7b839495

View File

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