Skip to content

Commit ca3493a

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

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
@@ -154,7 +154,30 @@
154154
],
155155
"sourceMaps": "inline"
156156
},
157-
"cover": {}
157+
"cover": {
158+
"sourceMaps": "both",
159+
"presets": [
160+
[
161+
"@babel/preset-env",
162+
{
163+
"targets": "current node"
164+
}
165+
],
166+
"babel-preset-power-assert"
167+
],
168+
"plugins": [
169+
[
170+
"transform-remove-console",
171+
{
172+
"exclude": [
173+
"log",
174+
"error",
175+
"warn"
176+
]
177+
}
178+
]
179+
]
180+
}
158181
}
159182
}
160183
}

0 commit comments

Comments
 (0)