We currently output a mod.js for deno and an index.d.ts for node. index.d.ts doesn't work with deno because (a) it doesn't have the types for our dependencies bundled, and (b) index.d.ts isn't referenced in mod.js, so deno wouldn't know where to find the types anyway.
Once we figure out the bundling of types for deno, we should also:
- add a section about deno to the readme
- add a deno example
- potentially publish to
deno.land/x
Also, mod.js currently includes, bundled-in, all our dependencies. Ideally it would import them.
We currently output a
mod.jsfor deno and anindex.d.tsfor node.index.d.tsdoesn't work with deno because (a) it doesn't have the types for our dependencies bundled, and (b)index.d.tsisn't referenced inmod.js, so deno wouldn't know where to find the types anyway.Once we figure out the bundling of types for deno, we should also:
deno.land/xAlso,
mod.jscurrently includes, bundled-in, all our dependencies. Ideally it would import them.