-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sourcemaps for production builds #8079
Comments
@sergunich are you asking for the option to generate sourcemaps just when building Prebid directly from source? it would have no effect on for example the bundles generated by the Prebid.org download page or projects that pull Prebid from npm. |
Yeah, that's what I meant 👍 |
Understood; I'm going to put this on hold until we upgrade Webpack (which should happen soon - #7935) as that changes a few things about the build. |
Type of issue
Feature request
Description
Currently, it's possible to have sourcemaps only for development builds but it would be helpful to have the option to generate sourcemaps for production build too.
https://github.com/prebid/Prebid.js/blob/master/gulpfile.js#L205
Other information
The end goal of this is to submit generated sourcemaps to the Sentry to have proper stackframes for the errors:
https://docs.sentry.io/platforms/javascript/sourcemaps/
The text was updated successfully, but these errors were encountered: