summaryrefslogtreecommitdiff
path: root/.babelrc
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-05-30 17:27:04 +0200
committerJules Laplace <julescarbon@gmail.com>2020-05-30 17:27:04 +0200
commit0890fdd951d021308550a0db2e7b6f2593512957 (patch)
treea0050b153242ccde662fc0a957a79fc7a7edc4b4 /.babelrc
initial site copied in
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..1bac7e8
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,20 @@
+{
+ "presets": [
+ ["@babel/preset-env", {
+ "debug": false,
+ "modules": false,
+ "useBuiltIns": false
+ }],
+ "@babel/preset-react"
+ ],
+ "plugins": [
+ "@babel/plugin-transform-runtime",
+ [ "@babel/plugin-proposal-class-properties", { "loose": true } ],
+ "transform-async-to-generator"
+ ],
+ "env": {
+ "production": {
+ "presets": []
+ }
+ }
+}