refactor(core): zero circulars + esm ready (#10770)

This commit is contained in:
Nathan Walker
2025-09-18 17:03:23 -07:00
committed by GitHub
parent 1e54baf198
commit c2ff8c1ae7
306 changed files with 9136 additions and 9889 deletions

View File

@ -0,0 +1,7 @@
export function getFileExtension(path: string): string {
if (!path) {
return '';
}
const index = path.lastIndexOf('.');
return index !== -1 ? path.substring(index + 1) : '';
}