title: ReferenceError: document is not defined issue in SSR Reactjs
body: <p>Can any one help me Server side rendering(SSR), If i remove style-loader fro webpack getting issue with CSS code.</p>
  
  <blockquote>
    <p>webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?:93
    var style = document.createElement('style');
                  ^</p>
    
    <p>ReferenceError: document is not defined
        at insertStyleElement (webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?:93:15)
        at addStyle (webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?:208:13)
        at modulesToDom (webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?:81:18)
        at module.exports (webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?:239:25)
        at eval (webpack:///./src/App.css?:15:14)
        at Object../src/App.css (C:\reactjs\ssr-demo\server-build\index.js:1:20922)
        at a (C:\reactjs\ssr-demo\server-build\index.js:1:172)
        at eval (webpack:///./src/App.js?:4:66)
        at Module../src/App.js (C:\reactjs\ssr-demo\server-build\index.js:1:21877)
        at a (C:\reactjs\ssr-demo\server-build\index.js:1:172)</p>
  </blockquote>