mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
9 lines
253 B
JavaScript
Executable File
9 lines
253 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
const { name } = require('../package.json')
|
|
const isEdge = name.indexOf('-edge') !== -1
|
|
const cli = require(isEdge ? '@nuxt/cli-edge' : '@nuxt/cli')
|
|
if (process.argv[2] !== 'start') {
|
|
process.argv.splice(2, 0, 'start')
|
|
}
|
|
cli.run()
|