Initialize module and get base level functionality operating
This commit is contained in:
parent
5741bc64e2
commit
cb3bc7c86c
7 changed files with 67 additions and 0 deletions
7
module/consts.mjs
Normal file
7
module/consts.mjs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// MARK: filePath
|
||||
export function filePath(path) {
|
||||
if (path.startsWith(`/`)) {
|
||||
path = path.slice(1);
|
||||
};
|
||||
return `modules/${__ID__}/${path}`;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue