I spend a lot of time working in Observable notebooks these days and I’m interested in using Deno over Node.js, but a big problem is that most packages on npm don’t provide ESM entry points and Skypack, ESM.sh, and UNPKG don’t work for about 50% of the modules that I try importing from the browser or Deno.
I was playing with JSPM’s import map generator today and I was able to get some packages working using import maps. However, I’m not sure how to get import maps working in Observable. It looks like Observable overrides the native import
function because modules with no prefix automatically resolve to " https://unpkg.com/MODULE_NAME." Is there some way to access the native import function?