File tree 1 file changed +50
-1
lines changed
1 file changed +50
-1
lines changed Original file line number Diff line number Diff line change 11
11
},
12
12
"babel" : {
13
13
"presets" : [
14
- " latest "
14
+ " @babel/preset-env "
15
15
],
16
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
+ },
17
35
"development" : {
36
+ "presets" : [
37
+ " babel-preset-power-assert"
38
+ ],
39
+ "plugins" : [
40
+ [
41
+ " transform-remove-console" ,
42
+ {
43
+ "exclude" : [
44
+ " log" ,
45
+ " error" ,
46
+ " warn"
47
+ ]
48
+ }
49
+ ]
50
+ ],
51
+ "sourceMaps" : " inline"
52
+ },
53
+ "production" : {
54
+ "plugins" : [
55
+ " babel-plugin-unassert" ,
56
+ [
57
+ " transform-remove-console" ,
58
+ {
59
+ "exclude" : [
60
+ " log" ,
61
+ " error" ,
62
+ " warn"
63
+ ]
64
+ }
65
+ ]
66
+ ],
18
67
"sourceMaps" : " inline"
19
68
}
20
69
}
You can’t perform that action at this time.
0 commit comments