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