gaearon/react-transform-boilerplate

Error when using Webpack 2 and es2015-webpack preset

vladshcherbin opened this issue · 4 comments

When using webpack 2 and the suggested es2015-webpack preset, updating a component gives an error:

screen shot 2016-03-16 at 5 14 35 am

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?

+1, it will be great if webpack2 is supported

It seems that 2.10.0 webpack-hot-middleware already supports this:

webpack-contrib/webpack-hot-middleware#70

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.

@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. ❤️