Replies: 1 comment 3 replies
-
|
$ deno run --import-map=import_map.json -A --unstable lume/cli.ts |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks - first off kudos on all the excellent work on Deno so far! 🎉🎉🎉
I am trying to run
lumelocally viaimport_map.jsonthus:$ cat import_map.json { "imports": { "lume/": "https://deno.land/x/lume@v1.13.0/" } } $ deno run -A --unstable lume/cli.ts error: Module not found "file:///Users/anish/workspace/lume-test/lume/cli.ts".The suggested way in Lume docs is to specify deno.json:
{ "importMap": "./import_map.json", "tasks": { "lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A -" } }But this is ugly.
Can we have an option to make deno resolve entry point CLI script (e.g.
lume/cli.ts) fromimport_map.json? That would be awesome!Beta Was this translation helpful? Give feedback.
All reactions