Skip to content

Commit 91c02b9

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/042c55f2254a9efdce5074d537141d6f85a98927/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 036fc12 commit 91c02b9

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
@@ -113,7 +113,30 @@
113113
]
114114
]
115115
},
116-
"cover": {},
116+
"cover": {
117+
"sourceMaps": "both",
118+
"presets": [
119+
[
120+
"@babel/preset-env",
121+
{
122+
"targets": "current node"
123+
}
124+
],
125+
"babel-preset-power-assert"
126+
],
127+
"plugins": [
128+
[
129+
"transform-remove-console",
130+
{
131+
"exclude": [
132+
"log",
133+
"error",
134+
"warn"
135+
]
136+
}
137+
]
138+
]
139+
},
117140
"development": {
118141
"sourceMaps": "inline",
119142
"presets": [

0 commit comments

Comments
 (0)