diff --git a/packages/anafero/process.mts b/packages/anafero/process.mts index 1538e56..37d654d 100644 --- a/packages/anafero/process.mts +++ b/packages/anafero/process.mts @@ -687,12 +687,8 @@ export async function * generateStaticSiteAssets( ? `${opts.pathPrefix}/` : '/'; function expandGlobalPath( - /** Path without leading slash. */ path: string, ): string { - if (!opts.pathPrefix) { - return path; - } const expanded = path.startsWith('/') ? `${opts.pathPrefix}${path}` : `${prefixWithTrailing}${path}` ;