File tree Expand file tree Collapse file tree 1 file changed +34
-56
lines changed Expand file tree Collapse file tree 1 file changed +34
-56
lines changed Original file line number Diff line number Diff line change 110
110
[
111
111
" @babel/preset-env" ,
112
112
{
113
- "targets" : [
114
- " defaults" ,
115
- " maintained node versions"
113
+ "targets" : " current node"
114
+ }
115
+ ]
116
+ ],
117
+ "plugins" : [
118
+ [
119
+ " transform-remove-console" ,
120
+ {
121
+ "exclude" : [
122
+ " log" ,
123
+ " error" ,
124
+ " warn"
116
125
]
117
126
}
118
127
]
119
128
],
120
129
"env" : {
121
130
"debug" : {
122
131
"presets" : [
123
- [
124
- " @babel/preset-env" ,
125
- {
126
- "targets" : " current node"
127
- }
128
- ],
129
- " babel-preset-power-assert"
130
- ]
131
- },
132
- "test" : {
133
- "presets" : [
134
- [
135
- " @babel/preset-env" ,
136
- {
137
- "targets" : " current node"
138
- }
139
- ],
140
132
" babel-preset-power-assert"
141
133
],
142
134
"plugins" : [
143
135
[
144
136
" transform-remove-console" ,
145
137
{
146
138
"exclude" : [
139
+ " debug" ,
147
140
" log" ,
148
141
" error" ,
149
142
" warn"
152
145
]
153
146
]
154
147
},
155
- "development " : {
148
+ "test " : {
156
149
"presets" : [
157
150
" babel-preset-power-assert"
158
- ],
159
- "plugins" : [
160
- [
161
- " transform-remove-console" ,
162
- {
163
- "exclude" : [
164
- " log" ,
165
- " error" ,
166
- " warn"
167
- ]
168
- }
169
- ]
170
- ]
171
- },
172
- "production" : {
173
- "plugins" : [
174
- " babel-plugin-unassert" ,
175
- [
176
- " transform-remove-console" ,
177
- {
178
- "exclude" : [
179
- " log" ,
180
- " error" ,
181
- " warn"
182
- ]
183
- }
184
- ]
185
151
]
186
152
},
187
153
"cover" : {
188
154
"sourceMaps" : " both" ,
155
+ "presets" : [
156
+ " babel-preset-power-assert"
157
+ ]
158
+ },
159
+ "development" : {
189
160
"presets" : [
190
161
[
191
162
" @babel/preset-env" ,
192
163
{
193
- "targets" : " current node"
164
+ "targets" : [
165
+ " defaults" ,
166
+ " maintained node versions"
167
+ ]
194
168
}
195
169
],
196
170
" babel-preset-power-assert"
197
- ],
198
- "plugins" : [
171
+ ]
172
+ },
173
+ "production" : {
174
+ "presets" : [
199
175
[
200
- " transform-remove-console " ,
176
+ " @babel/preset-env " ,
201
177
{
202
- "exclude" : [
203
- " log" ,
204
- " error" ,
205
- " warn"
178
+ "targets" : [
179
+ " defaults" ,
180
+ " maintained node versions"
206
181
]
207
182
}
208
183
]
184
+ ],
185
+ "plugins" : [
186
+ " babel-plugin-unassert"
209
187
]
210
188
}
211
189
}
You can’t perform that action at this time.
0 commit comments