21 lines
388 B
JavaScript
21 lines
388 B
JavaScript
module.exports = function(grunt) {
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON("package.json"),
|
|
uglify: {
|
|
js: {
|
|
files: {
|
|
"client/js/components.min.js": ["client/components/*.js"]
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
// Load and run uglify.
|
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
|
grunt.registerTask(
|
|
"default",
|
|
["uglify"]
|
|
);
|
|
};
|