Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic standalone module name, based on source file name #42

Open
sethmcl opened this issue Aug 15, 2014 · 0 comments
Open

Support dynamic standalone module name, based on source file name #42

sethmcl opened this issue Aug 15, 2014 · 0 comments

Comments

@sethmcl
Copy link

sethmcl commented Aug 15, 2014

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 added a commit to sethmcl/browser-pack that referenced this issue Aug 15, 2014
If opts.standalone === true, then the standalone name will be set to the filename (without extension) of the source file.
Addresses issue browserify#42.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant