jlongster / monkey-hot-loader

A webpack loader to hot reload JavaScript modules
171 stars 11 forks source link

Updated branch with webpack es2015 import support for webpack4 #9

Open rmarscher opened 6 years ago

rmarscher commented 6 years ago

Comments in #5 made me realize that the branch I had created to work with webpack's native support for es2015 imports was broken in webpack 3.x and 4.x. Submitting this pull as an example to those that want it working with recent versions of webpack.

https://github.com/rmarscher/backend-with-webpack/tree/webpack4 is a reference for how to set it up. Reference git+https://github.com/rmarscher/monkey-hot-loader#webpack4 in your package.json to use this branch.

Thanks.