Skip to content

Commit f4e7e3f

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 c4ea7f9 commit f4e7e3f

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
@@ -132,7 +132,30 @@
132132
]
133133
]
134134
},
135-
"cover": {},
135+
"cover": {
136+
"sourceMaps": "both",
137+
"presets": [
138+
[
139+
"@babel/preset-env",
140+
{
141+
"targets": "current node"
142+
}
143+
],
144+
"babel-preset-power-assert"
145+
],
146+
"plugins": [
147+
[
148+
"transform-remove-console",
149+
{
150+
"exclude": [
151+
"log",
152+
"error",
153+
"warn"
154+
]
155+
}
156+
]
157+
]
158+
},
136159
"development": {
137160
"sourceMaps": "inline",
138161
"presets": [

0 commit comments

Comments
 (0)