diff --git a/src/mad_static.erl b/src/mad_static.erl index cc2305d..ee67f62 100644 --- a/src/mad_static.erl +++ b/src/mad_static.erl @@ -9,7 +9,7 @@ main(Config, ["min"]) -> AppName = proplists:get_value(app,N2O,sample), Minify = proplists:get_value(minify,N2O,[]), Command = lists:concat(["uglifyjs ",string:join(element(2,Minify)," "), - " -o ",element(1,Minify),"/",AppName,".js -p 5 -c -m"]), + " -o ",element(1,Minify),"/",AppName,".min.js -p 5 -c -m"]), io:format("Minify: ~p~n",[Command]), case sh:run(Command) of {_,0,_} -> {ok,static};