Nuxt/distributions/nuxt-ts/bin/nuxt-ts.js

9 lines
220 B
JavaScript
Raw Normal View History

2019-01-04 19:30:28 +00:00
#!/usr/bin/env node
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
require('@nuxt/cli' + suffix).run()
.catch((error) => {
require('consola').fatal(error)
process.exit(2)
})