mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
fix(cli): enable server for implicit SPA generate in nuxt build
revert it back with nuxt 3
This commit is contained in:
parent
89fd80c2ce
commit
c46def75cf
@ -61,7 +61,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async run(cmd) {
|
async run(cmd) {
|
||||||
const config = await cmd.getNuxtConfig({ dev: false, server: false })
|
const config = await cmd.getNuxtConfig({ dev: false })
|
||||||
const nuxt = await cmd.getNuxt(config)
|
const nuxt = await cmd.getNuxt(config)
|
||||||
|
|
||||||
if (cmd.argv.lock) {
|
if (cmd.argv.lock) {
|
||||||
|
Loading…
Reference in New Issue
Block a user