Skip to content

Commit 6f56765

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/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 0f15371 commit 6f56765

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
@@ -159,7 +159,30 @@
159159
]
160160
]
161161
},
162-
"cover": {},
162+
"cover": {
163+
"sourceMaps": "both",
164+
"presets": [
165+
[
166+
"@babel/preset-env",
167+
{
168+
"targets": "current node"
169+
}
170+
],
171+
"babel-preset-power-assert"
172+
],
173+
"plugins": [
174+
[
175+
"transform-remove-console",
176+
{
177+
"exclude": [
178+
"log",
179+
"error",
180+
"warn"
181+
]
182+
}
183+
]
184+
]
185+
},
163186
"development": {
164187
"presets": [
165188
"babel-preset-power-assert"

0 commit comments

Comments
 (0)