Commit af328c9a authored by André Espaze's avatar André Espaze
Browse files

Activate --optimize for production

parent 45ce9ac5a1c6
......@@ -8,7 +8,7 @@ def compile_elm(wdir, edit_kind):
"""Compile elm component to JS"""
src = wdir / "elm" / f"{edit_kind}.elm"
out = wdir / "tsview" / "tsview_static" / f"{edit_kind.lower()}_elm.js"
cmd = f"elm make --output {out} {src}"
cmd = f"elm make --optimize --output {out} {src}"
print(cmd,, shell=True))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment