use @babel/preset-env

This commit is contained in:
Nebel 2022-02-23 18:04:43 +09:00
parent 997b123506
commit 0d1e6d9412
3 changed files with 406 additions and 659 deletions

View file

@ -1,3 +1,3 @@
{
"presets": ["@parcel/babel-preset"]
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}

View file

@ -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"
}

1061
yarn.lock

File diff suppressed because it is too large Load diff