forked from boranton/testcafe-workshop
reformat
This commit is contained in:
parent
0b30bc3103
commit
d19a4c151f
@ -1,19 +1,19 @@
|
|||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './app.js',
|
entry: './app.js',
|
||||||
output: {
|
output: {
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
||||||
path: here()
|
path: here()
|
||||||
},
|
},
|
||||||
context: here('js'),
|
context: here('js'),
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{test: /\.css$/, loaders: ['style', 'css']}
|
{test: /\.css$/, loaders: ['style', 'css']}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function here(d) {
|
function here(d) {
|
||||||
return d ? path.join(__dirname, d) : __dirname;
|
return d ? path.join(__dirname, d) : __dirname;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user