lucacasonato / esbuild_deno_loader

Deno module resolution for `esbuild`
https://jsr.io/@luca/esbuild-deno-loader
MIT License
176 stars 46 forks source link

Feature request: expose function independently of esbuild plugin #153

Open mb21 opened 3 weeks ago

mb21 commented 3 weeks ago

If I understand correctly, what this package does (among other things) is to convert e.g. the string npm:ts-blank-space to ~/Library/Caches/deno/npm/registry.npmjs.org/ts-blank-space/0.4.1/out/index.js. Could this be exposed as a normal function? Or is there an easy way to get that out of the esbuild plugin that's already exported?

(see my corresponding StackOverflow question.)