Merge pull request #1371 from hedgedoc/feature/optimize_webpack
This commit is contained in:
commit
e7e1313691
@ -18,8 +18,12 @@ module.exports = [
|
|||||||
new ESBuildMinifyPlugin({
|
new ESBuildMinifyPlugin({
|
||||||
target: 'es2015'
|
target: 'es2015'
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
splitChunks: {
|
||||||
|
chunks: 'all'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
devtool: 'source-map'
|
||||||
}),
|
}),
|
||||||
merge(htmlexport, {
|
merge(htmlexport, {
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user