This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
switch uglify to compress:true,mangle:true (
#2852
)
closed-social-v3
Nolan Lawson
7 years ago
committed by
Eugen Rochko
parent
bd71327180
commit
8009366231
1 changed files
with
2 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-16
config/webpack/production.js
+ 2
- 16
config/webpack/production.js
View File
@ -12,22 +12,8 @@ module.exports = merge(sharedConfig, {
plugins
:
[
new
webpack
.
optimize
.
UglifyJsPlugin
(
{
compress
:
{
unused
:
true
,
evaluate
:
true
,
booleans
:
true
,
drop_debugger
:
true
,
dead_code
:
true
,
pure_getters
:
true
,
negate_iife
:
true
,
conditionals
:
true
,
loops
:
true
,
cascade
:
true
,
keep_fargs
:
false
,
warnings
:
true
}
,
mangle
:
false
,
compress
:
true
,
mangle
:
true
,
output
:
{
comments
:
false
Write
Preview
Loading…
Cancel
Save