Skip to content

Commit

Permalink
fix: remove unnecessary aliases
Browse files Browse the repository at this point in the history
This ensure the same AV instance
when importing 'leancloud-storage' and 'leancloud-storage/live-query' w/ bundlers.

see https://leanticket.cn/tickets/22655 for use case
  • Loading branch information
leeyeh committed Jan 7, 2020
1 parent 33f9643 commit 0c65208
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,15 @@
"./src/utils/localstorage.js": "./src/utils/localstorage-browser.js",
"./src/utils/parse-base64.js": "./src/utils/parse-base64-browser.js",
"./src/ua/comments.js": "./src/ua/comments-browser.js",
"./dist/node/index.js": "./dist/av-min.js",
"./dist/node/index-live-query.js": "./dist/av-live-query-min.js"
"./dist/node/index.js": "./dist/av-min.js"
},
"react-native": {
"./src/utils/localstorage.js": "./src/utils/localstorage-rn.js",
"./dist/node/index.js": "./dist/av-rn-min.js",
"./dist/node/index-live-query.js": "./dist/av-live-query-rn-min.js"
"./dist/node/index.js": "./dist/av-rn-min.js"
},
"weapp": {
"./src/polyfills/index.js": "./src/polyfills/index-weapp.js",
"./dist/node/index.js": "./dist/av-weapp-min.js",
"./dist/node/index-live-query.js": "./dist/av-live-query-weapp-min.js"
"./dist/node/index.js": "./dist/av-weapp-min.js"
},
"typings": "./storage.d.ts",
"types": "./storage.d.ts",
Expand Down

0 comments on commit 0c65208

Please sign in to comment.