0๐
โ
I found the problem, it is a webpack-dev-server
v4 bug. I downgraded to v3 and everything works fine.
Source:stackexchange.com