diff --git a/deno.json b/deno.json index d151c6ce..47186470 100644 --- a/deno.json +++ b/deno.json @@ -20,5 +20,8 @@ "tags": ["recommended"] } }, - "lock": false + "lock": false, + "imports": { + "@deno/dnt": "jsr:@deno/dnt@^0.41.1" + } } diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index df75dfef..9dc0a891 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -1,4 +1,4 @@ -import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts"; +import { build, emptyDir } from "@deno/dnt"; await emptyDir("./npm");