We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example:
"paths": { "$styled-system/*": ["./styled-system/*"] }
in tsconfig.json
I think this is because of the regex you are using, need to somehow escape the dollar sign I believe.
cant.com
No response
System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M1 Pro Memory: 100.06 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm pnpm: 8.2.0 - ~/Library/pnpm/pnpm Browsers: Brave Browser: 115.1.56.20 Chrome: 120.0.6099.199 Chrome Canary: 122.0.6232.1 Safari: 17.2.1 npmPackages: @vitejs/plugin-react: ^4.0.0 => 4.2.1 vite: ^5.0.0 => 5.0.11 vite-plugin-dts: 3.5.2 => 3.5.2
The text was updated successfully, but these errors were encountered:
This is where the error is coming from: https://github.com/qmhc/vite-plugin-dts/blob/main/src/transform.ts#L131
const endSlash = matchResult[1].match(matchedAlias.find)![0].endsWith('/')
matchResult[1].match(matchedAlias.find)! return null and [0] fails.
matchResult[1].match(matchedAlias.find)!
Sorry, something went wrong.
e8827cb
@qmhc Thank you :D
Successfully merging a pull request may close this issue.
Describe the bug
example:
in tsconfig.json
I think this is because of the regex you are using, need to somehow escape the dollar sign I believe.
Reproduction
cant.com
Steps to reproduce
No response
System Info
Validations
The text was updated successfully, but these errors were encountered: