-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Abide by hideSourceMaps
option in nextjs webpack config
#13618
Comments
hideSourceMaps
option in webpack confighideSourceMaps
option in nextjs webpack config
@andreiborza Is this not supported? I see it in the docs here: Link The reason I found this thread is that we still get the reference to the map in our chunks even if the option is set. |
@cupofjoakim Hi, thanks for writing in. Seems like we slightly dropped the ball on this one with v8. The option is indeed in the docs and also in the type definitions but it doesn't do anything. What should happen though by default in the SDK is that the client chunks should not have a source mapping URL at the bottom unless you set We'll update the typedefs by deprecating them and update the docs but can you potentially either confirm that you are using productionBrowserSourceMaps or would you mind providing a reproduction example? Thanks! |
Closing this in favor of this: #13993 If no explicit user-setting is provided, we will enable source maps generation by setting |
Description
See #13613
The text was updated successfully, but these errors were encountered: