This commit is contained in:
Kent C. Dodds 2015-08-10 07:02:05 -06:00
parent 0b30bc3103
commit d19a4c151f

View File

@ -1,19 +1,19 @@
var path = require('path');
module.exports = {
entry: './app.js',
output: {
filename: 'bundle.js',
path: here()
},
context: here('js'),
module: {
loaders: [
{test: /\.css$/, loaders: ['style', 'css']}
]
}
entry: './app.js',
output: {
filename: 'bundle.js',
path: here()
},
context: here('js'),
module: {
loaders: [
{test: /\.css$/, loaders: ['style', 'css']}
]
}
};
function here(d) {
return d ? path.join(__dirname, d) : __dirname;
return d ? path.join(__dirname, d) : __dirname;
}