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
We are currently running a React host app that are integrating a number of microfrontends.
The host app and the microfrontends are built individually using Webpack and Module Federation.
Sentry is initialized in the host app only, and we have only one Sentry project that receives all events (no routing to other projects).
I can't figure out how to handle source maps correctly. The source maps from the host app is uploaded using the SentryWebpackPlugin and works just fine, but the source code for the microfrontends are all minified.
What do I do with the source maps of each of the microfrontends? Do I upload each artifact to the one project in Sentry, together with the host app source maps? Do I need to tag the release with the same name across all artifacts?
I've checked the documentation here, but it only describes how to route events to other projects, not how to handle the source maps.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are currently running a React host app that are integrating a number of microfrontends.
The host app and the microfrontends are built individually using Webpack and Module Federation.
Sentry is initialized in the host app only, and we have only one Sentry project that receives all events (no routing to other projects).
I can't figure out how to handle source maps correctly. The source maps from the host app is uploaded using the SentryWebpackPlugin and works just fine, but the source code for the microfrontends are all minified.
What do I do with the source maps of each of the microfrontends? Do I upload each artifact to the one project in Sentry, together with the host app source maps? Do I need to tag the release with the same name across all artifacts?
I've checked the documentation here, but it only describes how to route events to other projects, not how to handle the source maps.
Beta Was this translation helpful? Give feedback.
All reactions