Skip to content

Commit

Permalink
🤖 config(babel): Refactor.
Browse files Browse the repository at this point in the history
These changes were automatically generated by a transform whose code can be found at:
  - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/babel:refactor-config.js
Please contact the author of the transform if you believe there was an error.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Aug 5, 2021
1 parent ac633c2 commit bfdf2d0
Showing 1 changed file with 32 additions and 54 deletions.
86 changes: 32 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,40 +107,33 @@
[
"@babel/preset-env",
{
"targets": [
"defaults",
"maintained node versions"
"targets": "current node"
}
]
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
],
"env": {
"debug": {
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
],
"babel-preset-power-assert"
]
},
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
],
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"debug",
"log",
"error",
"warn"
Expand All @@ -149,60 +142,45 @@
]
]
},
"test": {
"presets": [
"babel-preset-power-assert"
]
},
"cover": {
"sourceMaps": "both",
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
],
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
},
"development": {
"presets": [
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
"@babel/preset-env",
{
"exclude": [
"log",
"error",
"warn"
"targets": [
"defaults",
"maintained node versions"
]
}
]
],
"babel-preset-power-assert"
]
},
"production": {
"plugins": [
"babel-plugin-unassert",
"presets": [
[
"transform-remove-console",
"@babel/preset-env",
{
"exclude": [
"log",
"error",
"warn"
"targets": [
"defaults",
"maintained node versions"
]
}
]
],
"plugins": [
"babel-plugin-unassert"
]
}
}
Expand Down

0 comments on commit bfdf2d0

Please sign in to comment.