Nuxt/distributions/nuxt/bin/nuxt.js
2019-01-19 16:19:57 +03:30

9 lines
220 B
JavaScript
Executable File

#!/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)
})