diff --git a/.babelrc b/.babelrc new file mode 100644 index 00000000..945c87a8 --- /dev/null +++ b/.babelrc @@ -0,0 +1,18 @@ +{ + "plugins": [ + [ + "transform-runtime", { + "helpers": false, + "polyfill": false, + "regenerator": true, + "moduleName": "babel-runtime" + } + ], + "react-hot-loader/babel"], + "presets": ["es2015", "react", "stage-0", "flow"], + "env": { + "production": { + "presets": ["react-optimize"] + } + } +}