Re:Deno 1.6 supports compiling TypeScript to a single execut...
by wperron on Thursday December 10, 2020 @10:47AM
(#25374917)
_If_ the node library uses explicit file imports, and ESM instead of CJS, it _is_ already possible to just do `npm install` and import from "./node_modules" -- again the problem is that Node's import resolution algorithm is horribly complex and not very explicit, but it's possible to be explicit using Node, and that would make it compatible in Deno
[ Parent
| on HN ]
Re:Deno 1.6 supports compiling TypeScript to a single execut...
by nikisweeting on Friday December 11, 2020 @06:02PM
(#25392785)
Considering you can generate the import maps from a given npm/yarn lockfile (https://www.npmjs.com/package/@import-maps/generate/v/0.1.0) wouldn't it be possible for Deno to provide a command to do this and get the benefits of both backward npm/yarn compatibility and forward web compatibility with import-maps?