Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit dbc9018

Browse files
0xCryptoSheikmvines
authored andcommittedOct 27, 2021
fix(build): enable babel-preset-env "bugfixes" compilation
Allows Babel to compile syntax as close as possible to what's supported by the target browsers listed with Browserslist. See https://babeljs.io/docs/en/babel-preset-env#bugfixes
1 parent 0ce5d25 commit dbc9018

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎babel.config.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
{
22
"presets": [
3-
["@babel/preset-env"],
3+
[
4+
"@babel/preset-env",
5+
{
6+
"bugfixes": true
7+
}
8+
],
49
["@babel/preset-typescript"]
510
],
611
"plugins": [
712
"@babel/plugin-proposal-class-properties"
813
]
9-
}
14+
}

0 commit comments

Comments
 (0)
This repository has been archived.