You've already forked Mailu
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:
@@ -60,6 +60,7 @@ module.exports = {
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
runtimeChunk: 'single',
|
||||
minimizer: [
|
||||
new terse(),
|
||||
new mini({
|
||||
|
Reference in New Issue
Block a user