Skip to content

Commit 8601949

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

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

0 commit comments

Comments
 (0)