gzip-loader

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gzip-loader

Weekly Downloads

687

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bebraw
  • jdalton