feat: instant builds
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
const nexe = require('./lib/nexe')
|
||||
const { error } = require('./lib/logger')
|
||||
const logger = require('./lib/logger').default
|
||||
|
||||
module.exports = nexe
|
||||
|
||||
if (require.main === module) {
|
||||
nexe.compile(nexe.argv).catch((e) => {
|
||||
error(e.stack, () => process.exit(1))
|
||||
logger.error(e.stack, () => process.exit(1))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user