diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-01 12:55:45 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-08-01 12:55:45 +0530 |
commit | b46f9d5e80488e863c3e98b29c018991ccc08fc1 (patch) | |
tree | 2187c1cb4e04192090d15b4d74a96005e4e02592 /.babelrc | |
parent | 5.6.1-nightly.10 [skip ci] (diff) | |
download | ferdium-app-b46f9d5e80488e863c3e98b29c018991ccc08fc1.tar.gz ferdium-app-b46f9d5e80488e863c3e98b29c018991ccc08fc1.tar.zst ferdium-app-b46f9d5e80488e863c3e98b29c018991ccc08fc1.zip |
Migrated babel config according to https://babeljs.io/docs/en/v7-migration
Diffstat (limited to '.babelrc')
-rw-r--r-- | .babelrc | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 6c589d42e..000000000 --- a/.babelrc +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | { | ||
2 | "presets": [ | ||
3 | [ | ||
4 | "@babel/preset-env", | ||
5 | { | ||
6 | "targets": { | ||
7 | "electron": 13 | ||
8 | } | ||
9 | } | ||
10 | ], | ||
11 | "@babel/react" | ||
12 | ], | ||
13 | "plugins": [ | ||
14 | [ | ||
15 | "@babel/plugin-proposal-decorators", | ||
16 | { | ||
17 | "legacy": true | ||
18 | } | ||
19 | ], | ||
20 | "@babel/proposal-export-default-from", | ||
21 | [ | ||
22 | "@babel/proposal-class-properties", | ||
23 | { | ||
24 | "loose": true | ||
25 | } | ||
26 | ], | ||
27 | "@babel/proposal-throw-expressions", | ||
28 | "@babel/syntax-dynamic-import", | ||
29 | [ | ||
30 | "react-intl", | ||
31 | { | ||
32 | "messagesDir": "./src/i18n/messages/", | ||
33 | "enforceDescriptions": false, | ||
34 | "extractSourceLocation": true | ||
35 | } | ||
36 | ], | ||
37 | [ | ||
38 | "@babel/plugin-proposal-private-methods", | ||
39 | { | ||
40 | "loose": true | ||
41 | } | ||
42 | ] | ||
43 | ], | ||
44 | "sourceMaps": "inline" | ||
45 | } | ||