summaryrefslogtreecommitdiff
path: root/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc27
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": []
+ }
+ }
+}