chore: don't track size of non-bundle files

This commit is contained in:
Pawel Kozlowski 2016-01-13 16:22:41 +01:00 committed by Jeff Cross
parent 9b3a548f6f
commit e7081b8b7c
1 changed files with 1 additions and 1 deletions

View File

@ -1272,7 +1272,7 @@ gulp.task('!bundle.copy', function() {
gulp.task('!bundles.js.checksize', function(done) {
var reportSize = require('./tools/analytics/reportsize');
return reportSize('dist/js/bundle/**', {printToConsole: ['gzip level=2']});
return reportSize('dist/js/bundle/**/*.js', {printToConsole: ['gzip level=2']});
});
gulp.task('bundles.js',