{"action":"created","issue":{"url":"https://api.github.com/repos/NervJS/taro/issues/1203","repository_url":"https://api.github.com/repos/NervJS/taro","labels_url":"https://api.github.com/repos/NervJS/taro/issues/1203/labels{/name}","comments_url":"https://api.github.com/repos/NervJS/taro/issues/1203/comments","events_url":"https://api.github.com/repos/NervJS/taro/issues/1203/events","html_url":"https://github.com/NervJS/taro/issues/1203","id":383354471,"node_id":"MDU6SXNzdWUzODMzNTQ0NzE=","number":1203,"title":"支持npm自定义入口吗？","user":{"login":"liangxingchen","id":13582828,"node_id":"MDQ6VXNlcjEzNTgyODI4","avatar_url":"https://avatars2.githubusercontent.com/u/13582828?v=4","gravatar_id":"","url":"https://api.github.com/users/liangxingchen","html_url":"https://github.com/liangxingchen","followers_url":"https://api.github.com/users/liangxingchen/followers","following_url":"https://api.github.com/users/liangxingchen/following{/other_user}","gists_url":"https://api.github.com/users/liangxingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/liangxingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangxingchen/subscriptions","organizations_url":"https://api.github.com/users/liangxingchen/orgs","repos_url":"https://api.github.com/users/liangxingchen/repos","events_url":"https://api.github.com/users/liangxingchen/events{/privacy}","received_events_url":"https://api.github.com/users/liangxingchen/received_events","type":"User","site_admin":false},"labels":[{"id":1112321245,"node_id":"MDU6TGFiZWwxMTEyMzIxMjQ1","url":"https://api.github.com/repos/NervJS/taro/labels/CLI","name":"CLI","color":"4646b5","default":false}],"state":"open","locked":false,"assignee":{"login":"luckyadam","id":1782542,"node_id":"MDQ6VXNlcjE3ODI1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1782542?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyadam","html_url":"https://github.com/luckyadam","followers_url":"https://api.github.com/users/luckyadam/followers","following_url":"https://api.github.com/users/luckyadam/following{/other_user}","gists_url":"https://api.github.com/users/luckyadam/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyadam/subscriptions","organizations_url":"https://api.github.com/users/luckyadam/orgs","repos_url":"https://api.github.com/users/luckyadam/repos","events_url":"https://api.github.com/users/luckyadam/events{/privacy}","received_events_url":"https://api.github.com/users/luckyadam/received_events","type":"User","site_admin":false},"assignees":[{"login":"luckyadam","id":1782542,"node_id":"MDQ6VXNlcjE3ODI1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1782542?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyadam","html_url":"https://github.com/luckyadam","followers_url":"https://api.github.com/users/luckyadam/followers","following_url":"https://api.github.com/users/luckyadam/following{/other_user}","gists_url":"https://api.github.com/users/luckyadam/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyadam/subscriptions","organizations_url":"https://api.github.com/users/luckyadam/orgs","repos_url":"https://api.github.com/users/luckyadam/repos","events_url":"https://api.github.com/users/luckyadam/events{/privacy}","received_events_url":"https://api.github.com/users/luckyadam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-22T02:07:28Z","updated_at":"2018-11-22T02:31:59Z","closed_at":null,"author_association":"NONE","body":"我有一个跨平台的npm包，在不同平台打包时使用不同的入口，package.json 是这样设置的：\r\n```json\r\n{\r\n  \"main\": \"lib/node.js\",\r\n  \"browser\": \"lib/client.js\",\r\n  \"miniprogram\": \"lib\",\r\n}\r\n```\r\n小程序官方原生使用的入口是miniprogram，请问taro有专用入口吗？\r\n"},"comment":{"url":"https://api.github.com/repos/NervJS/taro/issues/comments/440894237","html_url":"https://github.com/NervJS/taro/issues/1203#issuecomment-440894237","issue_url":"https://api.github.com/repos/NervJS/taro/issues/1203","id":440894237,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDg5NDIzNw==","user":{"login":"taro-bot[bot]","id":44693195,"node_id":"MDM6Qm90NDQ2OTMxOTU=","avatar_url":"https://avatars3.githubusercontent.com/in/20114?v=4","gravatar_id":"","url":"https://api.github.com/users/taro-bot%5Bbot%5D","html_url":"https://github.com/apps/taro-bot","followers_url":"https://api.github.com/users/taro-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/taro-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/taro-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/taro-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taro-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/taro-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/taro-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/taro-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/taro-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-22T02:31:59Z","updated_at":"2018-11-22T02:31:59Z","author_association":"NONE","body":"CC @luckyadam "}}
{"actor":{"display_login":"taro-bot"}}