fix: filtering extension stripping logic update

This commit is contained in:
Brian Madison
2025-07-02 20:04:12 -05:00
parent a4c0b1839d
commit 405954ad92
3 changed files with 4 additions and 4 deletions

View File

@@ -572,7 +572,7 @@ class WebBuilder {
)) {
const filePath = path.join(resourcePath, resourceFile);
const fileContent = await fs.readFile(filePath, "utf8");
const fileName = resourceFile.replace(/\.(md|yml)$/, "");
const fileName = resourceFile.replace(/\.(md|yaml)$/, "");
// Only add if not already included as a dependency
const resourceKey = `${resourceDir}#${fileName}`;