bugsnag / webpack-bugsnag-plugins

Webpack plugins for common BugSnag actions.
MIT License
32 stars 29 forks source link

Can dependency on App Version be removed? #19

Closed azizhk closed 6 years ago

azizhk commented 6 years ago

Hey, so we have some caching of javascript assets across versions following this guide. https://webpack.js.org/guides/caching/

But the sourcemap uploader plugin has a dependency on app version because bugsnag website matches version and url both to extract sourcemap.

And then it fails fetching sourcemap for our error where we have retained a javascript asset across versions.

snmaynard commented 6 years ago

I recommend getting in touch with support@bugsnag.com for support on this one. However something to note,

You can upload a sourcemap for a URL across different app versions. So for example /vendor.abcdhashhere.js can be uploaded for both version 1.1 and 1.2 - even though they havent changed.

I'm going to close this issue as its not a bug with the plugin - but please do get in touch with support.

azizhk commented 6 years ago

I did contact support. They suggested stripping out version altogether from events and source maps. Zendesk ID: 12518

I replied saying that I'll try sending a constant version across builds. (Not happily though 😜)