Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
task('uiengine', done => {
const opts = {
debug: isDev,
serve: isDev,
watch: isDev
}
UIengine.build(opts)
.then(() => { done() })
.catch(done)
})
exports.handler = argv => {
UIengine.build(argv)
.catch(() => { process.exit(1) })
}