Reactjs – Vite + TS + vite-plugin-dts – incorrect generation of type files
I'm writing a library of react components using Vite and TypeScript. To create type definition files I'm trying to use the recommended plugin vite-plugin-dts. This is what my vite.config.ts file looks like: import { defineConfig } from "vite"; import dts…