mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
Improve production build config (#8899)
This commit is contained in:
parent
28401962ca
commit
84f82ee2fe
|
@ -50,11 +50,11 @@ module.exports = merge(sharedConfig, {
|
||||||
minimize: true,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new UglifyJsPlugin({
|
new UglifyJsPlugin({
|
||||||
|
cache: true,
|
||||||
|
parallel: true,
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
|
|
||||||
uglifyOptions: {
|
uglifyOptions: {
|
||||||
mangle: true,
|
|
||||||
|
|
||||||
compress: {
|
compress: {
|
||||||
warnings: false,
|
warnings: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue