Migration helpers for rollup-plugin-terser to @rollup/plugin-terser.
rollup-plugin-terser is deprecated. This package does not bundle a minifier. It helps migration scripts and config generators normalize options and produce install/import snippets for the maintained Rollup plugin.
npm install rollup-minifyimport { createTerserPluginConfig, generateRollupImport } from "rollup-minify";
const config = createTerserPluginConfig({ sourcemap: true, output: { comments: false } });
console.log(generateRollupImport());
console.log(config.options);createTerserPluginConfig(options?)normalizeTerserOptions(options?)generateRollupImport(name?)recommendedInstall(packageManager?)
rollup-minify is an independent alternative or migration helper for projects moving away from rollup-plugin-terser. It is not affiliated with the original package maintainers or project.
For release context, see the local migration guide, examples, compatibility notes, source metadata, and adoption plan.