[change] allow propTypes to be removed in production builds

Fix #254
This commit is contained in:
Nicolas Gallagher
2016-11-22 13:57:12 -08:00
parent 0b1759363d
commit 8dd39c681c
16 changed files with 72 additions and 36 deletions
+3
View File
@@ -1,5 +1,8 @@
{
"presets": [
"react-native"
],
"plugins": [
[ "transform-react-remove-prop-types", { "mode": "wrap" } ]
]
}