We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e66f04c commit 022ec75Copy full SHA for 022ec75
package.json
@@ -11,10 +11,59 @@
11
},
12
"babel": {
13
"presets": [
14
- "latest"
+ "@babel/preset-env"
15
],
16
"env": {
17
+ "test": {
18
+ "presets": [
19
+ "babel-preset-power-assert"
20
+ ],
21
+ "plugins": [
22
+ [
23
+ "transform-remove-console",
24
+ {
25
+ "exclude": [
26
+ "log",
27
+ "error",
28
+ "warn"
29
+ ]
30
+ }
31
32
33
+ "sourceMaps": "inline"
34
+ },
35
"development": {
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
+ "production": {
54
55
+ "babel-plugin-unassert",
56
57
58
59
60
61
62
63
64
65
66
67
"sourceMaps": "inline"
68
}
69
0 commit comments