From a8a35b1e9eec24bffe6409cda7f1e16c08cd2c3e Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:57:31 +0200 Subject: [PATCH] migrating to jsr img-opt.js --- utils/img-opt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index 4fb42d3..c523da8 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -1,6 +1,6 @@ -import { run } from "https://deno.land/x/run_simple@2.3.0/mod.ts"; -import { join } from "https://deno.land/std@0.224.0/path/mod.ts"; -import { emptyDir } from "https://deno.land/std@0.224.0/fs/empty_dir.ts"; +import { run } from "jsr:@std/path@0.224.0/mod.ts"; +import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; +import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; async function optimizeDir (dir, sizes) { await emptyDir(join(dir, 'thumbs'))