madsflensted / elm-brunch

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

Compile multiple main modules to single js file #9

Closed madsflensted closed 7 years ago

madsflensted commented 8 years ago

Problem: when specifying several modules with mainModules configuraiton, each output file will contain the entire elm core.

Solve by using elm makes ability to compile several top level modules into the same js file:

elm make MainA.elm MainB.elm MainC.elm --output main.js

Let this be a user option

madsflensted commented 7 years ago

Fixed by @igray in #22