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

How to config the version of buffer used in browserify? #198

Closed
XiaoningLiu opened this issue May 22, 2018 · 2 comments
Closed

How to config the version of buffer used in browserify? #198

XiaoningLiu opened this issue May 22, 2018 · 2 comments
Labels

Comments

@XiaoningLiu
Copy link

It's a simple question. When I use browserify, it will load latest version of this module which doesn't support IE10. What I want is to load buffer@4.x.x with browserify. How can I do that?

@dcousens
Copy link
Collaborator

dcousens commented May 22, 2018

Explicitly install buffer@4.x.x?
Browserify preferentially uses what is in your node_modules IIRC

@feross
Copy link
Owner

feross commented May 22, 2018

You can also install the version of browserify that comes bundled with the version of buffer you want. That's browserify v13 for buffer v4.

There are also other workarounds discussed in this PR: browserify/browserify#1678

@feross feross closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants