diff --git a/lib/makeEntryPoint.js b/lib/makeEntryPoint.js index e82cdbd..4325f01 100644 --- a/lib/makeEntryPoint.js +++ b/lib/makeEntryPoint.js @@ -5,6 +5,10 @@ const defaultConfig = require('./configDefaults.js') const groupGlobalOptions = require('./groupGlobalOptions.js') const reporter = require('./reporter.js') +process.on('unhandledRejection', (err) => { + throw err +}) + module.exports = ({ builder, handler }) => { const yargs = require('yargs') // singleton // TODO: Show description