File tree 1 file changed +49
-3
lines changed
1 file changed +49
-3
lines changed Original file line number Diff line number Diff line change 17
17
"presets" : [
18
18
" @babel/preset-env"
19
19
],
20
- "plugins" : [
21
- " @babel/plugin-proposal-async-generator-functions"
22
- ],
23
20
"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
+ },
24
39
"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
+ ],
25
71
"sourceMaps" : " inline"
26
72
}
27
73
}
You can’t perform that action at this time.
0 commit comments