[react-native] Check in babel-plugin to inline __DEV__
Summary: This plugin resolves __DEV__ to the value of `NODE_ENV === 'development'`. This can then be evaluated and dead code can be removed by uglifyjs.
This commit is contained in:
parent
324d154cf7
commit
9d96d00163
|
@ -49,7 +49,8 @@
|
|||
"absolute-path": "0.0.0",
|
||||
"babel": "5.4.3",
|
||||
"babel-core": "5.6.4",
|
||||
"babel-plugin-node-env-inline": "^1.0.1",
|
||||
"babel-plugin-dunderscore-dev-inline": "1.0.1",
|
||||
"babel-plugin-node-env-inline": "1.0.1",
|
||||
"chalk": "1.0.0",
|
||||
"connect": "2.8.3",
|
||||
"debug": "2.1.0",
|
||||
|
|
Loading…
Reference in New Issue