@ -3,4 +3,5 @@ ssg/dist-newstyle
src/_cache
src/_site
src/elm-stuff
src/_elm
result
@ -27,5 +27,10 @@ main = do
match "*.elm" $ do
route $ setExtension "js"
compile $ execCompilerWith (execName "elm") [ProcArg "make", HakFilePath, ProcArg "--output=main.js"] (COutFile $ SpecificPath "main.js")
compile $ execCompilerWith (execName "elm")
[ ProcArg "make"
, HakFilePath
, ProcArg "--optimize"
, ProcArg "--output=_elm/main.js" ]
(COutFile $ SpecificPath "_elm/main.js")