▲ 0 r/angular
Angular 21 - dev server not working with .jsz file
To sum it up, working on upgrading angular from v20 -> v21 and I’m running into an issue with ng serve where Vite import analysis complains about one of the assets I’m using having file type .jsz. I’ve spent countless hours trying to find workarounds for this but can’t seem to figure it out.
I can manage to get Vite to stop complaining about the assets but then when I go to a page that tries to use them, I’m served index.html instead of the desired jsz file.
Seems to work as intended when the application is built in a container, just development server that has issues.
Thoughts on a workaround for this when using ng serve?
u/Important_Lab1286 — 2 days ago