deno2nix
deno2nix copied to clipboard
Specify curl option in `fetchurl` for esm.sh
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