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

polyfills.map is injected when using next-source-maps #9618

Closed
tracy-liucui opened this issue Dec 4, 2019 · 1 comment · Fixed by #9628
Closed

polyfills.map is injected when using next-source-maps #9618

tracy-liucui opened this issue Dec 4, 2019 · 1 comment · Fixed by #9628

Comments

@tracy-liucui
Copy link

Bug report

Describe the bug

In this pull request(#9168), there is a new entry polyfills is added, but it also injected the polyfills.map when using next-source-maps.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. install [email protected]
  2. use withSourceMaps in next config
  3. check the source code of any page

Expected behavior

Only runtime/polyfills.js is included

Screenshots

image

System information

  • OS: macOS
  • Browser (if applies) chrome
  • Version of Next.js: 9.1.4

Additional context

I think it is introduced from these lines (https://github.com/zeit/next.js/pull/9168/files#diff-038a496f54bcbe216b7304af084328cfR599-R617)

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants