I’m getting a html doc for my js bundle which results in a blank page. The same build works perfectly fine in my local express server. I have already added the following in netlify.toml,
[[redirects]]
from = “/*”
to = “/index.html”
status = 200
The publish directory is /dist where webpack spits out the html, css and js.
Additional details as follows.
- we need to know your netlify site name. Example:
gifted-antelope-58b104.netlify.app
https://redv-portfolio.netlify.app/ - DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
NA - Build problems? Link or paste the FULL build log & build settings screenshot
js/vendor.bundle.5b53c38178c4374351b9.js returns html instead of js bundle.