text: var path = require('path');
  var webpack = require('webpack');
  var HTMLWebpackPlugin = require('html-webpack-plugin');
  
  
  module.exports = {
      devtool: 'cheap-eval-source-map',
      entry: [
          'webpack-dev-server/client?http://localhost:8080',
          'webpack/hot/dev-server',
          './src/index'
      ],
      output: {
          path: path.join(__dirname, 'dist'),
          filename: 'bundle.js'
      },
      plugins: [
          new webpack.HotModuleReplacementPlugin(),
          new HTMLWebpackPlugin({
              template: './src/index.html'
          })
      ],
      module: {
          loaders: [{
              test: /\.css$/,
              loaders: ['style', 'css']
          }]
      },
      devServer: {
          contentBase: './dist',
          hot: true
      }
  }