JSPM

neutrino-middleware-compression

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q15058F
  • License MIT

Neutrino middleware for compression

Package Exports

  • neutrino-middleware-compression

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (neutrino-middleware-compression) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Neutrino middleware with compression-webpack-plugin

NPM version

neutrino-middleware-compression is a Neutrino middleware that adds compression support.

Requirements

  • Node.js v6.10+
  • Yarn or npm client
  • Neutrino v7

Installation

Yarn

yarn add --dev neutrino-middleware-compression

npm

npm install --save-dev neutrino-middleware-compression

Documentation

Install this middleware to your development dependencies, then set it in .neutrinorc.js:

  module.exports = {
    use: [
      'neutrino-middleware-compression'
    ]
  }