From 66d20b7069d2413ae89be72462d97f75a3de6116 Mon Sep 17 00:00:00 2001 From: GarboMuffin Date: Sun, 27 Aug 2023 18:47:16 -0500 Subject: [PATCH] Include static files in desktop build (#971) --- development/builder.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 )) {