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

Missing sourcemaps for _next/static/chunks/* #252

Open
dtbaker opened this issue Sep 29, 2020 · 3 comments
Open

Missing sourcemaps for _next/static/chunks/* #252

dtbaker opened this issue Sep 29, 2020 · 3 comments

Comments

@dtbaker
Copy link

dtbaker commented Sep 29, 2020

Hello,

As discussed over here: vercel/next.js#17431

I have connected the app to rollbar and am seeing sourcemaps appear in rollbar, however rollbar is missing sourcemaps for any files under the /_next/static/chunks/* path.

Can you please confirm if this an expected behaviour, or if there's an issue with my setup, or if there might be an issue with which sourcemaps are chosen for uploading?

@wrgoto
Copy link

wrgoto commented Oct 28, 2021

I'm also having the same issue here. @dtbaker were you able to find a solution or figure out what was the problem?

@wrgoto
Copy link

wrgoto commented Oct 29, 2021

Digging into my source maps on Rollbar, I noticed that Rollbar claims it can't find the source maps for my chunk files because no sourceMappingURL is found. Isn't the whole point of this plugin to not use the sourceMappingURL comment?

It also says that because the referenced file is not .min.js, it assumes that the file isn't minified. Is there any way we can change this assumption? I haven't found a sane way to make my NextJS files use a .min.js extension and work.

Screen Shot 2021-10-28 at 5 37 50 PM

@Ricardonacif
Copy link

I'm still facing this issue, was anyone able to solve it?

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

No branches or pull requests

3 participants