getsentry / sentry-webpack-plugin

Repo moved to https://github.com/getsentry/sentry-javascript-bundler-plugins. Please open any issues/PRs there.
MIT License
662 stars 116 forks source link

Sentry can't recognize artifacts despite successful upload #394

Closed Gabul99 closed 2 years ago

Gabul99 commented 2 years ago

Environment

React 16 Webpack 5 @sentry/webpack-plugin 1.19.0

Steps to Reproduce

How to solve it?

Expected Result

I expected this flow.

Actual Result

Filename on Sentry starts with '~/'. As written in this document (https://github.com/getsentry/sentry-webpack-plugin/issues/394), http://example.com/dist/js/script.js will match ~/dist/js/script.js. I think our case should be matched http://example.com/vendors-84781932.bundle.js - ~/vendors-84781932.bundle.js.map... but not work.

I think it might be a problem with the file name, please give me some advice.

Gabul99 commented 2 years ago

It was problem that 'release' value. I fit release version to same value and it works. I will close this issue.