Created
July 16, 2016 19:08
-
-
Save JMPerez/d9219f35077db729d1c5903cb439dd18 to your computer and use it in GitHub Desktop.
Using the "browser" property in package.json (superagent)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "superagent", | |
... | |
"browser": { | |
"./lib/node/index.js": "./lib/client.js", | |
... | |
}, | |
... | |
"main": "./lib/node/index.js", | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment