{"action":"created","issue":{"url":"https://api.github.com/repos/Talend/ui/issues/1910","repository_url":"https://api.github.com/repos/Talend/ui","labels_url":"https://api.github.com/repos/Talend/ui/issues/1910/labels{/name}","comments_url":"https://api.github.com/repos/Talend/ui/issues/1910/comments","events_url":"https://api.github.com/repos/Talend/ui/issues/1910/events","html_url":"https://github.com/Talend/ui/pull/1910","id":391091231,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NzA1ODA1","number":1910,"title":"feat(scripts): add splitChunks in webpack default config","user":{"login":"jmfrancois","id":19857479,"node_id":"MDQ6VXNlcjE5ODU3NDc5","avatar_url":"https://avatars2.githubusercontent.com/u/19857479?v=4","gravatar_id":"","url":"https://api.github.com/users/jmfrancois","html_url":"https://github.com/jmfrancois","followers_url":"https://api.github.com/users/jmfrancois/followers","following_url":"https://api.github.com/users/jmfrancois/following{/other_user}","gists_url":"https://api.github.com/users/jmfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/jmfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmfrancois/subscriptions","organizations_url":"https://api.github.com/users/jmfrancois/orgs","repos_url":"https://api.github.com/users/jmfrancois/repos","events_url":"https://api.github.com/users/jmfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/jmfrancois/received_events","type":"User","site_admin":false},"labels":[{"id":521021722,"node_id":"MDU6TGFiZWw1MjEwMjE3MjI=","url":"https://api.github.com/repos/Talend/ui/labels/need%20review","name":"need review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-14T12:25:42Z","updated_at":"2018-12-21T11:20:10Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Talend/ui/pulls/1910","html_url":"https://github.com/Talend/ui/pull/1910","diff_url":"https://github.com/Talend/ui/pull/1910.diff","patch_url":"https://github.com/Talend/ui/pull/1910.patch"},"body":"**What is the problem this PR is trying to solve?**\r\n\r\nWe serve one big JS file and one big CSS file.\r\n\r\n**What is the chosen solution to this problem?**\r\n\r\nsplitChunks base on  'node_modules'. It is a vendor of your app.\r\nAdd configuration support of entry (to extract the theme in it for example)\r\n\r\nThe following results are in containers/sandbox using yarn start-dist:\r\n\r\n without gzip\r\n<img width=\"1125\" alt=\"screen shot 2018-12-14 at 13 16 42\" src=\"https://user-images.githubusercontent.com/19857479/50003881-845a5780-ffa5-11e8-9f77-ff8f533f06b1.png\">\r\n\r\nwith gzip:\r\n<img width=\"1124\" alt=\"screen shot 2018-12-14 at 13 55 41\" src=\"https://user-images.githubusercontent.com/19857479/50004640-14999c00-ffa8-11e8-9ed7-3674cbf4618d.png\">\r\n\r\n**Please check if the PR fulfills these requirements**\r\n\r\n* [x] The PR commit message follows our [guidelines](https://github.com/talend/tools/blob/master/tools-root-github/CONTRIBUTING.md)\r\n* [ ] Tests for the changes have been added (for bug fixes / features) And [non reg](./screenshots.md) done before need review\r\n* [x] Docs have been added / updated (for bug fixes / features)\r\n* [ ] Related design / discussions / pages (not in jira), if any, are all linked or available in the PR\r\n\r\n<!-- You can add more checkboxes here -->\r\n\r\n**[ ] This PR introduces a breaking change**\r\n\r\n<!-- if the PR introduces a breaking change, add the description here. So when you merge this PR, add this description into the [breaking change wiki](https://github.com/Talend/ui/wiki/BREAKING-CHANGE) in the next version -->\r\n\r\n<!-- **Original Template** -->\r\n\r\n<!-- https://github.com/Talend/tools/blob/master/tools-root-github/.github/PULL_REQUEST_TEMPLATE.md -->\r\n"},"comment":{"url":"https://api.github.com/repos/Talend/ui/issues/comments/449362777","html_url":"https://github.com/Talend/ui/pull/1910#issuecomment-449362777","issue_url":"https://api.github.com/repos/Talend/ui/issues/1910","id":449362777,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTM2Mjc3Nw==","user":{"login":"build-travis-ci","id":28656273,"node_id":"MDQ6VXNlcjI4NjU2Mjcz","avatar_url":"https://avatars0.githubusercontent.com/u/28656273?v=4","gravatar_id":"","url":"https://api.github.com/users/build-travis-ci","html_url":"https://github.com/build-travis-ci","followers_url":"https://api.github.com/users/build-travis-ci/followers","following_url":"https://api.github.com/users/build-travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/build-travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/build-travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/build-travis-ci/subscriptions","organizations_url":"https://api.github.com/users/build-travis-ci/orgs","repos_url":"https://api.github.com/users/build-travis-ci/repos","events_url":"https://api.github.com/users/build-travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/build-travis-ci/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T11:20:10Z","updated_at":"2018-12-21T11:20:10Z","author_association":"COLLABORATOR","body":":octocat: [Demo is available here](http://1910.talend.surge.sh) "}}
{"actor":{"display_login":"build-travis-ci"}}