karakanb / devo

A Chrome and Firefox extension that displays GitHub Trending, Hacker News, Product Hunt and Designer News on every new tab.
https://burakkarakan.com/devo/
MIT License
406 stars 47 forks source link

feature/remove axios dependency #49

Closed karakanb closed 4 years ago

karakanb commented 4 years ago

This PR replaces the axios dependency with the Fetch API, essentially resulting in one less dependency with a reduction of ~6.8% on the bundle size, bringing the total size to 177.75KiB.

  File                          Size                   Gzipped

  dist/js/chunk-vendors.js      177.75 KiB             60.65 KiB
  dist/js/app.js                35.41 KiB              7.87 KiB
  dist/css/app.css              15.89 KiB              3.08 KiB
  dist/css/chunk-vendors.css    12.15 KiB              1.58 KiB