Skip to content

Commit 243e33e

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/b7b7316fcc320ee7d249b0aa391d9a196c944421/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 10b6ae4 commit 243e33e

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
@@ -95,7 +95,30 @@
9595
"development": {
9696
"sourceMaps": "inline"
9797
},
98-
"cover": {}
98+
"cover": {
99+
"sourceMaps": "both",
100+
"presets": [
101+
[
102+
"@babel/preset-env",
103+
{
104+
"targets": "current node"
105+
}
106+
],
107+
"babel-preset-power-assert"
108+
],
109+
"plugins": [
110+
[
111+
"transform-remove-console",
112+
{
113+
"exclude": [
114+
"log",
115+
"error",
116+
"warn"
117+
]
118+
}
119+
]
120+
]
121+
}
99122
}
100123
},
101124
"xo": {

0 commit comments

Comments
 (0)