Open
Description
Possibilities:
- microbundle
- Pros:
- Used it before
- Works well w no config
- Cons:
- I don't really need to bundle, just to compile and create a wrapper
.mjs
file - I don't know if it creates wrappers, instead it would create two separate outputs, one for commonjs and one for ESM, which would hit the dual-package hazard. I'm not totally convinced that's a major issue for this library since it just provides helpers for building your own
fetch
, but probably better to avoid to be safe - Doesn't use esbuild or swc (yet)
- Last publish a year ago (at time of writing, 2023-08-24)
- I don't really need to bundle, just to compile and create a wrapper
- Pros:
- unbuild
- Pros:
- Seems it can build-helpfully rather than bundle
- Seems easy to configure
- Last publish 2 days ago
- Update April 2024: Last publish 8 months ago
- Cons:
- Haven't used
- Marginally less popular than microbundle
- Pros:
- tsup
- Seen good people use it (trpc, panda)
- just tsc, no -> .cjs conversion
- The original and still the best
- Given we don't really need a separate ESM bundle, maybe this is better
Metadata
Metadata
Assignees
Labels
No labels