mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +00:00
98c1922770
also prefer lazy requires. [release]
9 lines
212 B
JavaScript
Executable File
9 lines
212 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
if (process.argv[2] !== 'start') {
|
|
process.argv.splice(2, 0, 'start')
|
|
}
|
|
|
|
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
|
|
require('@nuxt/cli' + suffix).run()
|