mirror of
https://github.com/thelounge/thelounge
synced 2024-12-18 00:13:07 +00:00
1dd4e4f031
Fixes #65
26 lines
439 B
JavaScript
26 lines
439 B
JavaScript
module.exports = function(grunt) {
|
|
var libs = "client/js/libs/**/*.js";
|
|
grunt.initConfig({
|
|
watch: {
|
|
files: libs,
|
|
tasks: ["uglify"]
|
|
},
|
|
uglify: {
|
|
options: {
|
|
sourceMap: true,
|
|
compress: false
|
|
},
|
|
js: {
|
|
files: {
|
|
"client/js/libs.min.js": libs
|
|
}
|
|
}
|
|
}
|
|
});
|
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
|
grunt.loadNpmTasks("grunt-contrib-watch");
|
|
grunt.registerTask(
|
|
"default",
|
|
["uglify"]
|
|
);
|
|
};
|