thelounge/Gruntfile.js

26 lines
443 B
JavaScript
Raw Normal View History

2014-06-17 13:38:08 +00:00
module.exports = function(grunt) {
2014-09-11 18:23:19 +00:00
var libs = "client/js/libs/**/*.js";
2014-06-17 13:38:08 +00:00
grunt.initConfig({
2014-07-24 00:16:00 +00:00
watch: {
files: libs,
tasks: ["uglify"]
},
2014-06-17 13:38:08 +00:00
uglify: {
2014-07-09 01:38:38 +00:00
options: {
compress: false
},
2014-06-17 13:38:08 +00:00
js: {
files: {
2014-09-11 18:23:19 +00:00
"client/js/libs.min.js": libs
2014-06-17 13:38:08 +00:00
}
}
}
});
2014-07-07 23:13:12 +00:00
grunt.loadNpmTasks("grunt-contrib-uglify");
2014-07-24 00:16:00 +00:00
grunt.loadNpmTasks("grunt-contrib-watch");
2014-06-17 13:38:08 +00:00
grunt.registerTask(
"default",
2014-07-20 21:22:23 +00:00
["uglify"]
2014-06-17 13:38:08 +00:00
);
};