madsflensted / elm-brunch

Brunch plugin to compile Elm code
MIT License
74 stars 31 forks source link

Feature Request: 'elmx' support #23

Open OvermindDL1 opened 7 years ago

OvermindDL1 commented 7 years ago

It would be highly convenient if elmx was supported via elm-brunch as currently there are no brunch plugins for elmx. The node library is just elmx and it is a very simple transpiler that converts react-like html structures in Elm code into the corresponding Elm.Html structure, thus giving back a normal .elm file. It is made to be fairly trivial to embed into build systems, however using bunch with no plugin for it yet means we have to do a manual compile step when we edit elmx files.

madsflensted commented 7 years ago

I think that it would be better to create a separate brunch-elmx plugin, it is not too complicated. A good starting point is to look at the livescript-brunch plugin as an example of a compile plugin.