Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Error when using Webpack 2 and es2015-webpack preset #124

Closed
vladshcherbin opened this issue Mar 16, 2016 · 4 comments
Closed

Error when using Webpack 2 and es2015-webpack preset #124

vladshcherbin opened this issue Mar 16, 2016 · 4 comments

Comments

@vladshcherbin
Copy link

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?

@hanfeisun
Copy link

+1, it will be great if webpack2 is supported

@hanfeisun
Copy link

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

webpack-contrib/webpack-hot-middleware#70

@gaearon
Copy link
Owner

gaearon commented Apr 18, 2016

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants