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

Stop using node globals for browsers #3

Open
panthershark opened this issue Feb 20, 2014 · 0 comments
Open

Stop using node globals for browsers #3

panthershark opened this issue Feb 20, 2014 · 0 comments

Comments

@panthershark
Copy link
Contributor

With the newest version of browserify, it will detect globals and insert them. However, inserting them adds more code to the bundle so we should avoid it.

The client-side process object was required in the past in this module, but is not necessary.

Then, one can bundle with browserify and these options.

b.bundle({ 
  detectGlobals: false, 
  insertGlobals: false
});
panthershark added a commit to panthershark/broadway-handlebars that referenced this issue Feb 20, 2014
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