title: Storybook + Font Files
body: <p>I can't seem to get Storybook's webpack to compile my CSS. It throws up on the font files and tells me I may need a loader, but I've added one to the <code>webpack.config.js</code> file it's using.</p>
  
  <p>Here is my <code>webpack.config.js</code>:</p>
  
  <pre><code>const resolve = require('path').resolve;
  
  module.exports = {
    module: {
      loaders: [
        {
          test: /\.css$/,
          loaders: ['style', 'css', 'postcss?modules'],
          include: resolve(__dirname, '../')
        },
        {
          test: /\.(png|woff|woff2|eot|ttf|svg)$/,
          loaders: ['file'],
          include: resolve(__dirname, '../')
        }
      ]
    }
  };
  </code></pre>
  
  <p>I have the loader and it sees it, but it still gives me errors like this:</p>
  
  <pre><code>ERROR in ./~/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0
  Module parse failed: /home/dcpdev/projects/my-project/node_modules/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0 Unexpected token (1:0)
  You may need an appropriate loader to handle this file type.
  SyntaxError: Unexpected token (1:0)
      at Parser.pp$4.raise (/home/dcpdev/projects/my-project/node_modules/webpack/node_modules/acorn/dist/acorn.js:2221:15)
      at Parser.pp.unexpected (/home/dcpdev/projects/my-project/node_modules/webpack/node_modules/acorn/dist/acorn.js:603:10)
      at Parser.pp$3.parseExprAtom (/home/dcpdev/projects/my-project/node_modules/webpack/node_modules/acorn/dist/acorn.js:1822:12)
      &lt;snip&gt;
  </code></pre>
  
  <p>I get one of those errors for each extension (eot, woff, woff2, ttf, svg).</p>
  
  <p>I know it's reading that <code>webpack.config.js</code> file, because if I do something like change to a nonsensical loader name (like <code>cake</code>), I get an error from it.</p>
  
  <p>Also, the file is in a <code>storybook</code> directory off the root of my project, so <code>resolve(__dirname, '../')</code> should put it at the root of my project as well.</p>
  
  <p>What am I missing?</p>