Skip to content

Commit 12c0d58

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/8134808bd3e9bcbb3e4b2ca5401e2dee58965a01/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent e473f0d commit 12c0d58

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
@@ -128,7 +128,30 @@
128128
]
129129
]
130130
},
131-
"cover": {},
131+
"cover": {
132+
"sourceMaps": "both",
133+
"presets": [
134+
[
135+
"@babel/preset-env",
136+
{
137+
"targets": "current node"
138+
}
139+
],
140+
"babel-preset-power-assert"
141+
],
142+
"plugins": [
143+
[
144+
"transform-remove-console",
145+
{
146+
"exclude": [
147+
"log",
148+
"error",
149+
"warn"
150+
]
151+
}
152+
]
153+
]
154+
},
132155
"development": {
133156
"sourceMaps": "inline",
134157
"presets": [

0 commit comments

Comments
 (0)