Skip to content
New issue

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

build error when using dts option #611

Closed
Dunqing opened this issue Apr 15, 2022 · 1 comment
Closed

build error when using dts option #611

Dunqing opened this issue Apr 15, 2022 · 1 comment
Labels

Comments

@Dunqing
Copy link

Dunqing commented Apr 15, 2022

image

I found out that the cause of this error is dts plugin's compilerOptions.baseUrl option.
when I set baseUrl to .. it will work fine

I don't understand why tsup is setting it to absolute path

Version

tsup: latest
typescript: latest

Repro

https://github.com/Dunqing/unplugin-moment-to-dayjs

set tsconfig's baseUrl to . or remove it and execute pnpm run build.
you will see the error.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@egoist egoist closed this as completed in df40e12 Apr 21, 2022
@github-actions
Copy link

🎉 This issue has been resolved in version 5.12.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant