Currently (I am using Elm 0.19.0, OS is Archlinux), to generate a HTML page, I only can write a command like this:
$ elm make Main.elm --output=index.html
(Assuming that there are Main.elm and elm.json files)
However, according to fileformats, a HTML page can be with either *.html or *.htm extension. If I try to compile my elm files with --output=index.htm, I get an error indicating a bad value in --output flag.
In my current workflow, I use html / js minifier which takes only *.htm pages as an input, so it's inconvenient for me to generate "elm to html", because of the additional step of renaming the output of the elm compiler.
Currently (I am using Elm 0.19.0, OS is Archlinux), to generate a HTML page, I only can write a command like this:
(Assuming that there are Main.elm and elm.json files)
However, according to fileformats, a HTML page can be with either
*.html
or*.htm
extension. If I try to compile my elm files with--output=index.htm
, I get an error indicating a bad value in--output
flag.In my current workflow, I use html / js minifier which takes only
*.htm
pages as an input, so it's inconvenient for me to generate "elm to html", because of the additional step of renaming the output of the elm compiler.