mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Show minification report for uglify-js.
This commit is contained in:
@@ -63,7 +63,8 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
uglify: {
|
uglify: {
|
||||||
options: {
|
options: {
|
||||||
banner: '<%= banner %>'
|
banner: '<%= banner %>',
|
||||||
|
report: 'min'
|
||||||
},
|
},
|
||||||
bootstrap: {
|
bootstrap: {
|
||||||
src: ['<%= concat.bootstrap.dest %>'],
|
src: ['<%= concat.bootstrap.dest %>'],
|
||||||
@@ -217,4 +218,4 @@ module.exports = function(grunt) {
|
|||||||
var files = getFiles('js') + getFiles('less') + getFiles('fonts')
|
var files = getFiles('js') + getFiles('less') + getFiles('fonts')
|
||||||
fs.writeFileSync('assets/js/raw-files.js', files)
|
fs.writeFileSync('assets/js/raw-files.js', files)
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user