aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
blob: a2514114e80a106cea430babe8f1694ffec585a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module.exports = {
    entry: __dirname + '/src/index.js',
    output: {
        path: __dirname + '/dist',
        publicPath: '/dist/',
        filename: 'bundle.js'
    },
    module: {
        rules: [{
            test: /\.js$/,
            exclude: /node_modules/,
            use: 'babel-loader'
        }]
    },
	devServer: {
		contentBase: [ './' ],
		watchContentBase: true
	}
};