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 Nov 23, 2020
1 parent f365882 commit 77d98a5
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 77d98a5

Please sign in to comment.