oft/module/consts.mjs
2025-12-07 15:40:00 -07:00

11 lines
192 B
JavaScript

export const __ID__ = `oft`;
/**
* @param {string} path
*/
export function filePath(path) {
if (path.startsWith(`/`)) {
path = path.slice(1);
};
return `modules/${__ID__}/${path}`;
};