build-gzip
v0.0.2
Published
Compress static assets after compilation
Downloads
14
Readme
build-gzip
Compress static assets after compilation
Installing
build-gzip
is available as an
npm package.
Usage
Add build-bin
and build-gzip
to the package.json
.
{
"name": "project",
"private": true,
"scripts": {
"build": "build"
},
"devDependencies": {
"build-bin": "^0.0.6",
"build-gzip": "^0.0.1"
}
}
From the command line, run:
npm run build
build-gzip
will compress all files in the dist
directory into new files
suffixed with .gz
. build-bin
will ensure that compilation plugins run first
before this compression plugin.
Development
Getting Started
The application requires the following external dependencies:
- Node.js
The rest of the dependencies are handled through:
npm install
Run tests with:
npm test