Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not import node libs on browser. Fixes web3#923
I'm assuming the problem happened when web3 was imported with require, and then webpack was used on it. If so, this was probably caused because I was incorrectly importing Node.js related libs on the browser release. This fixes it by correctly using the browser field on package.json.
- Loading branch information