This repository was archived by the owner on Nov 13, 2021. It is now read-only.
Commit 7fd2212
committed
fix(targets): ensure we only transpile what's necessary
before this commit we were still reading from:
- user babelrc
- user TypeScript compilerOptions (while we need different ones)
- browserlists
before this commit we were trying to minize code down to ES5 which would code
weird issues with modules like Knex:
`Class constructor cannot be invoked without 'new'`
Which resulted in heavily transpiled code while Node.js do not need so much
changes.
It's now a lot better. Enjoy.1 parent 43c18b0 commit 7fd2212
4 files changed
+34
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
208 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
209 | 222 | | |
210 | 223 | | |
211 | 224 | | |
| |||
215 | 228 | | |
216 | 229 | | |
217 | 230 | | |
218 | | - | |
219 | | - | |
220 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
221 | 234 | | |
222 | 235 | | |
223 | 236 | | |
| |||
229 | 242 | | |
230 | 243 | | |
231 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
232 | 248 | | |
233 | 249 | | |
234 | 250 | | |
| |||
240 | 256 | | |
241 | 257 | | |
242 | 258 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 259 | | |
248 | 260 | | |
249 | 261 | | |
| |||
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
268 | | - | |
| 280 | + | |
269 | 281 | | |
270 | 282 | | |
271 | 283 | | |
| |||
275 | 287 | | |
276 | 288 | | |
277 | 289 | | |
278 | | - | |
| 290 | + | |
279 | 291 | | |
280 | 292 | | |
281 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10776 | 10776 | | |
10777 | 10777 | | |
10778 | 10778 | | |
10779 | | - | |
10780 | | - | |
10781 | | - | |
10782 | | - | |
| 10779 | + | |
| 10780 | + | |
| 10781 | + | |
| 10782 | + | |
10783 | 10783 | | |
10784 | 10784 | | |
10785 | 10785 | | |
| |||
10960 | 10960 | | |
10961 | 10961 | | |
10962 | 10962 | | |
10963 | | - | |
10964 | | - | |
10965 | | - | |
10966 | | - | |
| 10963 | + | |
| 10964 | + | |
| 10965 | + | |
| 10966 | + | |
10967 | 10967 | | |
10968 | 10968 | | |
10969 | 10969 | | |
| |||
0 commit comments