about summary refs log tree commit diff
path: root/.babelrc
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-05-19 02:42:21 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-05-19 02:42:21 +0200
commitf18a6c2cf2162b11beec2b4b17db1f2fd9fdcec0 (patch)
tree0a6caad15182d81866eaec1c87728cbe7b23affc /.babelrc
parent25e5aa645d171f8438c6835aaaf8735e4e9cca24 (diff)
feat(babel): Strip prop types (#3122)
* feat(babel): Strip prop types

* chore(babel): Indent

* fix(babel): Move babel-plugin-transform-react-remove-prop-types to dependencies
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc
index e80364f0f..139b5b711 100644
--- a/.babelrc
+++ b/.babelrc
@@ -34,6 +34,16 @@
       "plugins": [
         "lodash",
         [
+          "transform-react-remove-prop-types",
+          {
+            "mode": "remove",
+            "removeImport": true,
+            "additionalLibraries": [
+              "react-immutable-proptypes"
+            ]
+          }
+        ],
+        [
           "transform-runtime",
           {
             "helpers": true,