postinstall-browserify

postinstall command to browserify javascript files

Usage no npm install needed!

<script type="module">
  import postinstallBrowserify from 'https://cdn.skypack.dev/postinstall-browserify';
</script>

README

postinstall-browserify

This is a postinstall command plugin.

It runs browserify on input and accepts options.

Usage

The plugin can be called directly, or through postinstall.

Directly:

require('postinstall-browserify')(inputs, output, options).then(function() {
    // done
});

Options

All options (command-line or json style) are passed directly to browserify.