javascript - webpack-dev-server renders all js files, but throws 404 on load -
my environment working perfectly, behaviour appeared.
the page includes scripts 'images.js' 'polyfill.js' 'vendor.js'
when running webpack server, starts nicely (green 'rendered' messages). when opening page (index.html available), on loading referenced scripts, 404 in output window.
it seems me there build errors on server startup, there no error output. there way 'deeper' server makes on startup?
thanks guys on github, solve finally. turned out there difference in behaviour running webpack server on windows 10 (where works collegues) , windows server 2008 (which using). setting 'publicpath' in webserver config http://localhost:3000/ solved it.
Comments
Post a Comment