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

Add "browser" field to package.json #523

Closed
wants to merge 1 commit into from

Conversation

eordano
Copy link
Contributor

@eordano eordano commented Oct 1, 2014

No description provided.

@maraoz
Copy link
Contributor

maraoz commented Oct 2, 2014

can you explain the reason for adding this?

@eordano eordano closed this Oct 2, 2014
@eordano eordano reopened this Oct 2, 2014
@eordano
Copy link
Contributor Author

eordano commented Oct 2, 2014

Hey @maraoz, we found out that browserify doesn't work correctly when importing this repo.

According to browserify, this field allows for a different export when browserify fetches a npm repo:
https://github.com/substack/node-browserify#browser-field

@eordano eordano closed this Oct 2, 2014
@eordano eordano deleted the feature/browserify branch December 2, 2014 18:46
micahriggan pushed a commit to micahriggan/bitcore that referenced this pull request Dec 27, 2018
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