On Monday, September 12, 2016 at 10:03:02 PM UTC+1, Dmytro Gladkyi wrote:
>
> 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
>
>
A timely question for me, as was just thinking about setting this up.
To remove dead code, is the closure compiler needed (I think I read that in
another thread)? Or does minify or uglify manage to remove dead code too?
--
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.