diff options
Diffstat (limited to '.babelrc')
| -rw-r--r-- | .babelrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..afa37c3 --- /dev/null +++ b/.babelrc @@ -0,0 +1,25 @@ +{ + "presets": [ + "@babel/preset-react", + [ + "@babel/preset-env", + { + "targets": { + "browsers": "last 2 versions" + }, + "modules": false, + "loose": false + } + ] + ], + "plugins": [ + "transform-class-properties" + ], + "env": { + "test": { + "plugins": [ + "transform-es2015-modules-commonjs" + ] + } + } +} |
