Skip to content

Commit

Permalink
chore: use json babel
Browse files Browse the repository at this point in the history
  • Loading branch information
tenstad committed Dec 29, 2024
1 parent 5e98c89 commit 844e20d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 0 additions & 4 deletions babel.config.js

This file was deleted.

20 changes: 20 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
[
"babel-plugin-styled-components",
{
"displayName": true
}
]
]
}
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config: Config = {
"\\.jsx?$": [
"babel-jest",
{
configFile: "./babel.config.js",
configFile: "./babel.config.json",
},
],
},
Expand Down

0 comments on commit 844e20d

Please sign in to comment.