{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/12011","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/12011/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/12011/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/12011/events","html_url":"https://github.com/ant-design/ant-design/issues/12011","id":356348267,"node_id":"MDU6SXNzdWUzNTYzNDgyNjc=","number":12011,"title":"Svg icons make bunlde size too large","user":{"login":"zlab","id":2288630,"node_id":"MDQ6VXNlcjIyODg2MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/2288630?v=4","gravatar_id":"","url":"https://api.github.com/users/zlab","html_url":"https://github.com/zlab","followers_url":"https://api.github.com/users/zlab/followers","following_url":"https://api.github.com/users/zlab/following{/other_user}","gists_url":"https://api.github.com/users/zlab/gists{/gist_id}","starred_url":"https://api.github.com/users/zlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zlab/subscriptions","organizations_url":"https://api.github.com/users/zlab/orgs","repos_url":"https://api.github.com/users/zlab/repos","events_url":"https://api.github.com/users/zlab/events{/privacy}","received_events_url":"https://api.github.com/users/zlab/received_events","type":"User","site_admin":false},"labels":[{"id":778649331,"node_id":"MDU6TGFiZWw3Nzg2NDkzMzE=","url":"https://api.github.com/repos/ant-design/ant-design/labels/Component:%20Icon","name":"Component: Icon","color":"1d76db","default":false},{"id":222673731,"node_id":"MDU6TGFiZWwyMjI2NzM3MzE=","url":"https://api.github.com/repos/ant-design/ant-design/labels/Discussion","name":"Discussion","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"HeskeyBaozi","id":15819224,"node_id":"MDQ6VXNlcjE1ODE5MjI0","avatar_url":"https://avatars3.githubusercontent.com/u/15819224?v=4","gravatar_id":"","url":"https://api.github.com/users/HeskeyBaozi","html_url":"https://github.com/HeskeyBaozi","followers_url":"https://api.github.com/users/HeskeyBaozi/followers","following_url":"https://api.github.com/users/HeskeyBaozi/following{/other_user}","gists_url":"https://api.github.com/users/HeskeyBaozi/gists{/gist_id}","starred_url":"https://api.github.com/users/HeskeyBaozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeskeyBaozi/subscriptions","organizations_url":"https://api.github.com/users/HeskeyBaozi/orgs","repos_url":"https://api.github.com/users/HeskeyBaozi/repos","events_url":"https://api.github.com/users/HeskeyBaozi/events{/privacy}","received_events_url":"https://api.github.com/users/HeskeyBaozi/received_events","type":"User","site_admin":false},"assignees":[{"login":"HeskeyBaozi","id":15819224,"node_id":"MDQ6VXNlcjE1ODE5MjI0","avatar_url":"https://avatars3.githubusercontent.com/u/15819224?v=4","gravatar_id":"","url":"https://api.github.com/users/HeskeyBaozi","html_url":"https://github.com/HeskeyBaozi","followers_url":"https://api.github.com/users/HeskeyBaozi/followers","following_url":"https://api.github.com/users/HeskeyBaozi/following{/other_user}","gists_url":"https://api.github.com/users/HeskeyBaozi/gists{/gist_id}","starred_url":"https://api.github.com/users/HeskeyBaozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeskeyBaozi/subscriptions","organizations_url":"https://api.github.com/users/HeskeyBaozi/orgs","repos_url":"https://api.github.com/users/HeskeyBaozi/repos","events_url":"https://api.github.com/users/HeskeyBaozi/events{/privacy}","received_events_url":"https://api.github.com/users/HeskeyBaozi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":36,"created_at":"2018-09-03T03:37:15Z","updated_at":"2018-09-21T18:35:43Z","closed_at":null,"author_association":"NONE","body":"- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.\r\n\r\n### Version\r\n3.9.0\r\n\r\n### Environment\r\nwebpack4\r\n\r\n### Reproduction link\r\n[https://zlab.github.io/report.html](https://zlab.github.io/report.html)\r\n\r\n### Steps to reproduce\r\nwebpack build\r\n\r\n### What is expected?\r\nicon 按需打包, js文件拆分\r\n\r\n### What is actually happening?\r\n打包到chunk-vendors里去了\r\n\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/423632689","html_url":"https://github.com/ant-design/ant-design/issues/12011#issuecomment-423632689","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/12011","id":423632689,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzYzMjY4OQ==","user":{"login":"serayuzgur","id":4561330,"node_id":"MDQ6VXNlcjQ1NjEzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4561330?v=4","gravatar_id":"","url":"https://api.github.com/users/serayuzgur","html_url":"https://github.com/serayuzgur","followers_url":"https://api.github.com/users/serayuzgur/followers","following_url":"https://api.github.com/users/serayuzgur/following{/other_user}","gists_url":"https://api.github.com/users/serayuzgur/gists{/gist_id}","starred_url":"https://api.github.com/users/serayuzgur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serayuzgur/subscriptions","organizations_url":"https://api.github.com/users/serayuzgur/orgs","repos_url":"https://api.github.com/users/serayuzgur/repos","events_url":"https://api.github.com/users/serayuzgur/events{/privacy}","received_events_url":"https://api.github.com/users/serayuzgur/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T18:35:43Z","updated_at":"2018-09-21T18:35:43Z","author_association":"NONE","body":"Hi, \r\nThe cause is the ability to use icons like `<Icon type=\"check-circle\" `. This api needs every icon to be included so it can give you whatever you give as type. \r\n\r\nThis also gives us ability to decide icons at runtime and it is valuable for me. So according to me API should stay same but Icon component should support loading icons by the given type **ondemand**.\r\n\r\n"}}
{"actor":{"display_login":"serayuzgur"}}