title: Trying to import/convert a CRA app into Razzle JS
body: <p>I'm new to Razzle and I'm trying to learn it.  I took a <a href="https://github.com/devias-io/react-material-dashboard" rel="nofollow noreferrer">Material-UI dashboard app</a> and am trying to "import" or "convert" it into my blank-ish razzle app.</p>
  
  <p>I copied the contents of the CRA app's <code>./src</code> into my razzle source at the right spot, referenced the right components, etc.</p>
  
  <p>At first, Razzle didn't like the <code>@import</code> statements in the CRA repo.  I fixed that by using npm to install <code>razzle-plugin-scss</code>, which got me past that issue.  But now I'm hitting something I don't understand at all (nor even how to go about finding a resolution):</p>
  
  <pre><code>{ Error: Cannot find module 'css-loader/locals'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15)
      at Function.resolve (internal/modules/cjs/helpers.js:19:19)
      at module.exports (/home/user/my-project/node_modules/razzle-plugin-scss/index.js:106:31)
      at runPlugin (/home/user/my-project/node_modules/razzle/config/runPlugin.js:26:10)
      at plugins.forEach.plugin (/home/user/my-project/node_modules/razzle/config/createConfig.js:549:16)
      at Array.forEach (&lt;anonymous&gt;)
      at module.exports (/home/user/my-project/node_modules/razzle/config/createConfig.js:548:13)
      at main (/home/user/my-project/node_modules/razzle/scripts/start.js:48:22)
      at processTicksAndRejections (internal/process/next_tick.js:81:5) code: 'MODULE_NOT_FOUND' }
  </code></pre>
  
  <p>I looked in <code>css-loader</code> and found that you (maybe?) need to instruct it to export locals with the <code>exportOnlyLocals: true</code> webpack directive.  I'm not sure how to do that in Razzle.  I found <a href="https://github.com/jaredpalmer/razzle/tree/master/packages/razzle-plugin-scss" rel="nofollow noreferrer">this page</a> that shows an example of how to configure it through <code>razzle.config.js</code>, but it assumes more knowledge than I have.</p>
  
  <p>How can I configure webpack in Razzle to ... do something? ... to tell the underlying webpack plugin <code>css-loader</code> to load locals?</p>
  
  <p>Any help is much appreciated.</p>
  
  <p><strong>Update</strong></p>
  
  <p>It looks like this is caused by a breaking change in <code>css-loader</code> when it moved to <code>v2.0.0</code>.  I still don't know what the solution is, but that's getting me closer.</p>