forked from boranton/testcafe-workshop
more fine-tuning of the config
This commit is contained in:
parent
5e9c6d4f9d
commit
fcdd0ba013
@ -5,11 +5,11 @@ module.exports = env => {
|
||||
output: {
|
||||
filename: 'bundle.js',
|
||||
path: resolve(__dirname, 'dist'),
|
||||
pathinfo: true,
|
||||
pathinfo: !env.prod,
|
||||
},
|
||||
context: resolve(__dirname, 'src'),
|
||||
devtool: env.prod ? 'source-map' : 'eval',
|
||||
bail: !env.dev,
|
||||
bail: env.prod,
|
||||
module: {
|
||||
loaders: [
|
||||
{test: /\.js$/, loader: 'babel!eslint', exclude: /node_modules/},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user