7 lines
260 B
Bash
7 lines
260 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
elm-spa build .
|
||
|
elm make --output main.js src/Main.elm --optimize
|
||
|
|
||
|
uglifyjs 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=main.min.js
|