Skip to content

Commit

Permalink
😒 chore(deps-dev): Configure babel.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Oct 26, 2020
1 parent 489cb8e commit e201a72
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,56 @@
"@babel/preset-env"
],
"env": {
"test": {
"presets": [
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
],
"sourceMaps": "inline"
},
"development": {
"presets": [
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
],
"sourceMaps": "inline"
},
"production": {
"plugins": [
"babel-plugin-unassert",
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
],
"sourceMaps": "inline"
}
}
Expand Down

0 comments on commit e201a72

Please sign in to comment.