You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!isDev) {
const SentryWebpackPlugin = require("@sentry/webpack-plugin");
config.plugins.push(
new SentryWebpackPlugin({
release: buildId,
include: ".next",
configFile: ".sentryclirc"
})
);
}
config.plugins.push(
new CleanWebpackPlugin({
cleanAfterEveryBuildPatterns: ["**/*.map"],
protectWebpackAssets: false
})
);
I want to delete the source maps after sentry uploads them. But this doesn't happen. I can still see the source maps and sentry doesn't show me the source map referenced error.
I am using Nextjs with next-source-maps for creating source maps.
Been stuck on this for hours. Any help?
The text was updated successfully, but these errors were encountered:
My build folder looks something like this:
and my webpack config looks something like this:
I want to delete the source maps after sentry uploads them. But this doesn't happen. I can still see the source maps and sentry doesn't show me the source map referenced error.
I am using Nextjs with
next-source-maps
for creating source maps.Been stuck on this for hours. Any help?
The text was updated successfully, but these errors were encountered: