Have ideas to improve npm?Join in the discussion! »

    rollup-plugin-terser-js

    1.0.2 • Public • Published

    rollup-plugin-terser-js

    This is a thin cjs wrapper around terser's API.

    Rollup accepts an array of plugins:

    const rollup = require('rollup');
    const terser = require('rollup-plugin-terser-js');
     
    rollup({
      entry: 'main.js',
      plugins: [ terser([{terser api options}]) ]
    }).then(...);

    Install

    npm i rollup-plugin-terser-js

    DownloadsWeekly Downloads

    9

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.33 kB

    Total Files

    14

    Last publish

    Collaborators

    • avatar