init
This commit is contained in:
commit
60133a4a08
23 changed files with 529 additions and 0 deletions
7
utils.ts
Normal file
7
utils.ts
Normal 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 + "/";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue