Skip to content

Commit

Permalink
Don't output sitemap in desktop builds (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jul 9, 2023
1 parent e19128c commit cd85f63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion development/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ class Builder {
build.files[oldPath] = build.files[newPath];
}

build.files['/sitemap.xml'] = new SitemapFile(build);
if (this.mode !== 'desktop') {
build.files['/sitemap.xml'] = new SitemapFile(build);
}

const mostRecentExtensions = extensionFiles
.sort((a, b) => b.getLastModified() - a.getLastModified())
Expand Down

0 comments on commit cd85f63

Please sign in to comment.