2.0.3 • Published 9 years ago

broccoli-file-size v2.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

broccoli-file-size

Latest Stable Version License Build Status

Dependency Status NPM Downloads Test Coverage API Documentation Code Climate

Broccoli plugin to display file sizes. Example output:

> broccoli build dist

file1.txt => 446 kB (284 kB gzipped)
file2.txt => 223 kB (74 kB gzipped)
file3.txt => 543 kB (324 B gzipped)

Installation

npm install --save-dev broccoli-file-size

Usage

ES5

var FileSizePlugin = require('broccoli-file-size');
tree = new FileSizePlugin(tree);

ES2015+

import FileSizePlugin from 'broccoli-file-size';
tree = new FileSizePlugin(tree);

Options

tree = new FileSizePlugin(tree, {
  colors: true,
  gzipped: true
});

colors

Enable/disable colors (default: true).

gzipped

Show/hide gzipped size (default: true).

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

2.0.0-rc1

9 years ago

1.2.4

9 years ago

1.2.3

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago