Developing with Webpack 3 and hotloading

265 views
Skip to first unread message

Simon

unread,
Jun 22, 2017, 3:17:11 PM6/22/17
to Elm Discuss
I've just upgraded the dev environment I use for my professional work to Webpack 3 (+ SCSS and Bootstrap 4). The pack is open source if anyone else wants to use it too.


Simon


Tolga Paksoy

unread,
Jun 27, 2017, 9:47:58 AM6/27/17
to Elm Discuss
Thank you so much. I've been looking into the hot loader, and wasn't quite able to figure out why hot-loader kept losing state on compile errors.

Apparently, this is needed (as pointed out in your webpack.js file)

new webpack.NoEmitOnErrorsPlugin()

Simon

unread,
Jun 30, 2017, 11:36:18 AM6/30/17
to Elm Discuss
hot-loading is such a productivity boon! :-)

If you have any extra webpack goodness that it would make sense to add to my starter, feel free to submit a PR. 
Reply all
Reply to author
Forward
0 new messages