Browserify Uglify Via Node Script Or Command Line?
It seems in many places the professionals are building their projects using a node.js script that involves either gulp or grunt. What I can't figure out though, is why the script m
Solution 1:
It's not. The command line is still the safest way. And npm
alows building such a script by default. People go for gulp
or grunt
or other such built tools for Continuous Integration
. Uglify
is something that you only need once for production purposes, but say you want to run your tests
each time one of your file changes, or you want to use JSLint
. Well, I know many of these plugins provide Continous Integration
support, but not all of them do. Gulp
, `Grunt``` and other such build tools come with the solution out-of-the box.
But I see more and more people moving from gulp
, grunt
to basic npm
and I totally support this movement.
Post a Comment for "Browserify Uglify Via Node Script Or Command Line?"