I have an Angular app which runs perfectly in my local and production environment.. After a tiny change I made, I ran the app locally and it works fine.. Then I built the pr
I was facing the same issue.
In my case, the main.bundle.js was missing. Copying that file again to the dist folder solved the issue.
main.bundle.js
dist
One more change that I did was to change the following in the index.html file in the dist -
index.html
To