Nordes/HoNoSoFt.DotNet.Web.Spa.ProjectTemplates

Regression: The publicPath for dist is causing webpack hot reload issue

Nordes opened this issue · 1 comments

Since I added the . before the /dist in the public path for the file to be published. This causes an issue when we use the hot reload.

The hot reload then use /dist/webpack_... instead of /webpack_... (websocket)

The fix is to simply ignore the . before when we're not in production. Not the best solution, but it should be working.

Regression caused by a previous commit.