Commit 8ab90659 authored by Mike Greiling's avatar Mike Greiling

Ensure the build fails on DLL error

parent e6927403
......@@ -336,13 +336,16 @@ module.exports = {
if (stats.hasErrors()) {
console.error(info.errors.join('\n\n'));
return callback('DLL not compiled successfully.');
}
if (stats.hasWarnings()) {
console.warn(info.warnings.join('\n\n'));
console.warn('DLL compiled with warnings.');
} else {
console.log('DLL compiled successfully.');
}
console.log('DLL compiled successfully.');
dll.exists = true;
callback();
});
......
......@@ -15,6 +15,9 @@ module.exports = {
extensions: ['.js'],
},
// ensure output is not generated when errors are encountered
bail: true,
context: ROOT_PATH,
entry: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment