From 453aac0f9d00da5d7462f0fe2f5c20dc495464aa Mon Sep 17 00:00:00 2001 From: Conrawl Rogers Date: Thu, 8 Dec 2022 11:06:11 -0400 Subject: [PATCH] fix: improve type declaration for builds Closes #254 --- src/module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module.ts b/src/module.ts index 3b64acf..e4a7987 100644 --- a/src/module.ts +++ b/src/module.ts @@ -207,6 +207,7 @@ export default defineNuxtModule({ 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',