DjDeveloperr / skia_canvas

Fast HTML Canvas API implementation for Deno using Google Skia
https://jsr.io/@gfx/canvas
Apache License 2.0
132 stars 9 forks source link

chore: modernize module #64

Closed lino-levan closed 8 months ago

lino-levan commented 8 months ago

Closes #63 and #62

RuiNtD commented 8 months ago

It may be a good idea to migrate the deps to JSR now that it's out. Plug appears to be on there.

lino-levan commented 8 months ago

@DjDeveloperr what do you think?

I need to fix the performance hit on old Deno versions regardless before this gets merged.

DjDeveloperr commented 8 months ago

I talked to Elias about it - we need some changes in plug before we can migrate: some additional utilities need to be exported, which we can simply import on deno.land/x but on JSR it needs to be explicitly specified as an entry point, or exported from the main entry point.

lino-levan commented 8 months ago

We could always vendor them, but if you're against that we can just sit tight.