Html-webpack-plugin: How to use plugin with webpack-dev-server?

Created on 7 Oct 2015  路  3Comments  路  Source: jantimon/html-webpack-plugin

Hi! I have problem when using plugin with webpack-dev-server.

I've rendered my index.html but it stays in memory, not in the content-base folder where static should be located. So browser cannot find any index.html and gives 404 error.

Most helpful comment

I fixed it after setting publicPath to "/". Didn't work with any other path.

All 3 comments

Hi - could you please send me a minimal project setup so I can try to reproduce the error?

I fixed it after setting publicPath to "/". Didn't work with any other path.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

var-bp picture var-bp  路  3Comments

hp8wvvvgnj6asjm7 picture hp8wvvvgnj6asjm7  路  3Comments

hackteck picture hackteck  路  3Comments

ruoyiqing picture ruoyiqing  路  3Comments

lonelydatum picture lonelydatum  路  3Comments