module.exports = {
entry: './src/index.js',
output: {
path: __dirname + '/src',
filename: 'build.js'
},
watch: true,
module: {
loaders:[{
test: /\.js$/,
loader: 'babel-loader'
}]
}
};