From aa7117b0448676c6a2f2a8907d3072f3612ff7b6 Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sun, 15 Sep 2024 22:23:34 +0200 Subject: [PATCH] fix(nuxt): add missing `isNuxtMajorVersion` export (#29016) --- packages/kit/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/src/index.ts b/packages/kit/src/index.ts index ad4bfb4bde..bbe44b1f7c 100644 --- a/packages/kit/src/index.ts +++ b/packages/kit/src/index.ts @@ -15,7 +15,7 @@ export { addImports, addImportsDir, addImportsSources } from './imports' export { updateRuntimeConfig, useRuntimeConfig } from './runtime-config' export { addBuildPlugin, addVitePlugin, addWebpackPlugin, extendViteConfig, extendWebpackConfig } from './build' export type { ExtendConfigOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions } from './build' -export { assertNuxtCompatibility, checkNuxtCompatibility, getNuxtVersion, hasNuxtCompatibility, normalizeSemanticVersion, isNuxt2, isNuxt3 } from './compatibility' +export { assertNuxtCompatibility, checkNuxtCompatibility, getNuxtVersion, hasNuxtCompatibility, isNuxtMajorVersion, normalizeSemanticVersion, isNuxt2, isNuxt3 } from './compatibility' export { addComponent, addComponentsDir } from './components' export type { AddComponentOptions } from './components' export { nuxtCtx, tryUseNuxt, useNuxt } from './context'