forked from AdguardTeam/AdGuardVPNExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
26 lines (26 loc) · 868 Bytes
/
babel.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = (api) => {
api.cache(false);
return {
presets: [
['@babel/preset-env', {
targets: {
chrome: '55',
ie: '15',
firefox: '52',
opera: '42',
},
}],
'@babel/preset-typescript',
'@babel/preset-react',
],
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
};
};