rollup-plugin-tdewolff-minify
JSON →Rollup plugin that minifies ES bundles using the tdewolff minifier, a fast Go-based minifier with JavaScript bindings. Current stable version is 3.0.0. It wraps the @tdewolff/minify package and supports Rollup v2–v4. The plugin runs minification in a thread pool for performance, with optional control over thread count. It offers a function call interface with no required options. Requires Node >=20 and the peer dependencies @tdewolff/minify and rollup. Note that this is a hybrid ESM/CJS package.