GoogleChromeLabs/comlink

Find a way to support Deno and TS with the same code base

Open

Aperta il 13 lug 2021

Vedi su GitHub
 (2 commenti) (5 reazioni) (0 assegnatari)TypeScript (10.359 star) (382 fork)batch import
help wanted

Descrizione

Currently, you can use Comlink in Deno through one of the npm CDNs (unpkg, skypack etc). But it’d be nice to be able to import the source from GitHub directly. This currently doesn’t work as TypeScript enforces either no file extensions in imports or .js extension, while Deno requires the actual file path (ending in .ts).

Guida contributor