openzipkin / zipkin-browser-extension

Chrome and Firefox browser extensions for Zipkin
Apache License 2.0
25 stars 13 forks source link

Upgrade webpack #16

Closed SimenB closed 7 years ago

SimenB commented 7 years ago

This upgrades webpack to the latest version, which is quicker, and produces smaller bundles.

It also migrates the transpilation to babel-preset-env meaning we don't transpile nearly as much as we used to, since we don't have to (browser support is catching up on newer syntax). It now only transpiles what's needed for the last 2 versions of Chrome and Firefox (according to https://caniuse.com/). Do tell if you think we should work on older versions as well (all modern browsers are evergreen, so I don't think that's necessary - up to you, though!)

SimenB commented 7 years ago

The reason I did is, beyond the fact that we should use the newest version of stuff, is that we need the newer versions if I am to use async/await - which I want to 😄