Skip to content

Commit 755904d

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

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
@@ -101,7 +101,30 @@
101101
]
102102
],
103103
"env": {
104-
"cover": {},
104+
"cover": {
105+
"sourceMaps": "both",
106+
"presets": [
107+
[
108+
"@babel/preset-env",
109+
{
110+
"targets": "current node"
111+
}
112+
],
113+
"babel-preset-power-assert"
114+
],
115+
"plugins": [
116+
[
117+
"transform-remove-console",
118+
{
119+
"exclude": [
120+
"log",
121+
"error",
122+
"warn"
123+
]
124+
}
125+
]
126+
]
127+
},
105128
"development": {
106129
"sourceMaps": "inline"
107130
}

0 commit comments

Comments
 (0)