aboutsummaryrefslogtreecommitdiffstats
path: root/babel.config.json
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-07 07:52:31 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-07 07:52:31 +0200
commit91645e58be8324f0496eb8ddceffef8644378091 (patch)
tree5a4c28762a9ad32db6fa7eb8d0a4c5156c2dd152 /babel.config.json
parentchore: set gitattributes so that binary files aren't corrupted [skip ci] (diff)
downloadferdium-app-91645e58be8324f0496eb8ddceffef8644378091.tar.gz
ferdium-app-91645e58be8324f0496eb8ddceffef8644378091.tar.zst
ferdium-app-91645e58be8324f0496eb8ddceffef8644378091.zip
chore: simplify babel configuration (#2029)
Diffstat (limited to 'babel.config.json')
-rw-r--r--babel.config.json12
1 files changed, 1 insertions, 11 deletions
diff --git a/babel.config.json b/babel.config.json
index d24207a8c..03f768c6c 100644
--- a/babel.config.json
+++ b/babel.config.json
@@ -1,11 +1,10 @@
1{ 1{
2 "babelrcRoots": [".", "packages/*"],
3 "presets": [ 2 "presets": [
4 [ 3 [
5 "@babel/preset-env", 4 "@babel/preset-env",
6 { 5 {
7 "targets": { 6 "targets": {
8 "electron": 13 7 "electron": 15
9 } 8 }
10 } 9 }
11 ], 10 ],
@@ -18,27 +17,18 @@
18 "legacy": true 17 "legacy": true
19 } 18 }
20 ], 19 ],
21 "@babel/proposal-export-default-from",
22 [ 20 [
23 "@babel/proposal-class-properties", 21 "@babel/proposal-class-properties",
24 { 22 {
25 "loose": true 23 "loose": true
26 } 24 }
27 ], 25 ],
28 "@babel/proposal-throw-expressions",
29 "@babel/syntax-dynamic-import",
30 [ 26 [
31 "formatjs", 27 "formatjs",
32 { 28 {
33 "idInterpolationPattern": "[sha512:contenthash:base64:6]", 29 "idInterpolationPattern": "[sha512:contenthash:base64:6]",
34 "ast": true 30 "ast": true
35 } 31 }
36 ],
37 [
38 "@babel/plugin-proposal-private-methods",
39 {
40 "loose": true
41 }
42 ] 32 ]
43 ], 33 ],
44 "sourceMaps": "inline" 34 "sourceMaps": "inline"