Skip to content

Commit 4b6d963

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 1da442c commit 4b6d963

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

0 commit comments

Comments
 (0)