christianalfoni / webpack-example

An example of webpack workflow
78 stars 9 forks source link

"npm run deploy" works wrong #2

Open LostSenSS opened 9 years ago

LostSenSS commented 9 years ago

Seems like the example doesn't work after npm run deploy. Error in console: Uncaught Error: [HMR] Hot Module Replacement is disabled.

After npm run dev everything works fine.

christianalfoni commented 9 years ago

Ah, ops, will fix that. Thanks for reporting!

christianalfoni commented 9 years ago

Now it should be working, might want to take a look at this article too:

http://christianalfoni.com/articles/2015_04_19_The-ultimate-webpack-setup