mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge branch 'rollup' of github.com:trueadm/react into rollup
This commit is contained in:
@@ -209,7 +209,10 @@ function uglifyConfig(mangle) {
|
||||
dead_code: true,
|
||||
unused: true,
|
||||
drop_debugger: true,
|
||||
booleans: true,
|
||||
booleans: true,
|
||||
// Our www inline transform combined with Jest resetModules is confused
|
||||
// in some rare cases unless we keep all requires at the top:
|
||||
hoist_funs: mangle,
|
||||
},
|
||||
output: {
|
||||
beautify: !mangle,
|
||||
|
||||
Reference in New Issue
Block a user