vite-plugin-dts
vite-plugin-dts copied to clipboard
[vite:dts] Cannot read properties of undefined (reading 'length')
Describe the bug
When I use dts according to documentation.
import dts from "vite-plugin-dts";
plugins: [dts()]
I'm try to fix the bug. Add a ?
can resove.
Reproduction
no url
Steps to reproduce
No response
System Info
System:
OS: macOS 15.0.1
CPU: (8) arm64 Apple M1 Pro
Memory: 71.48 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
Browsers:
Chrome: 129.0.6668.91
Safari: 18.0.1
npmPackages:
vite: ^5.4.8 => 5.4.8
vite-plugin-dts: ^4.2.3 => 4.2.3
Validations
- [X] Read the FAQ.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a minimal reproducible example of the bug.