Merge pull request #1371 from hedgedoc/feature/optimize_webpack

This commit is contained in:
David Mehren 2021-06-08 21:09:44 +02:00 committed by GitHub
commit e7e1313691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',