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
neutrino-middleware-compression
is a Neutrino middleware that adds
compression support.
Requirements
- Node.js v6 LTS, v8, v9
- Yarn v1.2.1+, or npm v5.4+
- Neutrino v8
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'
]
}