A Gatsby plugin to minify all output HTML files using html-minifier-terser, version 0.5.0. It automatically minifies HTML, CSS (inline), and JS (inline) with sensible defaults. Release cadence is low; last update was in 2020. Differentiator: simple, zero-config integration for Gatsby static sites, but relies on a potentially outdated dependency (html-minifier-terser).
npm install gatsby-plugin-minifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add and configure gatsby-plugin-minify in gatsby-config.js with default options.
Test with your Gatsby version; consider using gatsby-plugin-html-minifier instead.
Use a different minification plugin with up-to-date dependencies.
Look for alternatives if active development is needed.
Run 'npm install html-minifier-terser' or ensure gatsby-plugin-minify dependencies are installed.
Add 'gatsby-plugin-minify' to plugins array in gatsby-config.js.