Disclaimer: My response assumes you are having the same problem as me.

Not sure exactly what is going on here, but seems like a problem with webpack on Windows. I'm fortunate enough to be running Parallels (Windows 10) on a MacBook Pro so I was able to overcome this problem by running webpack against my Windows project on the Mac instead of Windows.

Not quite an answer, but a clue, and work around.

If you're not able to build on a Mac though this is not much help in the short term. One more reason to consider switching to Apple if you haven't already ;)

Probs need to log an issue with the webpack team to get the problem fixed, but this work around will get me by for now, so am going to move on.

Related Query

More Query from same tag