Discussion:
What build system do you prefer for Elm?
(too old to reply)
'Rupert Smith' via Elm Discuss
2017-10-31 14:18:02 UTC
Permalink
I've been using grunt up until now. Looking into webpack at the moment as a
few github projects I've been looking at use it.

Anyone got any thoughts on the advantages/disadvantages of the various
possibility wrt Elm?
--
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.
Peter Damoc
2017-10-31 14:38:24 UTC
Permalink
Consider using npm as a build system
https://css-tricks.com/why-npm-scripts/

The main advantage is that you can control everything easier.
The main disadvantage I guess is that it might get complicated for complex
scenarios.




On Tue, Oct 31, 2017 at 4:18 PM, 'Rupert Smith' via Elm Discuss <
Post by 'Rupert Smith' via Elm Discuss
I've been using grunt up until now. Looking into webpack at the moment as
a few github projects I've been looking at use it.
Anyone got any thoughts on the advantages/disadvantages of the various
possibility wrt Elm?
--
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
For more options, visit https://groups.google.com/d/optout.
--
There is NO FATE, we are the creators.
blog: http://damoc.ro/
--
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.
Dustin Farris
2017-10-31 22:53:36 UTC
Permalink
I’ve been using broccoli for 8 months now and very happy.

Here’s a plugin I made for elm: https://github.com/dustinfarris/broccoli-elm-make <https://github.com/dustinfarris/broccoli-elm-make>

If you end up trying it I’d love your feedback!
I've been using grunt up until now. Looking into webpack at the moment as a few github projects I've been looking at use it.
Anyone got any thoughts on the advantages/disadvantages of the various possibility wrt Elm?
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
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.
Zachary Kessin
2017-11-01 06:15:24 UTC
Permalink
I generally just use GNU Make, I also use it to kick off other builds in
the project so that works well.

Zach
ᐧ
Post by Dustin Farris
I’ve been using broccoli for 8 months now and very happy.
Here’s a plugin I made for elm: https://github.com/
dustinfarris/broccoli-elm-make
If you end up trying it I’d love your feedback!
On Oct 31, 2017, at 10:18 AM, 'Rupert Smith' via Elm Discuss <
I've been using grunt up until now. Looking into webpack at the moment as
a few github projects I've been looking at use it.
Anyone got any thoughts on the advantages/disadvantages of the various possibility wrt Elm?
--
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
For more options, visit https://groups.google.com/d/optout.
--
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
For more options, visit https://groups.google.com/d/optout.
--
Zach Kessin
Reduce project risk with training in Elm For web teams
Skype: zachkessin
+972 54 234 3956 / +44 203 734 9790 / +1 617 778 7213
--
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.
Pavan Rikhi
2017-11-04 21:46:29 UTC
Permalink
I use webpack to build my app:

https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/client/webpack.config.js


NPM to run webpack:

https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/client/package.json#L8-L9


And a haskell script to build my client & server, or start the
webpack-dev-server & watch/build/run the server:
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/manage.hs#L218-L245
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/manage.hs#L184-L215

I was using Make for that last step, but find the haskell script much more
maintainable.
--
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-11-05 08:19:36 UTC
Permalink
I use my own starter, which includes hot reloading:
https://github.com/simonh1000/elm-webpack-starter
Post by Pavan Rikhi
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/client/webpack.config.js
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/client/package.json#L8-L9
And a haskell script to build my client & server, or start the
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/manage.hs#L218-L245
https://github.com/Southern-Exposure-Seed-Exchange/southernexposure.com/blob/master/manage.hs#L184-L215
I was using Make for that last step, but find the haskell script much more
maintainable.
--
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.
'Rupert Smith' via Elm Discuss
2017-11-07 17:18:27 UTC
Permalink
Post by Simon
https://github.com/simonh1000/elm-webpack-starter
I'm intrigued to try hot reloading. Does it only work if you don't change
the type of the Model?
--
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-11-07 19:24:37 UTC
Permalink
no you can change anything - it also does some reloading of ports as well I
think
it is the O N L Y way to code :-)
Post by 'Rupert Smith' via Elm Discuss
Post by Simon
https://github.com/simonh1000/elm-webpack-starter
I'm intrigued to try hot reloading. Does it only work if you don't change
the type of the Model?
--
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.
Costantino Giuliodori
2017-11-08 13:58:08 UTC
Permalink
I start simple by using entr (http://entrproject.org), than npm scripts
Post by 'Rupert Smith' via Elm Discuss
I've been using grunt up until now. Looking into webpack at the moment as
a few github projects I've been looking at use it.
Anyone got any thoughts on the advantages/disadvantages of the various
possibility wrt Elm?
--
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.
Tommy Messbauer
2017-11-15 04:16:22 UTC
Permalink
I use webpack 3. I made a component starter for webpack and then included
it in an app starter. App starter included below and it uses
elm-github-install b/c I need to include shared code from private repos.
You might just want the webpack config.

Advantages: webpack can be a nightmare, but this is a pretty simple setup.
hot reloading for development.
Disadvantages: webpack can be a pain to config.

We have multiple Elm apps in production. I've been really happy with this
setup.

https://github.com/tommymessbauer/elm-app
Post by 'Rupert Smith' via Elm Discuss
I've been using grunt up until now. Looking into webpack at the moment as
a few github projects I've been looking at use it.
Anyone got any thoughts on the advantages/disadvantages of the various
possibility wrt Elm?
--
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...