mirror of
https://github.com/grafana/grafana.git
synced 2024-12-29 10:21:41 -06:00
fix uglify TypeError
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
This commit is contained in:
parent
3119d15de5
commit
ae41fa3011
@ -7,7 +7,7 @@ module.exports = function(config) {
|
|||||||
cwd: '<%= destDir %>',
|
cwd: '<%= destDir %>',
|
||||||
options: {
|
options: {
|
||||||
quite: true,
|
quite: true,
|
||||||
compress: true,
|
compress: {},
|
||||||
preserveComments: false,
|
preserveComments: false,
|
||||||
banner: '<%= meta.banner %>'
|
banner: '<%= meta.banner %>'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user