-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): disable dependency optimization f…
…or SSR It appears that Vite currently, has a number of limitation/bugs when using `optimizeDeps` for SSR bundles. Currently this causes a number of issues: - Deps are re-optimized everytime the server is started. - Added deps after a rebuild are not optimized. - Breaks RxJs (Unless it is added as external). See: #26235 We should follow up with Vite and try to get this solved as this would be a nice feature to use. Closes #26235 and #26234 (cherry picked from commit 7cb5d35)
- Loading branch information
1 parent
4733cd3
commit d46fb12
Showing
2 changed files
with
23 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