mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
ae41fa3011
This patch fix the following uglify error: TypeError: Cannot assign to read only property 'warnings' of true Or we can upgrade grunt-contrib-uglify to latest v0.8.0 version which should also fix the issue. This issue has been reported on grunt-contrib-uglify bug tracker: https://github.com/gruntjs/grunt-contrib-uglify/issues/298
17 lines
334 B
JavaScript
17 lines
334 B
JavaScript
module.exports = function(config) {
|
|
return {
|
|
dest: {
|
|
expand: true,
|
|
src: ['**/*.js', '!dashboards/*.js'],
|
|
dest: '<%= destDir %>',
|
|
cwd: '<%= destDir %>',
|
|
options: {
|
|
quite: true,
|
|
compress: {},
|
|
preserveComments: false,
|
|
banner: '<%= meta.banner %>'
|
|
}
|
|
}
|
|
};
|
|
};
|