Skip to content

Commit

Permalink
Include static files in desktop build (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 27, 2023
1 parent 41d72cf commit 66d20b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions development/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
)) {
Expand Down

0 comments on commit 66d20b7

Please sign in to comment.