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:
Asher Gomez
2023-06-03 10:46:40 +02:00
committed by GitHub
co-authored by Luca Casonato
parent 3857a49f1c
commit 1b6678951a
34 changed files with 149 additions and 197 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
WORKDIR /app
COPY . .
RUN deno cache main.ts --import-map=import_map.json
RUN deno cache main.ts
EXPOSE 8000