This package has been deprecated

Author message:

Due to Babili's name change, new versions of this package are available as rollup-plugin-babel-minify

rollup-plugin-babili

3.1.1 • Public • Published

rollup-plugin-babili

Build Status Dependency Status devDependencies Status npm

Allows using Babili minifier with Rollup.

Installation

npm install rollup-plugin-babili [--save-dev]

Usage

import { rollup } from 'rollup';
import babili from 'rollup-plugin-babili';
 
rollup( {
    entry: './src/index.js',
    plugins: [
        babili( {
            // Options for Babili.
        } )
    ]
} );

For the list of options, check Babili Preset's docs.

There are additional options:

  • comments (default: true): indicates if comments should be preserved in source
  • banner (default: undefined): the comment which should be prepended to the transformed bundle
  • sourceMap (default: true): indicates if sourcemap should be generated

License

See LICENSE file for details.

Package Sidebar

Install

npm i rollup-plugin-babili

Weekly Downloads

6

Version

3.1.1

License

MIT

Last publish

Collaborators

  • boopathi
  • comandeer