]> git.cworth.org Git - lmno.games/blobdiff - .babelrc
Makefile: Add support to use babel to compile React code using JSX
[lmno.games] / .babelrc
diff --git a/.babelrc b/.babelrc
new file mode 100644 (file)
index 0000000..b182744
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,13 @@
+{
+  "presets": ["react"],
+  "env": {
+    "production": {
+    },
+    "development": {
+      "plugins": [
+        "transform-react-jsx-self",
+        "transform-react-jsx-source"
+      ]
+    }
+  }
+}