1.0.0-rc.2 • Published 8 years ago
@ngstarter/gzip-extension v1.0.0-rc.2
gzip-extension
Gzipped build and serve for your Angular 2 Starter
Perfect for tracking your build size with gzip compression :heart:
Getting started
Install the extension
npm install @ngstarter/gzip-extension --save-dev
Require the extension in any tasks file, for example in
tasks/serve.js
// Load gulp config var config = require('../config')(); // Load extension with config require('@ngstarter/gzip-extension')(config);
Try running
gulp serve-build-gzip
Now check the network requests in your browser, HTML/CSS/JS files should be gzipped already
License
MIT
1.0.0-rc.2
8 years ago
1.0.0-rc.1
8 years ago