This commit is contained in:
JOLIMAITRE Matthieu 2024-05-21 18:49:16 +02:00
commit 60133a4a08
23 changed files with 529 additions and 0 deletions

7
utils.ts Normal file
View file

@ -0,0 +1,7 @@
import { dirname } from "$std/path/dirname.ts";
export function project_root_dir() {
const this_url = new URL(import.meta.url);
const this_dir = dirname(this_url.pathname);
return this_dir + "/";
}