mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
* Add basic PWA support See: https://github.com/gpxstudio/gpx.studio/issues/38 This will add a basic manifest.json file to the response that creates an installable PWA. It still needs to be internationalized. * Refactor PWA integration and update dependencies - Removed @vite-pwa/sveltekit dependency and related configurations from package.json and vite.config.ts. - Added prebuild script to generate PWA manifest before build. - Moved the manifest link to hooks.server.js and included Apple touch icon. -Added images for various platforms. Images were generated with https://www.pwabuilder.com/imageGenerator * use svg icon, fix urls, and remove generated manifest files --------- Co-authored-by: jonherman <jonherman@gmail.com> Co-authored-by: vcoppe <vianney.coppe@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"prebuild": "npx tsx src/lib/pwa-manifest.ts",
|
||||
"postbuild": "npx tsx src/lib/sitemap.ts",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
|
Reference in New Issue
Block a user