diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..c7d8b18 --- /dev/null +++ b/.babelrc @@ -0,0 +1,25 @@ +{ + "env": { + "module": { + "presets": [ + ["env", { + "targets": { + "node": "6", + "browsers": ["last 2 versions", "safari >= 7", "not ie < 11"] + }, + "modules": false + }], + "stage-0" + ] + }, + "main": { + "presets": ["env", "stage-0"] + } + }, + "plugins": [ + "transform-class-properties", + "transform-object-rest-spread", + "transform-runtime", + "transform-es2015-classes" + ] +}