Skip to content

Instantly share code, notes, and snippets.

@kumar303
Created March 19, 2014 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kumar303/9652343 to your computer and use it in GitHub Desktop.
Save kumar303/9652343 to your computer and use it in GitHub Desktop.
uglify example
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
my_target: {
files: {
'build/myscript.min.js': ['lib/myscript.js']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment