about summary refs log tree commit diff
path: root/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc22
1 files changed, 20 insertions, 2 deletions
diff --git a/.babelrc b/.babelrc
index 928d32e3b..2c4d9aab3 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,7 +1,25 @@
 {
-  "presets": ["es2015", "react"],
+  "presets": [
+    "es2015",
+    "react",
+    [
+      "env",
+      {
+        "loose": true,
+        "modules": false
+      }
+    ]
+  ],
   "plugins": [
+    "transform-react-jsx-source",
+    "transform-react-jsx-self",
     "transform-decorators-legacy",
-    "transform-object-rest-spread"
+    "transform-object-rest-spread",
+    [
+      "react-intl",
+      {
+        "messagesDir": "./build/messages"
+      }
+    ]
   ]
 }