File tree 1 file changed +33
-55
lines changed
1 file changed +33
-55
lines changed Original file line number Diff line number Diff line change 90
90
[
91
91
" @babel/preset-env" ,
92
92
{
93
- "targets" : [
94
- " defaults" ,
95
- " maintained node versions"
93
+ "targets" : " current node"
94
+ }
95
+ ]
96
+ ],
97
+ "plugins" : [
98
+ [
99
+ " transform-remove-console" ,
100
+ {
101
+ "exclude" : [
102
+ " log" ,
103
+ " error" ,
104
+ " warn"
96
105
]
97
106
}
98
107
]
101
110
"debug" : {
102
111
"sourceMaps" : " both" ,
103
112
"presets" : [
104
- [
105
- " @babel/preset-env" ,
106
- {
107
- "targets" : " current node"
108
- }
109
- ],
110
- " babel-preset-power-assert"
111
- ]
112
- },
113
- "test" : {
114
- "sourceMaps" : " both" ,
115
- "presets" : [
116
- [
117
- " @babel/preset-env" ,
118
- {
119
- "targets" : " current node"
120
- }
121
- ],
122
113
" babel-preset-power-assert"
123
114
],
124
115
"plugins" : [
125
116
[
126
117
" transform-remove-console" ,
127
118
{
128
119
"exclude" : [
120
+ " debug" ,
129
121
" log" ,
130
122
" error" ,
131
123
" warn"
134
126
]
135
127
]
136
128
},
129
+ "test" : {
130
+ "sourceMaps" : " both" ,
131
+ "presets" : [
132
+ " babel-preset-power-assert"
133
+ ]
134
+ },
137
135
"cover" : {
138
136
"sourceMaps" : " both" ,
139
137
"presets" : [
140
- [
141
- " @babel/preset-env" ,
142
- {
143
- "targets" : " current node"
144
- }
145
- ],
146
138
" babel-preset-power-assert"
147
- ],
148
- "plugins" : [
149
- [
150
- " transform-remove-console" ,
151
- {
152
- "exclude" : [
153
- " log" ,
154
- " error" ,
155
- " warn"
156
- ]
157
- }
158
- ]
159
139
]
160
140
},
161
141
"development" : {
162
142
"presets" : [
163
- " babel-preset-power-assert"
164
- ],
165
- "plugins" : [
166
143
[
167
- " transform-remove-console " ,
144
+ " @babel/preset-env " ,
168
145
{
169
- "exclude" : [
170
- " log" ,
171
- " error" ,
172
- " warn"
146
+ "targets" : [
147
+ " defaults" ,
148
+ " maintained node versions"
173
149
]
174
150
}
175
- ]
151
+ ],
152
+ " babel-preset-power-assert"
176
153
]
177
154
},
178
155
"production" : {
179
- "plugins" : [
180
- " babel-plugin-unassert" ,
156
+ "presets" : [
181
157
[
182
- " transform-remove-console " ,
158
+ " @babel/preset-env " ,
183
159
{
184
- "exclude" : [
185
- " log" ,
186
- " error" ,
187
- " warn"
160
+ "targets" : [
161
+ " defaults" ,
162
+ " maintained node versions"
188
163
]
189
164
}
190
165
]
166
+ ],
167
+ "plugins" : [
168
+ " babel-plugin-unassert"
191
169
]
192
170
}
193
171
}
You can’t perform that action at this time.
0 commit comments