Skip to content

Commit 0450095

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

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
@@ -120,7 +120,30 @@
120120
]
121121
]
122122
},
123-
"cover": {},
123+
"cover": {
124+
"sourceMaps": "both",
125+
"presets": [
126+
[
127+
"@babel/preset-env",
128+
{
129+
"targets": "current node"
130+
}
131+
],
132+
"babel-preset-power-assert"
133+
],
134+
"plugins": [
135+
[
136+
"transform-remove-console",
137+
{
138+
"exclude": [
139+
"log",
140+
"error",
141+
"warn"
142+
]
143+
}
144+
]
145+
]
146+
},
124147
"development": {
125148
"sourceMaps": "inline",
126149
"presets": [

0 commit comments

Comments
 (0)