title: How to process base64 image in webpack?
body: <p>I'm using webpack in my project. I'm trying to use <a href="http://codeseven.github.io/toastr/" rel="nofollow">toastr</a></p>
  
  <p>Toastr css file uses base64 in url like the following:</p>
  
  <pre><code>#toast-container &gt; .toast-success {
      background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;}
  </code></pre>
  
  <p>The following is my webpack configuration:</p>
  
  <pre><code>'use strict'
  
  var webpack = require('webpack');
  var path = require('path');
  var extractTextWebpackPlugin = require('extract-text-webpack-plugin');
  
  module.exports = {
  devtool: 'cheap-module-eval-source-map',
  entry: [
      './modules/index.js'
  ],
  output: {
      path: path.join(__dirname, 'public'),
      filename: 'bundle.js'
  },
  module: {
      noParse: [
          /aws\-sdk/,
      ],
      loaders: [{
              test: /\.css$/,
              exclude: /node_modules/,
              include: path.resolve(__dirname, 'public/stylesheet'),
              loader: extractTextWebpackPlugin.extract('style-loader', 'css-loader')
          },
  
          {
              test: /\.js$/,
              exclude: /node_modules/,
              include: __dirname,
              loaders: ['babel']
          },
          {
              test: /\.(png|jpg|svg)$/,
              exclude: /node_modules/,
              loader: 'url-loader?limit=2000',
              include: [
                  path.resolve(__dirname, 'public')
              ]
          }
      ]
  },
  plugins: [
      new extractTextWebpackPlugin("styles.css")
  ]
  }
  </code></pre>
  
  <p>When I run <code>webpack</code> in terminal I get the error</p>
  
  <pre><code>ERROR in ./~/toastr/build/toastr.css
  Module parse failed: /Users/Admin/Downloads/kamal/development/client-app/node_modules/toastr/build/toastr.css Unexpected token (1:0)
  </code></pre>
  
  <p>How can I process base64 url with webpack?</p>