Skip to content

Commit

Permalink
fix(babel): fix @babel/env
Browse files Browse the repository at this point in the history
migrate from @babel/preset-env to @babel/env
  • Loading branch information
sharvit committed Dec 29, 2018
1 parent fccbdb2 commit b0a74f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
[
"@babel/preset-env",
"@babel/env",
{
"targets": { "node": 8 }
}
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.js$": "babel-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/templates/"
Expand Down
2 changes: 1 addition & 1 deletion src/app/templates/_babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
[
"@babel/preset-env",
"@babel/env",
{
"targets": { "node": 6 }
}
Expand Down

0 comments on commit b0a74f3

Please sign in to comment.