Description
Description
As raised through #13270, asset detection for sourcemap upload in Next.js doesn't work on Windows.
After some research we found that it is likely due to the glob library, not allowing \
characters except for escaping and us passing in globs with actual backslashes:
sentry-javascript/packages/nextjs/src/config/webpackPluginOptions.ts
Lines 24 to 35 in b17ac59
- https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/95fe7e0b86a7987d0c162abecc515e7021a387ce/packages/bundler-plugin-core/src/debug-id-upload.ts#L81 (here we should probably use
windowsPathsNoEscape
in the case we are autodetecting, because we are exclusively passing absolute paths to glob)
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Community