Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.all(tasks.map(task => compiler.build(task.src, task.dest, opt)))
.catch(err => console.error(err))
.all(tasks.map(task => compiler.build(task.src, `${task.dest}.bin`, opt)))
.catch(err => console.error(err))