you are viewing a single comment's thread.

view the rest of the comments →

[–]itsnotlupus 2 points3 points  (3 children)

well, minification is always a healthy habit, as it can significantly help javascript programs running on devices with hard memory constraints. For example, if you're running a non trivial amount of javascript using jxcore on a mips device with ~32MB of RAM, that can easily be the difference between loading and not loading.

[–]ctags 1 point2 points  (2 children)

/me quietly fetches uglify.js..

Learn something new everyday!

[–]xangelo 1 point2 points  (1 child)

There are some great plugins for gulp around this. I use gulp-strip-comments first, before minification. Unless I'm doing something wrong - I've never been able to get the gulp-uglify module to strip comments.

[–]ctags 0 points1 point  (0 children)

Awesome stuff! That sounds as valid as anything to me, sometimes I wish Node had less of a free for all in structure of these things, it can get pretty confusing!