From f8e4c801dffdbdb307a93daf2ece4e8702eeb3af Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Tue, 12 Dec 2017 10:33:28 +0100 Subject: [PATCH] Revert "remove babel rc" This reverts commit 5c5ddad0b927cc54db4d28871f7b5e9d2142c0b2. --- .babelrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..e7a9e23 --- /dev/null +++ b/.babelrc @@ -0,0 +1,25 @@ +{ + "env": { + "module": { + "presets": [ + ["env", { + "targets": { "node": "6" }, + "modules": false + }], + "stage-0", + "react" + ] + }, + "main": { + "presets": ["env", "stage-0", "react"] + } + }, + "plugins": [ + "babel-plugin-transform-regenerator", + "babel-plugin-transform-object-rest-spread", + "babel-plugin-inline-import", + "babel-plugin-transform-class-properties", + "babel-plugin-transform-es2015-classes", + "babel-plugin-syntax-dynamic-import" + ] +}