TL;DR basically the same question as 404 on Karma when trying to use web worker but in my case the web worker code is into a typescript file.
I have an Angular 11 app