2.0.0 • Published 4 years ago

gzip-brunch v2.0.0

Weekly downloads
59
License
-
Repository
github
Last release
4 years ago

gzip-brunch Build Status

Adds gzip support to brunch.

The plugin will gzipfy HTML files, JS files and CSS files.

Usage

Install the plugin via npm with:

$ npm install --save gzip-brunch

This plugin works only when optimized option is passed.

$ brunch build --production

Config

To specify gzip options, use config.plugins.gzip object.

Change JS path or CSS path

config =
  plugins:
    gzip:
      paths:
        javascript: 'javascripts'
        stylesheet: 'stylesheets'
      removeOriginalFiles: false
      renameGzipFilesToOriginalFiles: false
  • default

CHANGELOG

  • 2.0.0 (06 Jun 2020) - Add support for SVG and ICO files #10(Add support for SVG and ICO files), Fixing default values path #7
  • 1.3.0 (03 May 2014) - Enhancement for renaming option #6.
  • 1.2.0 (20 Feb 2014) - Changed #3 behaviour as optionize. See #5
  • 1.1.0 (06 Feb 2014) - Original files are deleted when compressing is done: #3
  • 1.0.4 (28 Jan 2014) - Bumped for #2
  • 1.0.1 (10 Jan 2014) - Update docs
  • 1.0.0 (29 Sep 2013) - Initial release

License

The MIT License (MIT)

Copyright (c) 2013 Kohei Hasegawa

2.0.0

4 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

11 years ago