Skip to content

Commit bf7843d

Browse files
🤖 config(babel): Setup cover environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/eb1b209cd7aa675a642d48b2a788c2c6112779f7/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 8487c9c commit bf7843d

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

0 commit comments

Comments
 (0)