feat: support embedded import map in deno.json (#1188)
One can now inline the `imports` and `scopes` from the import map directly into deno.json. For new projects, `import_map.json` is not generated anymore. Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
co-authored by
Luca Casonato
parent
3857a49f1c
commit
1b6678951a
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
- name: Cache dependencies
|
||||
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v1.x'
|
||||
run: deno cache --no-check --import-map=./www/import_map.json src/dev/deps.ts src/server/deps.ts www/main.ts
|
||||
run: deno cache --config=www/deno.json src/dev/deps.ts src/server/deps.ts www/main.ts
|
||||
|
||||
- name: Cache Chrome (Linux)
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
|
||||
Reference in New Issue
Block a user