diff --git a/Makefile b/Makefile index ba6a6df..f138c04 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,9 @@ check: staticcheck ./... elm: src/Main.elm - elm make src/Main.elm --output=assets/main.js + elm make src/Main.elm --optimize --output=assets/main.js + uglifyjs assets/main.js --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output assets/main.min.js + rm -f assets/main.js sqlc: queries.sql schema.sql sqlc generate diff --git a/assets/index.html b/assets/index.html index d19a7d3..c549d2f 100644 --- a/assets/index.html +++ b/assets/index.html @@ -96,7 +96,7 @@
- +