diff --git a/src/runtime/plugins/dns.server.ts b/src/runtime/plugins/dns.server.ts index 068b6a09..32ff5507 100644 --- a/src/runtime/plugins/dns.server.ts +++ b/src/runtime/plugins/dns.server.ts @@ -1,4 +1,6 @@ import { defineNuxtPlugin } from '#imports' +// FIXME: https://github.com/nuxt/module-builder/issues/141#issuecomment-2078248248 +import type {} from '#app' // Fixes `ECONNREFUSED` on Node 18: https://github.com/node-fetch/node-fetch/issues/1624#issuecomment-1407717012 export default defineNuxtPlugin({ diff --git a/src/runtime/plugins/strapi.ts b/src/runtime/plugins/strapi.ts index 6324f782..3cba03ba 100644 --- a/src/runtime/plugins/strapi.ts +++ b/src/runtime/plugins/strapi.ts @@ -1,6 +1,8 @@ import { useStrapiAuth } from '../composables/useStrapiAuth' import { useStrapiUser } from '../composables/useStrapiUser' import { defineNuxtPlugin } from '#imports' +// FIXME: https://github.com/nuxt/module-builder/issues/141#issuecomment-2078248248 +import type {} from '#app' export default defineNuxtPlugin(async () => { const user = useStrapiUser()