forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[react-packager] Implement the browser field package.json spec
Summary: Apparently we promote using superagent but it doesn't actually work. See issues facebook#370 facebook#10 facebook#375 The main issue stopping it from working is the `browser` field in package.json which both browserify and webpack implments. This implements most of the spec found here https://gist.github.com/defunctzombie/4339901 The only thing we're not implementing is the `module-name: false` part to ignore a module because it doesn't seem to be as used. If someone complains about it we'll implement it then. Test Plan: ./runJestTests.sh * npm install superagent in JS * test using superagent
- Loading branch information
Amjad Masad
authored and
oss sync
committed
Apr 12, 2015
1 parent
d2750c1
commit dc4e8d1
Showing
2 changed files
with
333 additions
and
8 deletions.
There are no files selected for viewing
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
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