browserify-sa
Run browserify-sa in a npm package and make a standalone build of the package.
Usage
browserify-sa
Basicly a simple wrapper around browserify that does something like this:
mkdir -p dist && browserify moduleMain -s moduleName > dist/moduleName.js
This makes a dist/moduleName.js file based on 'main' and 'name' in package.json
Options
Only option is uglify
- which will uglify the dist
build. Uglify will
not always work with e.g. string literals
. Therefor it is needed to
specify it.
browserify-sa --uglify
MIT © Dennis Iversen