UNPKG

@rockpack/compiler

Version:

The easiest webpack config generator.

16 lines (13 loc) 368 B
module.exports = () => { process.on('unhandledRejection', (reason) => { console.error(reason, 'Unhandled Rejection'); process.exit(1); }); process.on('uncaughtException', (error) => { console.error(error, 'Unhandled Exception'); process.exit(1); }); process.on('warning', (error) => { console.error(error, 'Warning detected'); }); };