Skip to content

Commit d68fa37

Browse files
Fix: Adjust babel config to make semantic release work
1 parent c5df5f6 commit d68fa37

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.babelrc

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
{
2-
"presets": ["@babel/preset-react", "@babel/preset-env"],
3-
"plugins": [
4-
["@babel/plugin-proposal-decorators", { "legacy": true }],
5-
"@babel/plugin-proposal-class-properties"
6-
]
2+
"presets": [
3+
"@babel/preset-react",
4+
[
5+
"@babel/preset-env",
6+
{
7+
"useBuiltIns": "usage",
8+
"corejs": "3.0.0",
9+
"targets": {
10+
"esmodules": true,
11+
"ie": "11"
12+
}
13+
}
14+
]
15+
],
16+
"plugins": [
17+
["@babel/plugin-proposal-decorators", { "legacy": true }],
18+
"@babel/plugin-proposal-class-properties"
19+
]
720
}

0 commit comments

Comments
 (0)