// @ts-ignore export const basename = BASE_NAME; console.log(basename); export const wrapBasename = (path: string) => { const hasEnd = path.endsWith('/') if (basename) { return `${basename}${path}` + (hasEnd ? '' : '/'); } else { return path; } }