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