module.exports = {
  entry: {
    'public/js/bundle.js': ['./index.js'],
  },
  output: {
    filename: '[name]',
  },
  devtool: 'eval',
  module: {
    loaders: [
      {
        test: /.js$/,
        exclude: /node_modules/,
        loaders: ['babel'],
      }
    ]
  }
}
