import assertion get removed from output
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
When bundling an 'esm' file that include [`import assertions`](https://github.com/tc39/proposal-import-assertions), they are missing in the generated output.
Repo with reproduction: https://github.com/ivanhofer/tsup-import-assertion-bug
In `/esbuild/index.js` the import assertion are here, but in `/tsup/index.mjs` they are missing.
I would expect `tsup` to also include the import assertions in the generated output.
Contributor guide
Assessment
This issue has not been assessed yet.