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