0.1.7 • Published 7 years ago

sc-file-sizes v0.1.7

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

sc-file-sizes

Outputs a YAML file with the sizes of the gzipped and minified CSS and JS for our ads

Install

$ npm install --save-dev sc-file-sizes

Usage

Here's a simple use case - see the Platform's gulpfile for how we're using it (minification is handled separately as part of a parent gulp task). Note that you can pass it a path, or it will write to config/file_sizes.yml:

var gulp = require('gulp');
var filesizes = require('sc-file-sizes');

gulp.task('filesizes', function () {
	return gulp.src('./dist/*')
		.pipe(filesizes({path: 'path/to/file.yml'}));
});
0.1.7

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago