From cd85f6332c65a732e937fb3b9351a9c50cc816ba Mon Sep 17 00:00:00 2001 From: GarboMuffin Date: Sat, 8 Jul 2023 21:19:15 -0500 Subject: [PATCH] Don't output sitemap in desktop builds (#713) --- development/builder.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/development/builder.js b/development/builder.js index 38330bafb5..3d755fd631 100644 --- a/development/builder.js +++ b/development/builder.js @@ -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())