postinstall-bundle

0.7.5 • Public • Published

postinstall-bundle

This is a postinstall command plugin.

It runs a bundler (currently rollup) on input, and outputs in iife format.

Usage

The plugin can be called directly, or through postinstall.

Directly:

require('postinstall-bundle')(inputs, output, options).then(function() {

});

Options

  • name: global name for exported symbols
  • format: amd, cjs, es, iife, umd, system, ... defaults to iife
  • replace: STRING:VALUE (option can be passed multiple times)

Readme

Keywords

Package Sidebar

Install

npm i postinstall-bundle

Weekly Downloads

3

Version

0.7.5

License

MIT

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • kapouer