Simon Egersand
2018-02-11 c6bf905a9c74a8c12fd4e3be1802385e22bf3108
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var path = require('path');
 
module.exports = {
    entry: [
        'webpack/hot/dev-server',
        'webpack-dev-server/client?http://localhost:8080',
        path.resolve(__dirname, 'example.js')
    ],
 
    output: {
        path: path.resolve(__dirname, '.'),
        filename: 'bundle.js'
    }
};