Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70dcc9b

Browse files
committed
fix(build,dev): support showing nitro version
1 parent bbf70fc commit 70dcc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxi/src/utils/banner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function showVersionsFromConfig(cwd: string, config: NuxtOptions) {
4444
}
4545

4646
const nuxtVersion = getPkgVersion('nuxt') || getPkgVersion('nuxt-nightly') || getPkgVersion('nuxt3') || getPkgVersion('nuxt-edge')
47-
const nitroVersion = getPkgVersion('nitropack') || getPkgVersion('nitropack-nightly') || getPkgVersion('nitropack-edge')
47+
const nitroVersion = getPkgVersion('nitropack') || getPkgVersion('nitro') || getPkgVersion('nitropack-nightly') || getPkgVersion('nitropack-edge')
4848
const builder = getBuilder()
4949
const vueVersion = getPkgVersion('vue') || null
5050

0 commit comments

Comments
 (0)