Re:Deno 1.6 supports compiling TypeScript to a single execut...
by mark_and_sweep on Thursday December 10, 2020 @02:06PM
(#25377144)
Here's a quick example of how to use import maps to get Node-like imports for ES modules distributed on NPM like lodash-es: https://gist.github.com/MarkTiedemann/4ac5837195f52d24bb1dec...
[ Parent
| on HN ]
Re:Deno 1.6 supports compiling TypeScript to a single execut...
by nikisweeting on Friday December 11, 2020 @06:17AM
(#25384487)
I know I sound like a broken record at this point, but wouldn't it be helpful if Deno just built something like this in automatically to make those import maps given a lockfile:
https://www.npmjs.com/package/@import-maps/generate/v/0.1.0
This way you'd get both the benefits of web standards compliance with the generated explicit import maps, and backward compatibility and ease-of-migration for npm/yarn users.