File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 17
17
" @babel/preset-env"
18
18
],
19
19
"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
+ },
20
38
"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
+ ],
21
70
"sourceMaps" : " inline"
22
71
}
23
72
}
You can’t perform that action at this time.
0 commit comments