Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 472 Bytes
module.exports = {
cache: true,
entry: './src/index.js',
output: {
path: __dirname + '/build/',
filename: 'bundle.js'
},
devtool: 'source-map',
module: {
loaders: [
{
test: /\.js$/,
include: /src/,
loader: 'babel-loader',
query: {modules: 'common'}
},
{
test: /\.less$/,
loader: 'style!css!less'
},
{
test: /\.json$/,
loader: 'json'
}
]
}
};