forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turbopack: Improve externals plugin (vercel#71375)
- Slightly improve externals error message - Don't try to append `.js` to requests without subpaths - Simplify request->package name parsing Before ![Bildschirmfoto 2024-10-16 um 14 27 05](https://github.com/user-attachments/assets/1308084e-27cb-4d77-a472-b202736acc3b) After (app code changed to include a subpath for better visualization) <img width="963" alt="Bildschirmfoto 2024-10-17 um 11 24 39" src="https://github.com/user-attachments/assets/f2d5caa7-a2f4-498b-88aa-a026aedcabe5"> Without the CSS change, it can look like this if there is no `-` in the filepath: <img width="1005" alt="Bildschirmfoto 2024-10-17 um 10 55 13" src="https://github.com/user-attachments/assets/1a899d46-87cc-4e32-8005-92232fee318f">
- Loading branch information
Showing
2 changed files
with
87 additions
and
89 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