This commit is contained in:
2026-04-29 08:30:52 -07:00
commit b053d27321
1660 changed files with 329972 additions and 0 deletions

19
node_modules/@11ty/eleventy/src/Util/FilePathUtil.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
class FilePathUtil {
static isMatchingExtension(filepath, fileExtension) {
if (!fileExtension) {
return false;
}
if (!(fileExtension || "").startsWith(".")) {
fileExtension = "." + fileExtension;
}
return filepath.endsWith(fileExtension);
}
static getFileExtension(filepath) {
return (filepath || "").split(".").pop();
}
}
export { FilePathUtil };