mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Enable SplitChunksPlugin in Webpack production config
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
cb1428d9b0
commit
578cb4d919
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ module.exports = [
|
||||||
new ESBuildMinifyPlugin({
|
new ESBuildMinifyPlugin({
|
||||||
target: 'es2015'
|
target: 'es2015'
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
splitChunks: {
|
||||||
|
chunks: 'all'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
merge(htmlexport, {
|
merge(htmlexport, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue