Skip to content

Commit

Permalink
fix: remove file extension from alias
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Sep 19, 2024
1 parent 999ee9c commit 6d45160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default defineNuxtModule<NuxtI18nOptions>({

const resolver = createResolver(import.meta.url)
// for composables
nuxt.options.alias['#i18n'] = resolver.resolve('./runtime/composables/index.js')
nuxt.options.alias['#i18n'] = resolver.resolve('./runtime/composables/index')
nuxt.options.build.transpile.push('#i18n')
nuxt.options.build.transpile.push(VIRTUAL_NUXT_I18N_LOGGER)

Expand Down

0 comments on commit 6d45160

Please sign in to comment.