This has all happened out of the blue despite the deployment pipeline being fine for months.
I deploy my app using google app cloud deploy which takes the complied "dist" folder and puts it in the google container.
When I browse to the page I get:
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
The error comes from the polyfills. I have looked at my tsconfig.json and tried changing from ES5 to something else but the problem persists.
Googling the error has not yielded much help. I don't know if this is a bug that suddenly came about on the google side, or if my angular project is no longer compatible with the browser. Any help would be great.