diff --git a/development/builder.js b/development/builder.js index f2fea4dc2d..9f8a0c40c5 100644 --- a/development/builder.js +++ b/development/builder.js @@ -500,13 +500,13 @@ class Builder { build.files[`/samples/${filename}`] = file; } - if (this.mode !== "desktop") { - for (const [filename, absolutePath] of recursiveReadDirectory( - this.websiteRoot - )) { - build.files[`/${filename}`] = new BuildFile(absolutePath); - } + for (const [filename, absolutePath] of recursiveReadDirectory( + this.websiteRoot + )) { + build.files[`/${filename}`] = new BuildFile(absolutePath); + } + if (this.mode !== "desktop") { for (const [filename, absolutePath] of recursiveReadDirectory( this.docsRoot )) {