broccoli-elm-make
Compile Elm to Javascript via elm-make.
Installation
yarn add -D broccoli-elm-make
Usage
The plugin accepts a node to watch for changes and options.
Example
// Brocfile.js const ElmMake = ;const funnel = ; // Maybe you don't want your elm-css code to trigger a full make?const appCode = ; const js = appCode make: 'node_modules/.bin/elm-make' // location of elm-make (default: "elm-make" -- assumes global install) main: 'elm/Main.elm' // relative to your Brocfile.js (default: "Main.elm") output: 'app.js' // filename to write (default: "elm.js") debug: true // run elm-make with --debug (default: false);
License
MIT