testcafe-workshop/webpack.config.js
2015-08-10 06:20:01 -06:00

15 lines
227 B
JavaScript

var path = require('path');
module.exports = {
entry: './app.js',
output: {
filename: 'bundle.js',
path: here()
},
context: here('js')
};
function here(d) {
return d ? path.join(__dirname, d) : __dirname;
}