Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 368 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 368 Bytes

grunt-filesize

log file size

Documentation

modify your grunt.js file by adding the following line:

grunt.loadNpmTasks('grunt-filesize');

Then add some configuration for the plugin like so:

grunt.initConfig({
    ...
    filesize: {
      base: {
        files: ['build/*.js']
      }
    },
    ...
});