Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(babelrc): add missing env for "test" because Jest run with NODE_E…
Browse files Browse the repository at this point in the history
…NV=test by default
  • Loading branch information
samouss committed Nov 1, 2017
1 parent 5d0d80e commit 9baf0aa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@
"transform-regenerator"
]
},
"test": {
"presets": [
["env", {
"targets": {
"browsers": [
"last 2 versions",
"ie >= 9",
],
},
}],
"react",
"stage-2",
],
"plugins": [
"lodash",
"inline-json-import",
],
},
"production": {
"presets": [
["env", {
Expand Down

0 comments on commit 9baf0aa

Please sign in to comment.