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 24, 2020
1 parent 53217f9 commit 0548dac
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 @@ -18,7 +18,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 0548dac

Please sign in to comment.