sparse desktop build

This commit is contained in:
vcoppe committed 2026-10-18 16:53:39 +02:00
1 parent 6556c29492
commit 741d35db1e
5 files changed
+57 -5

No files matched your search

+6 -1
View File
@@ -46,8 +46,13 @@ export async function handle({ event, resolve }) {
<meta name="twitter:url" content="https://gpx.studio/" />
<meta name="twitter:site" content="@gpxstudio" />
<meta name="twitter:creator" content="@gpxstudio" />
<link rel="alternate" hreflang="x-default" href="https://gpx.studio${getURLForLanguage('en', path)}" />
<link rel="alternate" hreflang="x-default" href="https://gpx.studio${getURLForLanguage('en', path)}" />`;
// the manifests are made for the website, not for the desktop app (`npm run build:desktop`)
if (process.env.BUILD_TARGET !== 'desktop') {
headTag += `
<link rel="manifest" href="/${language}.manifest.webmanifest" />`;
}
if (page !== '404') {
for (let lang of Object.keys(languages)) {