Skip to content

Fix Vite circular dependency warning in select components #3535

@dannon

Description

@dannon

Description

The build produces a Vite warning about circular dependencies in the select UI components:

[WARN] [vite] Export "default" of module "src/components/ui/select/SelectContent.vue" was reexported through module "src/components/ui/select/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings.

Fix

Refactor the barrel exports in src/components/ui/select/index.ts to avoid the circular dependency, or restructure the component imports.

Priority

Low - doesn't break functionality, just a build warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    astro-migrationIssues related to the Gridsome to Astro migration

    Type

    No type

    Projects

    Status

    REPORT HERE

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions