browser-pack
browser-pack copied to clipboard
Support dynamic standalone module name, based on source file name
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.