A fork of elm/compiler that adds support for sourcemaps (from the gren/compiler PR #205).
stack build
stack install
elm-sourcemaps make --sourcemaps --output=elm.js src/Main.elm
This will compile Elm just like the official binary would, but it will also add the sourcemap to the JS file.