Skip to content

Commit

Permalink
fix: improve type declaration for builds
Browse files Browse the repository at this point in the history
Closes #254
  • Loading branch information
Diizzayy committed Dec 8, 2022
1 parent 431b092 commit 453aac0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export default defineNuxtModule<GqlConfig>({

if (config.autoImport) {
nuxt.options.alias['#gql'] = resolver.resolve(nuxt.options.buildDir, 'gql')
nuxt.options.alias['#gql/*'] = resolver.resolve(nuxt.options.buildDir, 'gql', '*')

addTemplate({
filename: 'gql.mjs',
Expand Down

0 comments on commit 453aac0

Please sign in to comment.