Closed codewithkyle closed 3 years ago
Asset manager always injects a second / when caching top level assets.
/
const pubDir = config.src[i].publicDir.replace(/^\/|\/$/g, "").trim(); const file = newFiles[j].replace(/.*[\/\\]/, "").trim(); publicFiles.push(`${pubDir.length ? `/${pubDir}` : ""}/${file}`);
Asset manager always injects a second
/
when caching top level assets.