title: CSS module not working on react component
body: <p>I am trying to use css module in my reactjs application. I have added the loader in <code>webpack.config</code> file.</p>
  <pre><code> {
                  test: /\.css$/,
                  loader: 'style!css-loader?modules&amp;importLoaders=1&amp;localIdentName=[name]__[local]___[hash:base64:5]'
  
              },
  </code></pre>
  <p>But when I import a css file in my application and try to use it for <code>classNames</code> like <code>{styles.example}</code> then it does not link to .example in my css file.</p>
  <p>This is how I am doing it:</p>
  <pre><code>import styles from './TestPage.css'
  
  &lt;div className={styles.example}&gt;&lt;/div&gt;
  </code></pre>
  <p>This is not working.</p>
  <p>Components are not styled. I am not getting any error in console though. How can I solve it?</p>