[elm-discuss] Re: What build system do you prefer for Elm?

2017-11-17 Thread Tommy Messbauer
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


On Tuesday, October 31, 2017 at 9:18:02 AM UTC-5, Rupert Smith wrote:
>
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: What build system do you prefer for Elm?

2017-11-08 Thread Costantino Giuliodori
I start simple by using entr (http://entrproject.org), than npm scripts

Il giorno martedì 31 ottobre 2017 15:18:02 UTC+1, Rupert Smith ha scritto:
>
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: What build system do you prefer for Elm?

2017-11-07 Thread 'Rupert Smith' via Elm Discuss
On Sunday, November 5, 2017 at 8:19:37 AM UTC, Simon wrote:
>
> I use my own starter, which includes hot reloading: 
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: What build system do you prefer for Elm?

2017-11-05 Thread Simon
I use my own starter, which includes hot reloading: 
https://github.com/simonh1000/elm-webpack-starter

On Saturday, 4 November 2017 22:46:29 UTC+1, Pavan Rikhi wrote:
>
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: What build system do you prefer for Elm?

2017-11-04 Thread Pavan Rikhi
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.