gzip-loader
gzip loader module for webpack
Last updated 4 years ago by jdalton .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gzip-loader 
SYNC missed versions from official npm registry.

npm deps test coverage chat

gzip-loader

gzip loader module for webpack

Install

npm install --save-dev gzip-loader

Usage

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.gz$/,
        enforce: 'pre',
        use: 'gzip-loader'
      }
    ]
  }
}

bundle.js

require("gzip-loader!./file.js.gz");

Maintainers


John-David Dalton

Current Tags

  • 0.0.1                                ...           latest (4 years ago)

1 Versions

  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 2
This Week 4
This Month 33
Last Day 0
Last Week 9
Last Month 35
Dependencies (0)
None
Dev Dependencies (19)

Copyright 2014 - 2016 © taobao.org |