Skip to content

Commit a9c7c37

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

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
@@ -178,7 +178,30 @@
178178
]
179179
]
180180
},
181-
"cover": {}
181+
"cover": {
182+
"sourceMaps": "both",
183+
"presets": [
184+
[
185+
"@babel/preset-env",
186+
{
187+
"targets": "current node"
188+
}
189+
],
190+
"babel-preset-power-assert"
191+
],
192+
"plugins": [
193+
[
194+
"transform-remove-console",
195+
{
196+
"exclude": [
197+
"log",
198+
"error",
199+
"warn"
200+
]
201+
}
202+
]
203+
]
204+
}
182205
}
183206
},
184207
"lint-staged": {

0 commit comments

Comments
 (0)