aboutsummaryrefslogtreecommitdiffstats
path: root/.babelrc
diff options
context:
space:
mode:
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc25
1 files changed, 21 insertions, 4 deletions
diff --git a/.babelrc b/.babelrc
index 3ea65a54e..0e81c4ef9 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,14 +1,31 @@
1{ 1{
2 "presets": [ 2 "presets": [
3 "@babel/env", 3 [
4 "@babel/preset-env",
5 {
6 "targets": {
7 "electron": 2
8 }
9 }
10 ],
4 "@babel/react" 11 "@babel/react"
5 ], 12 ],
6 "plugins": [ 13 "plugins": [
7 ["@babel/plugin-proposal-decorators", { "legacy": true }], 14 [
15 "@babel/plugin-proposal-decorators",
16 {
17 "legacy": true
18 }
19 ],
8 "@babel/proposal-export-default-from", 20 "@babel/proposal-export-default-from",
9 ["@babel/proposal-class-properties", { "loose": true }], 21 [
22 "@babel/proposal-class-properties",
23 {
24 "loose": true
25 }
26 ],
10 "@babel/proposal-throw-expressions", 27 "@babel/proposal-throw-expressions",
11 "@babel/syntax-dynamic-import" 28 "@babel/syntax-dynamic-import"
12 ], 29 ],
13 "sourceMaps": "inline" 30 "sourceMaps": "inline"
14} 31} \ No newline at end of file