browser-pack icon indicating copy to clipboard operation
browser-pack copied to clipboard

Support dynamic standalone module name, based on source file name

Open sethmcl opened this issue 11 years ago • 0 comments

When running with opts.standalone, I would like the standalone name to be dynamic, based on the source file being packed.

For example, if the source file is /lib/alert.js, the standalone name should be set to alert.

I propose this be the default behavior if opts.standalone === true.

sethmcl avatar Aug 15 '14 02:08 sethmcl