Discussion:
[elm-discuss] Developing with Webpack 3 and hotloading
Simon
2017-06-22 19:17:11 UTC
Permalink
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.

https://github.com/simonh1000/elm-webpack-starter

Simon
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tolga Paksoy
2017-06-27 13:47:57 UTC
Permalink
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()
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Simon
2017-06-30 15:36:18 UTC
Permalink
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.
Post by Tolga Paksoy
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()
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...