This release introduces the sourcemaps
option. This option switches to a new system of handling source maps in Sentry.
While the old system is still available via the include
option, the recommended way forward is the sourcemaps
option.
You can configure the sourcemaps
option as follows:
plugin({
org: "Your organization",
project: "Your project",
authToken: "Your auth token",
sourcemaps: {
// Specify the directory containing build artifacts
assets: "./dist/**",
},
});