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 18
18
" @babel/preset-env"
19
19
],
20
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
+ },
21
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
+ ],
22
71
"sourceMaps" : " inline"
23
72
}
24
73
}
You can’t perform that action at this time.
0 commit comments