Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular/build): address rxjs undefined issues during SSR prebund…
…ling Replacing the paths to ESM in Vite can cause prebundling to fail in some cases, resulting in errors similar to the following: ``` 12:55:12 PM [vite] Error when evaluating SSR module /chunk-CHB4JJIP.mjs: |- TypeError: Cannot read properties of undefined (reading 'Subject') at eval (//src/app/shared/snackbar/snackbar.service.ts:2:25) at async instantiateModule (file:////node_modules/vite/dist/node/chunks/dep-BcXSligG.js:53408:5) 12:55:12 PM [vite] Error when evaluating SSR module /chunk-GQZ5BKXC.mjs: |- TypeError: Cannot read properties of undefined (reading 'Subject') at eval (//src/app/shared/snackbar/snackbar.service.ts:2:25) at async instantiateModule (file:////node_modules/vite/dist/node/chunks/dep-BcXSligG.js:53408:5) ``` Closes: #27907
- Loading branch information