mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-09 13:23:54 +02:00
Merge #3740
3740: Fix the webpack build due to dependOn issue (backport #3739) r=mergify[bot] a=mergify[bot] ## What type of PR? Bug-fix ## What does this PR do? 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 ### Related issue(s) - closes #3738 ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. -> this is a minor build change <hr>This is an automatic backport of pull request #3739 done by [Mergify](https://mergify.com). Co-authored-by: kaiyou <dev@kaiyou.fr>
This commit is contained in:
commit
93166f61b3
@ -9,10 +9,11 @@ module.exports = {
|
||||
mode: 'production',
|
||||
entry: {
|
||||
app: {
|
||||
import: ['./assets/app.css', './assets/mailu.png', './assets/app.js'],
|
||||
import: ['./assets/app.css', './assets/app.js'],
|
||||
dependOn: 'vendor',
|
||||
},
|
||||
vendor: './assets/vendor.js',
|
||||
logo: './assets/mailu.png',
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'static/'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user