Skip to content

Commit

Permalink
Use overrides for babel test configs (liferay#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
thektan committed Jul 1, 2019
1 parent f5b636f commit 354a39b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/liferay-npm-scripts/src/config/babel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,20 @@
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
],
"overrides": [
{
"test": "**/test/**/*.js",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
]
}

0 comments on commit 354a39b

Please sign in to comment.