mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 20:43:08 +00:00
25 lines
418 B
JavaScript
25 lines
418 B
JavaScript
module.exports = function(grunt) {
|
|
var libs = "client/js/libs/**/*.js";
|
|
grunt.initConfig({
|
|
watch: {
|
|
files: libs,
|
|
tasks: ["uglify"]
|
|
},
|
|
uglify: {
|
|
options: {
|
|
compress: false
|
|
},
|
|
js: {
|
|
files: {
|
|
"client/js/libs.min.js": libs
|
|
}
|
|
}
|
|
}
|
|
});
|
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
|
grunt.loadNpmTasks("grunt-contrib-watch");
|
|
grunt.registerTask(
|
|
"default",
|
|
["uglify"]
|
|
);
|
|
};
|