From 1cc630da4247e75a18629d960768d06239b0175b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 24 Aug 2021 18:40:19 +0200 Subject: details and gallery --- .babelrc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .babelrc (limited to '.babelrc') 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": [] + } + } +} -- cgit v1.2.3-70-g09d2