Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (24 sloc) 428 Bytes
var path = require('path');
module.exports = {
devtool: 'eval',
entry: [
'./src/index.js'
],
output: {
path: path.join(__dirname, 'public/dist'),
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.js$/,
loaders: ['babel-loader'],
include: path.join(__dirname, 'src')
},
{
test: /\.css$/,
loaders: ['style', 'css']
}
]
}
};
Something went wrong with that request. Please try again.