Skip to content

Commit 0709042

Browse files
leeyehwangxiao
authored andcommitted
fix(package): support React Native v0.32 (#346)
RN start to support false value for package.browser package redirection. Add "react-native" field to resort react-native dependency while packed for RN.
1 parent d05af0f commit 0709042

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
"./dist/node/browserify-wrapper/localStorage.js": "./dist/node/browserify-wrapper/localstorage-browser.js",
6262
"./dist/node/browserify-wrapper/parse-base64.js": "./dist/node/browserify-wrapper/parse-base64-browser.js"
6363
},
64+
"react-native": {
65+
"react-native": "react-native"
66+
},
6467
"eslintConfig": {
6568
"env": {
6669
"es6": true,

0 commit comments

Comments
 (0)