Skip to content

Validate Vite config outDir matches expected dist/ location #206

@fasterthanlime

Description

@fasterthanlime

When using Vite integration, dodeca expects the build output at dist/ (sibling to content/), but users might configure outDir: "static/dist" or other locations in their vite.config.ts.

Dodeca should:

  1. Check if vite.config.ts exists and parse the outDir setting
  2. Warn if it doesn't match the expected dist/ location
  3. Or better: read the outDir from vite config and use that instead of hardcoding dist/

This would prevent confusion when the manifest isn't found because it's in the wrong place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions