This package has been deprecated

Author message:

deprecated

@intrnl/rollup-plugin-terser
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

rollup-plugin-terser

Minify generated bundles with Terser

Usage

npm install --save-dev @intrnl/rollup-plugin-terser
# pnpm install --save-dev @intrnl/rollup-plugin-terser
# yarn add --dev @intrnl/rollup-plugin-terser
// rollup.config.js
import { terser as terserPlugin } from '@intrnl/rollup-plugin-terser';

export default {
  input: 'src/index.html',
  plugins: [
    terserPlugin(),
  ],
};

Options

  • numWorkers?: number
    The max number of workers to spawn, defaults to the number of CPU cores minus 1
  • minifyOptions?: terser.MinifyOptions
    Terser minification options

Readme

Keywords

none

Package Sidebar

Install

npm i @intrnl/rollup-plugin-terser

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

5.83 kB

Total Files

6

Last publish

Collaborators

  • intrnl