about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-07-09 08:34:05 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-07-09 17:34:05 +0200
commit5fa2dd6e652ac6400b793602c446fcd55000d498 (patch)
treedb739fbf7dc4ad3d7114e1966cf0090865fdebd7
parent307f3e0dd77b338669648f830f7f74103d2d226f (diff)
Use babel-plugin-transform-react-inline-elements (#4109)
-rw-r--r--.babelrc1
-rw-r--r--package.json1
-rw-r--r--yarn.lock6
3 files changed, 8 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc
index 292d52e27..19968964e 100644
--- a/.babelrc
+++ b/.babelrc
@@ -44,6 +44,7 @@
             ]
           }
         ],
+        "transform-react-inline-elements",
         [
           "transform-runtime",
           {
diff --git a/package.json b/package.json
index 94545c47e..4c5a3f1d9 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
     "babel-plugin-transform-decorators-legacy": "^1.3.4",
     "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
     "babel-plugin-transform-object-rest-spread": "^6.23.0",
+    "babel-plugin-transform-react-inline-elements": "^6.22.0",
     "babel-plugin-transform-react-jsx-self": "^6.22.0",
     "babel-plugin-transform-react-jsx-source": "^6.22.0",
     "babel-plugin-transform-react-remove-prop-types": "^0.4.6",
diff --git a/yarn.lock b/yarn.lock
index d4295cb50..aedbde6be 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1027,6 +1027,12 @@ babel-plugin-transform-react-display-name@^6.23.0:
   dependencies:
     babel-runtime "^6.22.0"
 
+babel-plugin-transform-react-inline-elements@^6.22.0:
+  version "6.22.0"
+  resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-inline-elements/-/babel-plugin-transform-react-inline-elements-6.22.0.tgz#6687211a32b49a52f22c573a2b5504a25ef17c53"
+  dependencies:
+    babel-runtime "^6.22.0"
+
 babel-plugin-transform-react-jsx-self@6.22.0, babel-plugin-transform-react-jsx-self@^6.22.0:
   version "6.22.0"
   resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz#df6d80a9da2612a121e6ddd7558bcbecf06e636e"