text: var path = require('path');
  var webpack = require('webpack');
  var ExtractTextPlugin = require('extract-text-webpack-plugin');
  
  module.exports = {
    devtool: 'eval',
  
    entry: [
      'webpack-dev-server/client?http://localhost:3000',
      'webpack/hot/only-dev-server',
      './src/main'
    ],
  
    output: {
      path: path.join(__dirname, 'dist'),
      filename: 'bundle.js',
      publicPath: '/static/'
    },
  
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin(),
      new ExtractTextPlugin('style.css', { allChunks: true })
    ],
  
    module: {
      loaders: [{
        test: /\.jsx?$/,
        loaders: ['react-hot', 'babel-loader'],
        include: path.join(__dirname, 'src')
      },
      {
        test: /\.css$/,
        loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader')
      }]
    },
  
    // Automatically transform files with these extensions
    resolve: {
      extensions: ['', '.js', '.jsx', '.css'],
      alias: {
        'bacon': 'baconjs'
      }
    },
  
    // Additional plugins for CSS post processing using postcss-loader
    postcss: [
      require('autoprefixer'), // Automatically include vendor prefixes
      require('postcss-nested') // Enable nested rules, like in Sass
    ]
  };
  