-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
10.23.0
Framework Version
Next 16.0.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
https://github.com/mizdra/repro-sentry-nextjs-css-source-map
The contents of next.config.ts are as follows:
import {withSentryConfig} from "@sentry/nextjs";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
export default withSentryConfig(nextConfig, {
silent: true,
widenClientFileUpload: true,
sourcemaps: {
deleteSourcemapsAfterUpload: true,
},
disableLogger: true,
});Steps to Reproduce
$ npm i
$ npm run build
$ find .next/static -name "*.map"Expected Result
The find command returns nothing.
Actual Result
The find command returns the Source Map for .css.
$ find .next/static -name "*.map"
.next/static/chunks/76bb3875a8d326ec.css.mapAdditional Context
The source maps for *.js have been deleted, but the source maps for *.css have not been deleted.
Metadata
Metadata
Assignees
Projects
Status
No status