Skip to content

Commit c10f80c

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 65df8ef commit c10f80c

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

0 commit comments

Comments
 (0)