Rename __ID to __ID__
This commit is contained in:
parent
d9bea36444
commit
523d9c1da2
9 changed files with 43 additions and 33 deletions
|
|
@ -1 +1,11 @@
|
|||
export const __ID = `oft`;
|
||||
export const __ID__ = `oft`;
|
||||
|
||||
/**
|
||||
* @param {string} path
|
||||
*/
|
||||
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