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