diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-11-15 12:20:56 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-11-15 12:20:56 +0100 |
commit | 827f825c2b170935374524fbc9675c7cee8fd537 (patch) | |
tree | 29b2d110a61f5030949c987bdafd4260b6a018c6 | |
parent | Switch to npm (diff) | |
download | ferdium-app-827f825c2b170935374524fbc9675c7cee8fd537.tar.gz ferdium-app-827f825c2b170935374524fbc9675c7cee8fd537.tar.zst ferdium-app-827f825c2b170935374524fbc9675c7cee8fd537.zip |
Update .babelrc
-rw-r--r-- | .babelrc | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,19 +1,14 @@ | |||
1 | { | 1 | { |
2 | "presets": [ | 2 | "presets": [ |
3 | [ | 3 | "@babel/env", |
4 | "babel-preset-env", | 4 | "@babel/react" |
5 | { | ||
6 | "targets": { | ||
7 | "electron": "1.7.2" | ||
8 | } | ||
9 | } | ||
10 | ], | ||
11 | "babel-preset-react" | ||
12 | ], | 5 | ], |
13 | "plugins": [ | 6 | "plugins": [ |
14 | "transform-decorators-legacy", | 7 | ["@babel/plugin-proposal-decorators", { "legacy": true }], |
15 | "transform-flow-strip-types", | 8 | "@babel/proposal-export-default-from", |
16 | "transform-class-properties", | 9 | ["@babel/proposal-class-properties", { "loose": true }], |
10 | "@babel/proposal-throw-expressions", | ||
11 | "@babel/syntax-dynamic-import" | ||
17 | ], | 12 | ], |
18 | "sourceMaps": "inline" | 13 | "sourceMaps": "inline" |
19 | } | 14 | } |