Skip to content

Commit

Permalink
Add babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaeftekhar committed Aug 9, 2023
1 parent afc91a4 commit 67b7548
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"presets": [
[
"@babel/preset-env", {
"forceAllTransforms": true,
"useBuiltIns": "entry",
"corejs": 3,
"modules": false
}
],
["@babel/preset-react"]
],
"plugins": [
"@babel/plugin-transform-classes",
[
"@babel/plugin-transform-runtime",
{
"helpers": false,
"regenerator": true,
"corejs": false
}
],
["@babel/plugin-transform-regenerator", { "async": false }]
]
}

0 comments on commit 67b7548

Please sign in to comment.