build-gzip

0.0.2 • Public • Published

build-gzip

Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i build-gzip

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • vinsonchuong