We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea79c7 commit 28bd726Copy full SHA for 28bd726
src/utils/get-entry-points/utils.ts
@@ -18,4 +18,4 @@ export const getFileType = (
18
}
19
};
20
21
-export const isPath = (filePath: string) => filePath.startsWith('.');
+export const isPath = (filePath: string) => filePath[0] === '.';
0 commit comments