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-mapsv1.0.0 is released.
Goal
bugsnag-sourcemaps
will eventually be deprecated.@bugsnag/source-maps
is currently in development and will soon be released. This converts theBugsnagSourceMapUploaderPlugin
class to use a prerelease version of the new module to ensure it works and has everything it needs.Changeset
Updated
tape
to get thet.match()
assertion. Removedbugsnag-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.