Open
Description
Environment
Webpack React project.
webpack 5.99.8
@sentry/webpack-plugin 3.4.0
Steps to Reproduce
- Configure webpack output.filename like 'res/js/[name].js?[contenthash]' note the hash as querystring, not part of the actual filename
- configure @sentry/webpack-plugin
- build
Expected Result
The generated source maps get found and uploaded to sentry
Actual Result
It reports 0 files found
The problem is that here the asset paths are passed from webpack as is (with query string) and here they get passed to the glob function still with query string. No files get found since glob will search for files with query string, while webpack stores them without.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status