deno2nix icon indicating copy to clipboard operation
deno2nix copied to clipboard

Specify curl option in `fetchurl` for esm.sh

Open SnO2WMaN opened this issue 2 years ago • 0 comments

https://github.com/SnO2WMaN/deno2nix/issues/4#issuecomment-1241321482

https://esm.sh/#esbuild-options

By default, esm.sh will check the User-Agent header to get the build target automatically. You can specify it with the ?target query. Available targets: es2015 - es2022, esnext, node, and deno.

TODO

  • [ ] Add readme to ?target=deno

SnO2WMaN avatar Sep 09 '22 01:09 SnO2WMaN