text: import webpack from 'webpack';
  import path from 'path';
  
  const GLOBALS = {
    'process.env.NODE_ENV': JSON.stringify('development'),
    __DEV__: true
  };
  
  export default {
    debug: true,
    devtool: 'cheap-module-eval-source-map',
    noInfo: true,
    entry: [
      'webpack-hot-middleware/client?reload=true',
      './src/index'
    ],
    target: 'web',
    output: {
      path: __dirname + '/dist',
      publicPath: '/',
      filename: 'bundle.js'
    },
    plugins: [
      new webpack.DefinePlugin(GLOBALS),
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin()
    ],
    module: {
      loaders: [
        {
          test: /\.js$/, include: path.join(__dirname, 'src'), loaders: ['babel', 'eslint']
        },
        {
          test: /\.(jpe?g|png|gif|svg)$/i, loaders: ['file']
        },
        {
          test: /(\.css|\.scss)$/, loaders: ['style', 'css?sourceMap', 'sass?sourceMap']
        },
        {
          test: /\.json$/, include: /src/, loader: 'json-loader'
        }
      ]
    }
  };
  