browserify-sa
Advanced tools
Comparing version 2.0.7 to 2.0.8
{ | ||
"name": "browserify-sa", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "Run browserify-sa in a npm package and make a standalone build of the package.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,8 +29,10 @@ # browserify-sa | ||
`n` or `name` is the name of the export. | ||
If you want another name for the the exposed variable name, you can specify: | ||
`-n` or `--name` the name of the export, the global variable exposed. | ||
Uglify: | ||
`--uglify` or `-u` - will shorten and uglify the `dist` build. Uglify will not always work with e.g. `string literals`. | ||
browserify-sa -u --n helloWorld | ||
In order to use `uglify`, you will need `uglify.js` installed global. | ||
@@ -37,0 +39,0 @@ |
3034
43