summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
blob: 20a61657fccc37970b3f576ae05f20e37f44c74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  entry: './src/app.coffee',
  output: {
    path: './build',
    filename: 'bundle.js'
  },
  plugins: [new HtmlWebpackPlugin()],
  module: {
    loaders: [
      { test: /\.coffee$/, loader: 'coffee-loader' }
    ]
  },
  resolve: {
    extensions: ['', '.js', '.json', '.coffee']
  }
};