Shuo/Gruntfile.js

21 lines
388 B
JavaScript
Raw Normal View History

2014-06-17 13:38:08 +00:00
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
uglify: {
js: {
files: {
2014-06-17 16:20:22 +00:00
"client/js/components.min.js": ["client/components/*.js"]
2014-06-17 13:38:08 +00:00
}
}
}
});
// Load and run uglify.
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.registerTask(
"default",
["uglify"]
);
};