Skip to content

Instantly share code, notes, and snippets.

@greggman
Last active August 29, 2015 14:21
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 greggman/42f10c94e1c73461973b to your computer and use it in GitHub Desktop.
Save greggman/42f10c94e1c73461973b to your computer and use it in GitHub Desktop.
Gruntfile for Shu
"use strict";
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
uglify: {
my_target: {
options: {
wrap: true,
mangle: false,
},
files: {
'dest/output.min.js': ['src/input1.js', 'src/input2.js']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment