Plugins support?
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using tsup for a library and I really like the simplicity.
I want to use an esbuild plugin I wrote to append ".js" or "index.js" on required imports.
To be sure I tested it in plain esbuild and it works well, but not in tsup for some reason.
The `setup` method is properly ran, but not the onLoad callback (its never called).
Is this a know issue? If not how would you debug it ?
Thanks
Contributor guide
Research direction
No repository files or tests are named. Start by comparing the plugin's setup and onLoad behavior in tsup versus plain esbuild, using the reported import-rewriting plugin behavior as the reproduction target. Done means the callback behavior is explained or corrected and covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100