Merge branch 'rollup' of github.com:trueadm/react into rollup

This commit is contained in:
Dominic Gannaway
2017-03-30 17:26:59 +01:00
+4 -1
View File
@@ -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,