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 99e1b99 commit 28cdf7dCopy full SHA for 28cdf7d
src/build/utils/kdl.ts
@@ -116,7 +116,11 @@ async function getAllKDLFileURLs(folder: URL, file: string): Promise<URL[]> {
116
for (const entry of entries) {
117
const child = new URL(entry.name + "/", folder);
118
119
- if (entry.isDirectory()) {
+ if (
120
+ entry.isDirectory() &&
121
+ !child.pathname.includes("mdn") &&
122
+ !child.pathname.includes("idl")
123
+ ) {
124
results.push(...(await getAllKDLFileURLs(child, file)));
125
} else if (entry.isFile() && entry.name == file) {
126
results.push(new URL(entry.name, folder));
0 commit comments