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
tsup: latest
typescript: latest
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.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too