Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any chance of a Webpack 2 version? #3

Open
robgallen opened this issue Feb 10, 2017 · 4 comments
Open

Any chance of a Webpack 2 version? #3

robgallen opened this issue Feb 10, 2017 · 4 comments

Comments

@robgallen
Copy link

Really enjoyed the course - however I'm having serious difficulties upgrading the starter kit to use Webpack 2.2. I've read through the migration and tried tweaking the babel configuration, but I'm not having much luck so far.

Any chance of creating a branch with an upgraded webpack.config file (and associated amends)?

@coryhouse
Copy link
Owner

coryhouse commented Feb 10, 2017

Edit: I show how to upgrade to the latest versions here: #7

@jcscott2015
Copy link

I actually did look over the changes you made in react-slingshot and read over the webpack migration document. I applied those changes to a local version of javascript-development-environment. I got everything to work except live reload in the browser. I have to reload the browser page manually. I use a Mac and Ubuntu, if that matters, and get the same result on both. Any advice?

@coryhouse
Copy link
Owner

Have you tried the latest PR here: #7

@jcscott2015
Copy link

About 95% of what's in PR 7 I've already done. (I've added some comments to PR 7, BTW.)

Webpack compiles everything just fine, and it recompiles everything on file saves. The browser just doesn't automatically update. Christoph von Gellhorn's https://github.com/cvgellhorn/webpack-boilerplate updates the browser (live reload), but I haven't examined his differences yet. He is using cross-env and webpack-dev-server, not webpack-dev-middleware with express. (webpack-dev-server only loads static pages, though.)

starter-configs.zip

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

No branches or pull requests

3 participants