Minification plugin for the BigPipe compiler that integrates with uglify-js and clean-css to minify JavaScript and CSS files before they are saved to disk. Version 0.1.1 is a legacy package from the BigPipe ecosystem, last updated in 2015, with no recent releases. It requires peer dependencies and manual configuration of minification tools. Differentiators: lightweight, plugin-based architecture, and option forwarding to underlying minifiers.
npm install bigpipe-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes BigPipe server with the minifier plugin, configuring clean-css for CSS and uglify-js for JS minification with options.
Run npm install bigpipe-minifier uglify-js clean-css --save
Consider alternative minification plugins or direct use of uglify-js/clean-css.
Ensure both `css` and `js` objects are provided with correct structure.
npm install uglify-js
Pass minifier as a plugin in the `plugins` array, not as a function.