Open ronenteva opened 1 month ago
Hi, could you confirm how you're importing it? Are you just relying on the auto-imports?
In any case, this is safe to ignore, I'll try and fix it as I understand these warnings aren't ideal.
Yes, just relying on the auto-imports. Thanks!
Same issue (I'm using it in my sitemap routes):
Export "useSiteConfig" of module "node_modules/nuxt-site-config/dist/runtime/nitro/composables/useSiteConfig.
js" was reexported through module "node_modules/nuxt-site-config/dist/runtime/nitro/composables/index.js" whi
le both modules are dependencies of each other and will end up in different chunks by current Rollup settings
. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
Either change the import in "server/api/__sitemap__/filterpages.ts" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
Describe the bug
After adding
const siteConfig = useSiteConfig(event)
on a server route, I keep getting this error on build:Reproduction
No response
System / Nuxt Info