bugsnag / webpack-bugsnag-plugins

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

[PLAT-5092] Upgrade to new @bugsnag/source-maps module #48

Closed bengourley closed 3 years ago

bengourley commented 4 years ago

Goal

bugsnag-sourcemaps will eventually be deprecated. @bugsnag/source-maps is currently in development and will soon be released. This converts the BugsnagSourceMapUploaderPlugin class to use a prerelease version of the new module to ensure it works and has everything it needs.

Changeset

Updated tape to get the t.match() assertion. Removed bugsnag-sourcemaps and replaced it with @bugsnag/source-maps. Convert usage of the source map library to the new API.

Testing

Existing tests cover the functionality. Some tweaks were made to match paths, where full paths are now provided by the updated module.


Note: this PR will remain in draft until @bugsnag/source-maps v1.0.0 is released.