List filenames recursively in a directory using this utility function.
In this article, we will review a function named listRecursively found in unbuild/src/utils.ts
export function listRecursively(path: string): string[] {
const filenames = new Set<string>();
const walk = (path: string): void => {
const files =...
thinkthroo.com2 min read