Skip to content

Commit 1ef72a2

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

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

0 commit comments

Comments
 (0)