Skip to content

Remove require in standalone mode #53

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ForbesLindesay
Copy link
Collaborator

This allows people to browserify a module that requires a module that has already been bundled using browserify --standalone. This is becoming increasingly popular now that browserify is seen as an easy
way to add es6 support to modules that are used in older versions of node.

This allows people to browserify a module that requires a module that
has already been bundled using `browserify --standalone`. This is
becoming increasingly popular now that browserify is seen as an easy
way to add es6 support to modules that are used in older versions of
node.
@ForbesLindesay
Copy link
Collaborator Author

It's probably worth noting that this method of removing requires should be pretty fast, in contrast to using derequire, which required figuring out the complete scope chain in order to remove requires.

@zertosh
Copy link
Member

zertosh commented Apr 5, 2015

This is being discussed in browserify/browserify#1151

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

Successfully merging this pull request may close these issues.

2 participants