Skip to content

Commit 989838f

Browse files
😒 chore(deps-dev): Configure babel.
1 parent 9c0f8f0 commit 989838f

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
@@ -19,7 +19,56 @@
1919
"@babel/preset-env"
2020
],
2121
"env": {
22+
"test": {
23+
"presets": [
24+
"babel-preset-power-assert"
25+
],
26+
"plugins": [
27+
[
28+
"transform-remove-console",
29+
{
30+
"exclude": [
31+
"log",
32+
"error",
33+
"warn"
34+
]
35+
}
36+
]
37+
],
38+
"sourceMaps": "inline"
39+
},
2240
"development": {
41+
"presets": [
42+
"babel-preset-power-assert"
43+
],
44+
"plugins": [
45+
[
46+
"transform-remove-console",
47+
{
48+
"exclude": [
49+
"log",
50+
"error",
51+
"warn"
52+
]
53+
}
54+
]
55+
],
56+
"sourceMaps": "inline"
57+
},
58+
"production": {
59+
"plugins": [
60+
"babel-plugin-unassert",
61+
[
62+
"transform-remove-console",
63+
{
64+
"exclude": [
65+
"log",
66+
"error",
67+
"warn"
68+
]
69+
}
70+
]
71+
],
2372
"sourceMaps": "inline"
2473
}
2574
}

0 commit comments

Comments
 (0)