You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we have Svelte support but when exporting a svelte file in a index.ts file, it throws this error (only when dts is set to true):
ESM ⚡️ Build success in 69ms
DTS Build start
"default" is not exported by "src/Button.svelte", imported by "src/index.ts".
Error: error occured in dts build
at Worker.<anonymous> (/tmp/my-library/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/tsup/dist/index.js:2690:26)
at Worker.emit (node:events:519:28)
at MessagePort.<anonymous> (node:internal/worker:263:53)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
How can we generate Component.svelte.d.ts file and support exporting svelte files in ts/js files? Thank you!
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.
The text was updated successfully, but these errors were encountered:
Hi, we have Svelte support but when exporting a
svelte
file in aindex.ts
file, it throws this error (only whendts
is set totrue
):How can we generate
Component.svelte.d.ts
file and support exportingsvelte
files ints/js
files? Thank you!Upvote & Fund
The text was updated successfully, but these errors were encountered: