diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-08-24 18:40:19 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-08-24 18:40:19 +0200 |
| commit | 1cc630da4247e75a18629d960768d06239b0175b (patch) | |
| tree | 15a21324740672b3dcfde0ad7123f5f8b20434a5 /.babelrc | |
| parent | 15cc8f97b68569332b19c9e716f02532a66b36c7 (diff) | |
details and gallery
Diffstat (limited to '.babelrc')
| -rw-r--r-- | .babelrc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..ca2b68b --- /dev/null +++ b/.babelrc @@ -0,0 +1,27 @@ +{ + "presets": [ + ["@babel/preset-env", { + "debug": false, + "modules": false, + "useBuiltIns": false + }], + "@babel/preset-react" + ], + "plugins": [ + "@babel/plugin-transform-runtime", + ["@babel/plugin-proposal-private-property-in-object", { "loose": true }], + ["@babel/plugin-proposal-private-methods", { "loose": true }], + [ "@babel/plugin-proposal-class-properties", { "loose": true } ], + "transform-async-to-generator", + ["module-resolver", { + "root": ["./frontend"], + "alias": { + } + }] + ], + "env": { + "production": { + "presets": [] + } + } +} |
