rollup-plugin-terser
- Version 7.0.2
- Published
- 8.46 kB
- 4 dependencies
- MIT license
Install
npm i rollup-plugin-terser
yarn add rollup-plugin-terser
pnpm add rollup-plugin-terser
Overview
Rollup plugin to minify generated es bundle
Index
Functions
Interfaces
Functions
function terser
terser: (options?: Options) => Plugin;
Interfaces
interface Options
interface Options extends Omit<MinifyOptions, 'sourceMap'> {}
property numWorkers
numWorkers?: number;
Amount of workers to spawn. Defaults to the number of CPUs minus 1.
Package Files (1)
Dependencies (4)
Dev Dependencies (4)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rollup-plugin-terser
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rollup-plugin-terser)
- HTML<a href="https://www.jsdocs.io/package/rollup-plugin-terser"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3884 ms. - Missing or incorrect documentation? Open an issue for this package.