Skip to content

weird warnings #182

@levino

Description

@levino

our users get such warnings during build (server mode):

2026-Jan-22 16:54:58.830309
#13 11.20 16:54:58 [WARN] [vite] Export "getTagLabel" of module "node_modules/@levino/shipyard-blog/src/tags.ts" was reexported through module "node_modules/@levino/shipyard-blog/src/index.ts" while 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.
2026-Jan-22 16:54:58.836281
#13 11.20 Either change the import in "node_modules/@levino/shipyard-blog/astro/BlogTagPage.astro" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
2026-Jan-22 16:54:58.983932
#13 11.20 16:54:58 [WARN] [vite] Export "getTagDescription" of module "node_modules/@levino/shipyard-blog/src/tags.ts" was reexported through module "node_modules/@levino/shipyard-blog/src/index.ts" while 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.
2026-Jan-22 16:54:58.983932
#13 11.20 Either change the import in "node_modules/@levino/shipyard-blog/astro/BlogTagPage.astro" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
2026-Jan-22 16:54:58.983932
#13 11.20 16:54:58 [WARN] [vite] Export "getTagDescription" of module "node_modules/@levino/shipyard-blog/src/tags.ts" was reexported through module "node_modules/@levino/shipyard-blog/src/index.ts" while 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.
2026-Jan-22 16:54:58.983932
#13 11.20 Either change the import in "node_modules/@levino/shipyard-blog/astro/BlogTagsIndex.astro" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
2026-Jan-22 16:54:58.983932
#13 11.20 16:54:58 [WARN] [vite] Export "getTagLabel" of module "node_modules/@levino/shipyard-blog/src/tags.ts" was reexported through module "node_modules/@levino/shipyard-blog/src/index.ts" while 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.
2026-Jan-22 16:54:58.983932
#13 11.20 Either change the import in "node_modules/@levino/shipyard-blog/astro/BlogTagsIndex.astro" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.
2026-Jan-22 16:54:58.983932
#13 11.20 16:54:58 [WARN] [vite] Export "getTagPermalink" of module "node_modules/@levino/shipyard-blog/src/tags.ts" was reexported through module "node_modules/@levino/shipyard-blog/src/index.ts" while 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.
2026-Jan-22 16:54:58.983932
#13 11.20 Either change the import in "node_modules/@levino/shipyard-blog/astro/BlogTagsIndex.astro" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.

This is unacceptable. We need to make sure that our code produces no warnings. This we need to enforce with CI checks! Add ci checks and then make sure we do not produce any more warnings. @claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions