0.0.5 • Published 8 years ago

rollup-plugin-bookmark v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

rollup-plugin-bookmark

Rollup plugin to bundle js as bookmark.

Installation

npm install --save-dev rollup-plugin-bookmark

Usage

import { rollup } from 'rollup';
import bookmark from 'rollup-plugin-bookmark';

rollup({
    entry : 'main.js',
    plugins : [
        bookmark(),
    ],
}).then(( bundle ) => {
    bundle.write({
        format : 'iife',
        dest : 'dist.js',
    });
});
  • Or
import bookmark from 'rollup-plugin-bookmark';

export default {
    format : 'iife',
    dest : 'dist.js',
    entry : './src/index.js',
    plugins : [
        bookmark(),
    ],
};

License

MIT

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago