Error when using Webpack 2 and es2015-webpack preset
vladshcherbin opened this issue · 4 comments
vladshcherbin commented
When using webpack 2 and the suggested es2015-webpack preset, updating a component gives an error:
If we use webpack 2 and es2015 preset - there is no error.
So, do we need to use es2015-webpack preset in prod and es2015 in dev?
hanfeisun commented
+1, it will be great if webpack2 is supported
hanfeisun commented
It seems that 2.10.0
webpack-hot-middleware already supports this:
gaearon commented
Can I ask you to try gaearon/react-hot-boilerplate#61 with Webpack 2 instead? This project is going to be deprecated in favor of React Hot Loader 3 as described there.
vladshcherbin commented
@gaearon sure, I was trying to find a good boilerplate for easy package creation. Will try your new work. I like your packages and what you do! Thank you a lot. ❤️