Skip to content

Commit fcd93d6

Browse files
🤖 config(babel): Setup cover environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/c0306a0431f42510000cc745a99bc61ad7710a7a/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 2b0e704 commit fcd93d6

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

package.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,30 @@
183183
]
184184
]
185185
},
186-
"cover": {}
186+
"cover": {
187+
"sourceMaps": "both",
188+
"presets": [
189+
[
190+
"@babel/preset-env",
191+
{
192+
"targets": "current node"
193+
}
194+
],
195+
"babel-preset-power-assert"
196+
],
197+
"plugins": [
198+
[
199+
"transform-remove-console",
200+
{
201+
"exclude": [
202+
"log",
203+
"error",
204+
"warn"
205+
]
206+
}
207+
]
208+
]
209+
}
187210
}
188211
},
189212
"lint-staged": {

0 commit comments

Comments
 (0)