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

Using source-maps cross projects in a micro-app setup #85226

Open
n-smolders opened this issue Feb 14, 2025 · 2 comments
Open

Using source-maps cross projects in a micro-app setup #85226

n-smolders opened this issue Feb 14, 2025 · 2 comments

Comments

@n-smolders
Copy link

Problem Statement

We are running a micro-frontend setup at our company, and as such have configured a separate project in Sentry for each micro app. Using the webpack plugin to prepare and upload our source-maps to Sentry for each project.

Since our frontend is constructed of multiple micro-apps running on the same page, it happens quite often that a stack-trace passes through multiple micro-apps. This is where we encounter issues with unminifyi'ng code, because the source-map of that particular file in the stack-trace is part of another project then where the stack-trace originated from.

Solution Brainstorm

Allow uploaded source-maps to be used cross-project for better stack traces and issue resolution.

Product Area

Issues - Source Maps

@getsantry
Copy link
Contributor

getsantry bot commented Feb 14, 2025

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 14, 2025
@scttcper
Copy link
Member

What version of webpack and the webpack plugin are you using? Are you using debug ids with the sourcemaps? https://docs.sentry.io/platforms/javascript/guides/nextjs/sourcemaps/troubleshooting_js/artifact-bundles/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants