Skip to content

Commit 4a57ecc

Browse files
author
xD3VHAX
authored
Fix babel-env production
Added uglify in preset-env to support uglify in production
1 parent 15df49b commit 4a57ecc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
[
44
"env", {
55
"targets": {
6-
"node": "current"
6+
"node": "current",
7+
"uglify": true
78
}
89
}],
910
"react"

0 commit comments

Comments
 (0)