forked from vitejs/vite
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Original issue from vitejs/vite vitejs#19461
Currently, there's an issue where SSR external doesn't work correctly with resolve.alias. This needs to be fixed to ensure proper module resolution during SSR builds.
Steps to reproduce:
- Set up a Vite project with SSR
- Configure resolve.alias for a module
- Mark the module as external for SSR
- The module is not properly externalized
Required changes:
- Fix the module resolution logic for SSR externals
- Handle alias resolution properly
- Add test cases
- Update documentation if needed
This is a medium complexity issue that requires understanding of Vite's module resolution system.