Skip to content

Commit

Permalink
feat: add babel
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Oct 12, 2023
1 parent 5af8a74 commit af5fbdc
Show file tree
Hide file tree
Showing 4 changed files with 1,537 additions and 4,455 deletions.
21 changes: 10 additions & 11 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"env": {
"test": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
},
"presets": [
[
"@babel/env",
"@diplodoc/babel-preset",
{
"loose": true,
"modules": false,
"exclude": ["transform-typeof-symbol"]
"env": {
"loose": true,
"modules": false,
"exclude": ["transform-typeof-symbol"]
},
"typescript": true
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
}
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
}
7 changes: 1 addition & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,5 @@
"project": ["./tsconfig.transform.json", "./tsconfig.json"]
}
}
],
"settings": {
"react": {
"version": "detect"
}
}
]
}
Loading

0 comments on commit af5fbdc

Please sign in to comment.