{"action":"created","issue":{"url":"https://api.github.com/repos/reactGo/reactGo/issues/519","repository_url":"https://api.github.com/repos/reactGo/reactGo","labels_url":"https://api.github.com/repos/reactGo/reactGo/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/reactGo/reactGo/issues/519/comments","events_url":"https://api.github.com/repos/reactGo/reactGo/issues/519/events","html_url":"https://github.com/reactGo/reactGo/issues/519","id":177620004,"number":519,"title":"Why use \"new ExtractTextPlugin()\" twice and how it works?","user":{"login":"shakaIsReal","id":20947366,"avatar_url":"https://avatars.githubusercontent.com/u/20947366?v=3","gravatar_id":"","url":"https://api.github.com/users/shakaIsReal","html_url":"https://github.com/shakaIsReal","followers_url":"https://api.github.com/users/shakaIsReal/followers","following_url":"https://api.github.com/users/shakaIsReal/following{/other_user}","gists_url":"https://api.github.com/users/shakaIsReal/gists{/gist_id}","starred_url":"https://api.github.com/users/shakaIsReal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakaIsReal/subscriptions","organizations_url":"https://api.github.com/users/shakaIsReal/orgs","repos_url":"https://api.github.com/users/shakaIsReal/repos","events_url":"https://api.github.com/users/shakaIsReal/events{/privacy}","received_events_url":"https://api.github.com/users/shakaIsReal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactGo/reactGo/labels/Discussion","name":"Discussion","color":"fbca04"},{"url":"https://api.github.com/repos/reactGo/reactGo/labels/Documentaion","name":"Documentaion","color":"2A02F5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-09-18T00:31:15Z","updated_at":"2016-09-20T17:36:08Z","closed_at":"2016-09-20T17:36:08Z","body":"**1.** I am confused why you choose to use `new ExtractTextPlugin('styles/main.css', { allChunks: true })` \r\nboth on server and client in `webpack.config.prod.js`. Wouldn't `styles/main.css` be overwritten by the last execution (2nd one)? As I understand we only need one `styles/main.css` in our public folder. Why have two? Or do \r\n```\r\nnew webpack.optimize.OccurenceOrderPlugin(),\r\nnew ExtractTextPlugin('styles/main.css', { allChunks: true }) \r\n```\r\n do something magical together?\r\n\r\n**2.** Can you also explain how  `ExtractTextPlugin` works? Does it only get the style(s) from the entry file or it takes all styles from other components and bundles `em together?\r\n\r\n**3.** Does postCSS/postcss-loader compile sass, so I dont need to use `sass-loader`? \r\n\r\nThanks :)\r\n "},"comment":{"url":"https://api.github.com/repos/reactGo/reactGo/issues/comments/248374251","html_url":"https://github.com/reactGo/reactGo/issues/519#issuecomment-248374251","issue_url":"https://api.github.com/repos/reactGo/reactGo/issues/519","id":248374251,"user":{"login":"shakaIsReal","id":20947366,"avatar_url":"https://avatars.githubusercontent.com/u/20947366?v=3","gravatar_id":"","url":"https://api.github.com/users/shakaIsReal","html_url":"https://github.com/shakaIsReal","followers_url":"https://api.github.com/users/shakaIsReal/followers","following_url":"https://api.github.com/users/shakaIsReal/following{/other_user}","gists_url":"https://api.github.com/users/shakaIsReal/gists{/gist_id}","starred_url":"https://api.github.com/users/shakaIsReal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakaIsReal/subscriptions","organizations_url":"https://api.github.com/users/shakaIsReal/orgs","repos_url":"https://api.github.com/users/shakaIsReal/repos","events_url":"https://api.github.com/users/shakaIsReal/events{/privacy}","received_events_url":"https://api.github.com/users/shakaIsReal/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T17:36:08Z","updated_at":"2016-09-20T17:36:08Z","body":"@psimyn Please do a pull request, if you can! I don't have time to do it ATM. Thanks again :) "}}
{"actor":{"display_login":"shakaIsReal"}}