Pomax / lib-font

This library adds a new Font() object to the JavaScript toolbox, similar to new Image() for images
MIT License
734 stars 72 forks source link

rollup is broken #108

Closed Pomax closed 3 years ago

Pomax commented 3 years ago

it renames fetch to fetch$1, which breaks everything, and there is no way to make it not do that from the looks of it, so either rollup gets taken out (I'd be all for that) or the fetch code is made a LOT more complex just to deal with rollup's insistence that a not-protected name fetch is a protected name.

RoelN commented 3 years ago

Does this mean lib-font.js currently doesn't have any of the new code, as it can't be rolled up? Any way to use the latest code with the latest master/npm package?

Pomax commented 3 years ago

lib-font.js does, there just isn't a dist dir anymore for the moment for prebundled legacy use

RoelN commented 3 years ago

Is this still relevant? 🤔

Pomax commented 3 years ago

not as far as I'm concerned.