text: var ExtractTextPlugin = require('extract-text-webpack-plugin');
  var path = require('path');
  var webpack = require('webpack');
  
  module.exports = {
    devtool: 'eval',
    entry: [
      'webpack-hot-middleware/client',
      './src/index'
    ],
    output: {
      path: path.join(__dirname, 'public', 'static'),
      filename: 'reindex-graphiql.js',
      publicPath: '/static/'
    },
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin(),
      new ExtractTextPlugin('reindex-graphiql.css'),
    ],
    module: {
      loaders: [
        {
          test: /\.js$/,
          loaders: ['babel-loader'],
          include: path.join(__dirname, 'src')
        },
        {
          test: /\.css$/,
          loader: ExtractTextPlugin.extract(
            'style-loader',
            'css-loader'
          ),
        }
      ]
    }
  };
  