I just use gulp-minify from npmjs:
var minify = require("gulp-minify");
gulp.task("minify", ["build-elm"], function() { return gulp.src("./elm.js")
//elm.js is what elm-make outputs .pipe(minify())
.pipe(gulp.dest("./"));});
I also tried Google Closure Compiler - but it gave me errors regarding
uninitialized variables from elm lib
On Monday, September 12, 2016 at 7:29:47 PM UTC+3, Jim Freeze wrote:
>
> Hi
>
> I can't seem to find in the docs how to minimize the javascript for
> production.
>
> Does elm provide these tools or are we to use other tools to uglify and
> minimize the javascript?
>
> Thank you.
>
> --
> Dr. Jim Freeze, Ph.D.
> (m) 512 949 9683
>
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.