snowpack-plugin-optimize
JSON →A Snowpack plugin that minifies JS (via terser), CSS (via csso), and HTML (via html-minifier) for production builds. Supports source map generation/remapping, optional modulepreload injection, and TypeScript declaration files. Version 0.5.0 (last release June 2020) works with Snowpack ^2.17.1 and is in maintenance mode, as Snowpack has since been deprecated in favor of Vite. It does not bundle; for bundling the official webpack plugin is recommended.
Resources
packagesnowpack-plugin-optimize ↗