Commit dd0615a
committed
gen-mapping: Use
esbuild transpiles object-spread syntax into a call to `Object.getOwnPropertyDescriptors`, which isn't defined in Node v6. Using Object.assign accomplishes the same goal without needing a polyfill.Object.assign to avoid needing getOwnPropertyDescriptors polyfill1 parent 557ca37 commit dd0615a
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
| 290 | + | |
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
295 | | - | |
| 294 | + | |
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
| |||
0 commit comments