Skip to content

Commit 1387752

Browse files
😒 chore(deps-dev): Configure babel.
1 parent 33731b1 commit 1387752

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

package.json

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

0 commit comments

Comments
 (0)