use import map maybe
continuous-integration/drone/push Build is passing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-02-13 18:05:39 +01:00
parent a86ae17058
commit 6d545fd908
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 5 additions and 4 deletions

View File

@ -27,7 +27,8 @@ steps:
project: samme
entrypoint: server.ts
production: true
include: dist,server.ts
include: dist,server.ts,deno.json
import_map: deno.json
depends_on:
- "Build site"
when:

View File

@ -1,6 +1,6 @@
import Server from "https://deno.land/x/lume@v1.15.2/core/server.ts"
import expires from "https://deno.land/x/lume@v1.15.2/middlewares/expires.ts"
import not_found from "https://deno.land/x/lume@v1.15.2/middlewares/not_found.ts"
import Server from "lume/core/server.ts"
import expires from "lume/middlewares/expires.ts"
import not_found from "lume/middlewares/not_found.ts"
const port = 8000