Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to use Sentry with Microfrontends #9576

Closed
enersis-pst opened this issue Nov 15, 2023 · 3 comments
Closed

Question: How to use Sentry with Microfrontends #9576

enersis-pst opened this issue Nov 15, 2023 · 3 comments

Comments

@enersis-pst
Copy link

Environment

SaaS (https://sentry.io/)

What are you trying to accomplish?

I want to have all sourcemaps of all our microfrontends be used inside sentry.

How are you getting stuck?

We have a root frontend (sveltkit) and many microfrontends (lit, svelte).
I integrate Sentry into our root frontend and upload the sourcemap for it. But now comes to the question how to also do it for the microfrontends?

Where in the product are you?

Help

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link

getsantry bot commented Nov 15, 2023

Assigning to @getsentry/support for routing ⏲️

@Fwang36 Fwang36 transferred this issue from getsentry/sentry Nov 15, 2023
@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 Nov 15, 2023
@Lms24
Copy link
Member

Lms24 commented Nov 16, 2023

Hi, I'm not sure about your setup but assuming your MFEs are their own projects, each of these projects need to upload source maps when you make a production build. Please have a look at our docs for the respective frameworks. I recommend uploading source maps with one of our bundler plugins (depending on your build setup).

Hope this helps!

@AbhiPrasad
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants