Skip to content

Commit

Permalink
Don't transpile to ES5 (#772)
Browse files Browse the repository at this point in the history
* Don't transpile to ES5, no need to support IE11

* run npm audit fix

* reintroduce @babel/preset-env just for one single test with jest

* Bump dist
  • Loading branch information
vincentfretin authored Nov 14, 2024
1 parent a9901b9 commit ec38559
Show file tree
Hide file tree
Showing 7 changed files with 47,977 additions and 36,084 deletions.
7 changes: 6 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"presets": ["@babel/preset-env", ["@babel/preset-react", {"runtime": "automatic"}]]
"env": {
"testing": {
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}
},
"presets": [["@babel/preset-react", { "runtime": "automatic" }]]
}
Loading

0 comments on commit ec38559

Please sign in to comment.