-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle source map requests for Turbopack client chunks
Since Turbopack is generating actual source map files, and not inlined source maps as Webpack does, React might request a source map for a client chunk using the chunk's URL pathname, e.g. `/_next/static/chunks/[project]__edc466._.js`. In the source map dev middleware, we need to convert those URL pathnames to filenames before requesting the source map for the file from Turbopack.
- Loading branch information
1 parent
eaf467e
commit a3daa07
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters