Skip to content

Commit a7bb0a0

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

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

package.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,30 @@
157157
]
158158
]
159159
},
160-
"cover": {},
160+
"cover": {
161+
"sourceMaps": "both",
162+
"presets": [
163+
[
164+
"@babel/preset-env",
165+
{
166+
"targets": "current node"
167+
}
168+
],
169+
"babel-preset-power-assert"
170+
],
171+
"plugins": [
172+
[
173+
"transform-remove-console",
174+
{
175+
"exclude": [
176+
"log",
177+
"error",
178+
"warn"
179+
]
180+
}
181+
]
182+
]
183+
},
161184
"development": {
162185
"presets": [
163186
"babel-preset-power-assert"

0 commit comments

Comments
 (0)