Skip to content

Commit b0ecbb7

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/042c55f2254a9efdce5074d537141d6f85a98927/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 9721592 commit b0ecbb7

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
@@ -146,7 +146,30 @@
146146
]
147147
]
148148
},
149-
"cover": {},
149+
"cover": {
150+
"sourceMaps": "both",
151+
"presets": [
152+
[
153+
"@babel/preset-env",
154+
{
155+
"targets": "current node"
156+
}
157+
],
158+
"babel-preset-power-assert"
159+
],
160+
"plugins": [
161+
[
162+
"transform-remove-console",
163+
{
164+
"exclude": [
165+
"log",
166+
"error",
167+
"warn"
168+
]
169+
}
170+
]
171+
]
172+
},
150173
"development": {
151174
"presets": [
152175
"babel-preset-power-assert"

0 commit comments

Comments
 (0)