vite-dts icon indicating copy to clipboard operation
vite-dts copied to clipboard

Blazing fast plugin that generates .d.ts modules for libraries

Results 9 vite-dts issues
Sort by recently updated
recently updated
newest added

Howdy! I'm just trying out this plugin today, and I'm having a really hard time trying to understand what does the option in the plugin config do? 🤔

``` import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import dts from 'vite-dts'; import { resolve } from 'path'; import Icons from 'unplugin-icons/vite'; export default defineConfig({ plugins: [...

Incompatible with libraries using the following options in **tsconfig.json**... - `baseUrl` - `paths` - `esModuleInterop` (if not also enabled in the consuming project) Maybe more?

documentation

i have a package which uses ES modules, with `"type": "module",` in my `package.json`. if i remove that line, the build process completes successfully¹. however, if i keep it, it...

If you define a file in the `module` field which has a `.mjs` extension, this plugin currently overwrites it with the type definitions. With this change, it instead correctly writes...

I'm working on a project that bundles multiple libraries from the same package, but dts currently uses `main` and `module` exclusively for determining where to output files. This PR adds...

All i get is this ![image](https://user-images.githubusercontent.com/23727670/153376045-d084aad1-3af5-45b3-8b2d-76793a613ca3.png) ```ts import { defineConfig } from "vite"; import dts from "vite-dts"; // https://vitejs.dev/config/ export default defineConfig({ build: { target: "esnext", sourcemap: true, minify: false,...

Building with Vite > 3.1.0 gives the following error: ``` error during build: TypeError: Cannot set properties of undefined (setting 'generateBundle') at configResolved (/.../vite-dts/dist/cjs/plugin.js:56:33) ``` Worked fine prior to 3.1.0...