fix paths for build

This commit is contained in:
MapleLeaf
2022-01-03 05:39:51 -06:00
parent c99842ff68
commit a53911a883
5 changed files with 15 additions and 54 deletions

View File

@@ -0,0 +1,7 @@
import { join } from "node:path"
const projectRoot = new URL("../", import.meta.url).pathname
export function fromProjectRoot(...subPaths: string[]) {
return join(projectRoot, ...subPaths)
}