mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
dec8f99fc3
Co-authored-by: Clark Du <clark.duxin@gmail.com>
11 lines
293 B
JavaScript
Executable File
11 lines
293 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
global.__NUXT_PATHS__ = (global.__NUXT_PATHS__ || []).concat(__dirname)
|
|
|
|
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
|
|
require('@nuxt/cli' + suffix).run()
|
|
.catch((error) => {
|
|
require('consola').fatal(error)
|
|
process.exit(2)
|
|
})
|