grafana/tasks/options/uglify.js
2015-06-13 23:01:54 +02:00

17 lines
360 B
JavaScript

module.exports = function(config) {
return {
dest: {
expand: true,
src: ['**/*.js', '!dashboards/*.js', '!vendor/jquery/**/*.js'],
dest: '<%= destDir %>',
cwd: '<%= destDir %>',
options: {
quite: true,
compress: {},
preserveComments: false,
banner: '<%= meta.banner %>'
}
}
};
};