ioBI
Deno3y ago
ioB

Specifying config remotely or jsx on install

I'm struggling quite a lot here. I originally recommended using this command:
deno install -Afr --config https://deno.land/x/pyro/deno.jsonc -n pyro https://deno.land/x/pyro/cli.ts

but it turns out deno doesn't support loading a remote config? That seems strange to me but sure. To work around this, I'm trying to do:
deno install -Afr --importmap https://deno.land/x/pyro/import_map.json --jsx=react-jsx -n pyro https://deno.land/x/pyro/cli.ts

but it gives the following error:
error: Found argument '--jsx' which wasn't expected, or isn't valid in this context

I know that philosophically, Deno in the past claimed that you could always pass in command line flags instead of a config file. Any ideas on what to do here?
Was this page helpful?