Replies: 1 comment 2 replies
-
Ideally you use the newest version of the webpack plugin to upload sourcemaps for all of the individual MFEs to the same project. Make sure to use the debug ID process, otherwise this is gonna be painful af. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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