Aggressive CSS/HTML minifier for Gulp that renames CSS class selectors to single UTF-8 characters, reducing CSS size up to 30% beyond typical minifiers. Version 0.1.2-alpha.3, early stage with experimental options. Unlike standard minifiers (cssnano, clean-css), it performs semantic renaming of selectors, but may break functionality if classes are used in JavaScript or jQuery. Requires Node >=4.0.0. Not suitable for production without thorough testing.
npm install gulp-winifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows a Gulp task using winify with experimental option and cssnano to minify CSS and HTML.
Avoid using minifyIds: true until id replacement is implemented, or ensure your project tolerates duplicate ids.
Pin Gulp and Node versions, or consider alternative mature minifiers.
Only use winify on projects with no JS reliance on class names, or whitelist classes via options (not yet supported).
Run npm install --save-dev gulp-winify and ensure node_modules includes it.
Use const winify = require('gulp-winify'); or import winify from 'gulp-winify';