mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 22:08:00 +00:00
use @babel/preset-env
This commit is contained in:
parent
997b123506
commit
0d1e6d9412
3 changed files with 406 additions and 659 deletions
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"presets": ["@parcel/babel-preset"]
|
||||
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"build": "parcel build index.html"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/babel-preset": "^2.0.0-alpha.2",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"jest": "^27.5.1",
|
||||
"parcel": "^2.3.1"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue