
Encountered a mis-generated code, that this code..

..is generated as:

To fix mis-generation of code, remove webpack.HotModuleReplacementPlugin from webpack configuration:

I removed the adding of webpack.HotModuleReplacementPlugin from my code above, webpack does not mis-generate the code afterwards.
Happy Coding!
No comments:
Post a Comment