text: /*
   * Webpack development server configuration
   *
   * This file is set up for serving the webpack-dev-server, which will watch for changes and recompile as required if
   * the subfolder /webpack-dev-server/ is visited. Visiting the root will not automatically reload.
   */
  'use strict';
  var webpack = require('webpack');
  
  module.exports = {
  
    output: {
      filename: 'main.js',
      publicPath: '/assets/'
    },
  
    cache: true,
    debug: true,
    devtool: false,
    entry: [
        'webpack/hot/only-dev-server',
        './src/components/AsyncCartogramApp.js'
    ],
  
    stats: {
      colors: true,
      reasons: true
    },
  
    resolve: {
      extensions: ['', '.js', '.jsx'],
      alias: {
        'styles': __dirname + '/src/styles',
        'mixins': __dirname + '/src/mixins',
        'components': __dirname + '/src/components/'
      }
    },
    module: {
      preLoaders: [],
      loaders: [{
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loader: 'react-hot!babel-loader'
      }, {
        test: /\.css$/,
        loader: 'style-loader!css-loader'
      }, {
        test: /\.(png|jpg|woff|woff2)$/,
        loader: 'url-loader?limit=8192'
      }]
    },
  
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin()
    ]
  
  };
  