Skip to content

Commit

Permalink
fix: don't use nuxt aliases (#3120)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Sep 21, 2024
1 parent f210497 commit 98897f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import type { Nuxt } from '@nuxt/schema'
import type { LocaleInfo } from './types'
import { resolveI18nDir } from './layers'
import { i18nVirtualLoggerPlugin } from './virtual-logger'
import type { I18nNuxtContext } from '~/src/context'
import type { I18nNuxtContext } from './context'

const debug = createDebug('@nuxtjs/i18n:nitro')

Expand Down
2 changes: 1 addition & 1 deletion src/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { NUXT_I18N_COMPOSABLE_DEFINE_ROUTE } from './constants'
import type { Nuxt, NuxtPage } from '@nuxt/schema'
import type { NuxtI18nOptions, CustomRoutePages, ComputedRouteOptions, RouteOptionsResolver } from './types'
import type { Node, ObjectExpression, ArrayExpression } from '@babel/types'
import type { I18nNuxtContext } from '~/src/context'
import type { I18nNuxtContext } from './context'

const debug = createDebug('@nuxtjs/i18n:pages')

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/routing/compatibles/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type {
RouteLocationNormalizedLoaded,
RouteLocationNormalized
} from 'vue-router'
import type { ModulePublicRuntimeConfig } from '~/src/module'
import type { ModulePublicRuntimeConfig } from '../../../module'

const RESOLVED_PREFIXED = new Set<Strategies>(['prefix_and_default', 'prefix_except_default'])

Expand Down

0 comments on commit 98897f4

Please sign in to comment.