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