mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore: fix eslint issue
This commit is contained in:
parent
cb912c3c0c
commit
8714731892
@ -38,7 +38,7 @@ export default defineNuxtCommand({
|
||||
.join(', ')
|
||||
|
||||
// Check nuxt version
|
||||
const nuxtVersion = getDepVersion('nuxt') || getDepVersion('nuxt-edge') || getDepVersion('nuxt3') || '0.0.0'
|
||||
const nuxtVersion = getDepVersion('nuxt') || getDepVersion('nuxt-edge') || getDepVersion('nuxt3') || '0.0.0'
|
||||
const isNuxt3 = nuxtVersion.startsWith('3')
|
||||
const useVite = isNuxt3
|
||||
? nuxtConfig.vite !== false
|
||||
|
Loading…
Reference in New Issue
Block a user