Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Plugin doesn't respect tsconfig.json exclude files. #247

@jtillwickEA

Description

@jtillwickEA

I have a simple react project and I want to prevent vite from transforming certain files from within my src directory. I have an exclude line in tsconfig.json and tsc ignores these files, but vite doesn't. It complains that it can't find modules imported in those files. I don't want those files transformed at all.

How do fix?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions