DEV Community

Discussion on: Bundle a TypeScript library with Bili

renoirb profile image
Renoir Boulanger

This is amazing!
Code changed a lot since last time I imported it.
TypeScript definitions and typings annotations are also nice.

While experimenting with the version bump, I realized maybe I misunderstood how to make different bundles not just by format, but by target runtime (e.g. Jest test runner, browser, etc).

I'm experimenting this in this reproduction repository, and opened a ticket.

I will contribute documentation once I've understood how to do it properly. I must be missing something.