Noncollinear Perpendicular Microcrystalline

npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

broccoli-file-size

2.0.3 • Public • Published

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).

install

npm i broccoli-file-size

Downloadsweekly downloads

14

version

2.0.3

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability