DEV Community

Bundle a TypeScript library with Bili

EGOIST on March 19, 2019

Bili is a bundler built on the top of Rollup, it can be really convenient if you wanna bundle your library in multiple formats, nowadays it's prett...
Collapse
 
renoirb profile image
Renoir

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

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 github.com/renoirb/experiments-201... 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.

Collapse
 
frank1e0927 profile image
Frankie

Egoist真强

Collapse
 
steveohoh profile image
steveo

Amazing work