diff --git a/vite.config.js b/vite.config.js index 2cd358c..fe99b21 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,12 @@ import { createHtmlPlugin } from 'vite-plugin-html' export default defineConfig({ build:{ minify:false }, plugins:[ - createHtmlPlugin(), + createHtmlPlugin({ + minify:false, + // Use vite-plugin-html's built-in fragment include support + // via comments. + // No extra EJS runtime needed. + }), VitePWA({ registerType:'autoUpdate', manifest:{ @@ -19,8 +24,25 @@ export default defineConfig({ theme_color:'#FFFFFF', background_color:'#000000', categories:['productivity','utilities'], - icons:[{ src:'https://sune.planetrenox.com/appstore_content/✺.png', sizes:'1024x1024', type:'image/png' }], - screenshots:[{ src:'https://sune.planetrenox.com/appstore_content/screenshot1.jpg', sizes:'1344x2693', type:'image/jpeg' },{ src:'https://sune.planetrenox.com/appstore_content/screenshot2.jpg', sizes:'1344x2699', type:'image/jpeg' }] + icons:[ + { + src:'https://sune.planetrenox.com/appstore_content/✺.png', + sizes:'1024x1024', + type:'image/png' + } + ], + screenshots:[ + { + src:'https://sune.planetrenox.com/appstore_content/screenshot1.jpg', + sizes:'1344x2693', + type:'image/jpeg' + }, + { + src:'https://sune.planetrenox.com/appstore_content/screenshot2.jpg', + sizes:'1344x2699', + type:'image/jpeg' + } + ] } }) ]