Skip to content

Commit 80853a8

Browse files
😒 chore(deps-dev): Configure babel.
1 parent b978c41 commit 80853a8

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

package.json

+49
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,56 @@
1818
"@babel/preset-env"
1919
],
2020
"env": {
21+
"test": {
22+
"presets": [
23+
"babel-preset-power-assert"
24+
],
25+
"plugins": [
26+
[
27+
"transform-remove-console",
28+
{
29+
"exclude": [
30+
"log",
31+
"error",
32+
"warn"
33+
]
34+
}
35+
]
36+
],
37+
"sourceMaps": "inline"
38+
},
2139
"development": {
40+
"presets": [
41+
"babel-preset-power-assert"
42+
],
43+
"plugins": [
44+
[
45+
"transform-remove-console",
46+
{
47+
"exclude": [
48+
"log",
49+
"error",
50+
"warn"
51+
]
52+
}
53+
]
54+
],
55+
"sourceMaps": "inline"
56+
},
57+
"production": {
58+
"plugins": [
59+
"babel-plugin-unassert",
60+
[
61+
"transform-remove-console",
62+
{
63+
"exclude": [
64+
"log",
65+
"error",
66+
"warn"
67+
]
68+
}
69+
]
70+
],
2271
"sourceMaps": "inline"
2372
}
2473
}

0 commit comments

Comments
 (0)