{"action":"created","issue":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/572","repository_url":"https://api.github.com/repos/axa-ch/style-guide","labels_url":"https://api.github.com/repos/axa-ch/style-guide/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/axa-ch/style-guide/issues/572/comments","events_url":"https://api.github.com/repos/axa-ch/style-guide/issues/572/events","html_url":"https://github.com/axa-ch/style-guide/pull/572","id":175758963,"number":572,"title":"Experimental/webpack","user":{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axa-ch/style-guide/labels/discuss","name":"discuss","color":"207de5"},{"url":"https://api.github.com/repos/axa-ch/style-guide/labels/hacking","name":"hacking","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},{"login":"sventschui","id":512692,"avatar_url":"https://avatars.githubusercontent.com/u/512692?v=3","gravatar_id":"","url":"https://api.github.com/users/sventschui","html_url":"https://github.com/sventschui","followers_url":"https://api.github.com/users/sventschui/followers","following_url":"https://api.github.com/users/sventschui/following{/other_user}","gists_url":"https://api.github.com/users/sventschui/gists{/gist_id}","starred_url":"https://api.github.com/users/sventschui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sventschui/subscriptions","organizations_url":"https://api.github.com/users/sventschui/orgs","repos_url":"https://api.github.com/users/sventschui/repos","events_url":"https://api.github.com/users/sventschui/events{/privacy}","received_events_url":"https://api.github.com/users/sventschui/received_events","type":"User","site_admin":false},{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},{"login":"elessar-ch","id":7779684,"avatar_url":"https://avatars.githubusercontent.com/u/7779684?v=3","gravatar_id":"","url":"https://api.github.com/users/elessar-ch","html_url":"https://github.com/elessar-ch","followers_url":"https://api.github.com/users/elessar-ch/followers","following_url":"https://api.github.com/users/elessar-ch/following{/other_user}","gists_url":"https://api.github.com/users/elessar-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/elessar-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elessar-ch/subscriptions","organizations_url":"https://api.github.com/users/elessar-ch/orgs","repos_url":"https://api.github.com/users/elessar-ch/repos","events_url":"https://api.github.com/users/elessar-ch/events{/privacy}","received_events_url":"https://api.github.com/users/elessar-ch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":28,"created_at":"2016-09-08T13:50:40Z","updated_at":"2016-09-15T13:59:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/axa-ch/style-guide/pulls/572","html_url":"https://github.com/axa-ch/style-guide/pull/572","diff_url":"https://github.com/axa-ch/style-guide/pull/572.diff","patch_url":"https://github.com/axa-ch/style-guide/pull/572.patch"},"body":"A little build experiment with webpack. First build `17 s` is damn slow, but incremental builds `2.96 ms` are blazing fast 😃 \r\n\r\nPhase | Browserify | Webpack | Happypack\r\n--- | --- | --- | ---\r\nInitial | `10 s` | `17s` | `17s`\r\nincremental | `11 s` 👎  | `2.96 ms` 👍  | `1.12 ms`, `869 μs` 👍 👍 \r\n\r\n**First build**\r\n\r\n```bash\r\n[15:44:46] Starting 'scripts'...\r\n[15:44:46] Starting 'scripts-transpile'...\r\n[15:44:47] Finished 'scripts-transpile' after 1.26 s\r\n[15:44:47] Starting 'scripts-bundle'...\r\n[15:44:57] Finished 'scripts-bundle' after 10 s\r\n[15:44:57] Starting 'scripts-webpack'...\r\n[15:45:00] Version: webpack 1.13.2\r\n                            Asset     Size  Chunks             Chunk Names\r\n    axa-web-style-guide-all.js.js  1.49 MB       0  [emitted]  axa-web-style-guide-all.js\r\n       jquery/jquery.bundle.js.js   742 kB       1  [emitted]  jquery/jquery.bundle.js\r\n         react/react.bundle.js.js  1.11 MB       2  [emitted]  react/react.bundle.js\r\naxa-web-style-guide-all.js.js.map  1.75 MB       0  [emitted]  axa-web-style-guide-all.js\r\n   jquery/jquery.bundle.js.js.map   872 kB       1  [emitted]  jquery/jquery.bundle.js\r\n     react/react.bundle.js.js.map  1.33 MB       2  [emitted]  react/react.bundle.js\r\n[15:45:15] Finished 'scripts-webpack' after 17 s\r\n[15:45:15] Finished 'scripts' after 29 s\r\n```\r\n\r\n**Incremental Build**\r\n```bash\r\n[15:45:48] Starting 'scripts'...\r\n[15:45:48] Starting 'scripts-transpile'...\r\n[15:45:49] Finished 'scripts-transpile' after 955 ms\r\n[15:45:49] Starting 'scripts-bundle'...\r\n[15:46:00] Finished 'scripts-bundle' after 11 s\r\n[15:46:00] Starting 'scripts-webpack'...\r\n[15:46:00] Finished 'scripts-webpack' after 2.96 ms\r\n[15:46:00] Finished 'scripts' after 12 s\r\n[15:46:00] Starting 'docs-scripts'...\r\n[15:46:01] Version: webpack 1.13.2\r\n                            Asset     Size  Chunks             Chunk Names\r\n    axa-web-style-guide-all.js.js  1.49 MB       0  [emitted]  axa-web-style-guide-all.js\r\n       jquery/jquery.bundle.js.js   742 kB       1  [emitted]  jquery/jquery.bundle.js\r\n         react/react.bundle.js.js  1.11 MB       2  [emitted]  react/react.bundle.js\r\naxa-web-style-guide-all.js.js.map  1.75 MB       0  [emitted]  axa-web-style-guide-all.js\r\n   jquery/jquery.bundle.js.js.map   872 kB       1  [emitted]  jquery/jquery.bundle.js\r\n     react/react.bundle.js.js.map  1.33 MB       2  [emitted]  react/react.bundle.js\r\n[15:46:04] Finished 'docs-scripts' after 4.31 s\r\n```"},"comment":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/comments/247335907","html_url":"https://github.com/axa-ch/style-guide/pull/572#issuecomment-247335907","issue_url":"https://api.github.com/repos/axa-ch/style-guide/issues/572","id":247335907,"user":{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T13:59:09Z","updated_at":"2016-09-15T13:59:09Z","body":"@AndyOGo I'd avoid external images as much as possible. At some point a user will want to switch and image. Having it in markup makes this switch much easier than forcing him to understand the CSS and extend it or override it."}}
{"actor":{"display_login":"davidknezic"}}