rollup-plugin-terser.d.ts 312 B

1234567891011
  1. import { Plugin } from "rollup";
  2. import { MinifyOptions } from "terser";
  3. export interface Options extends Omit<MinifyOptions, "sourceMap"> {
  4. /**
  5. * Amount of workers to spawn. Defaults to the number of CPUs minus 1.
  6. */
  7. numWorkers?: number;
  8. }
  9. export declare function terser(options?: Options): Plugin;