exploRUG component setup

This commit is contained in:
2026-04-21 14:54:02 +05:45
commit 39ead94535
36 changed files with 9384 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
const path = require('path').posix;
module.exports = (base, p) => {
const relativePath = path.relative(base, p);
if (p.endsWith('/') && !relativePath.endsWith('/') && relativePath !== '') {
return relativePath + '/';
}
return relativePath;
};