Nordes / HoNoSoFt.DotNet.Web.Spa.ProjectTemplates

.Net Core 2.2 > SPA Application with VueJS/Vuex/WebPack 4/Picnic CSS/Fontello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Nordes opened this issue · 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.