mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +00:00
Revert: Update vite.config.js
This commit is contained in:
@@ -1,16 +1,9 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import { VitePWA } from 'vite-plugin-pwa'
|
import { VitePWA } from 'vite-plugin-pwa'
|
||||||
import { createHtmlPlugin } from 'vite-plugin-html'
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
build:{ minify:false },
|
build:{ minify:false },
|
||||||
plugins:[
|
plugins:[
|
||||||
createHtmlPlugin({
|
|
||||||
minify:false,
|
|
||||||
// Use vite-plugin-html's built-in fragment include support
|
|
||||||
// via <!-- html-plugin-include: --> comments.
|
|
||||||
// No extra EJS runtime needed.
|
|
||||||
}),
|
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType:'autoUpdate',
|
registerType:'autoUpdate',
|
||||||
manifest:{
|
manifest:{
|
||||||
@@ -24,26 +17,10 @@ export default defineConfig({
|
|||||||
theme_color:'#FFFFFF',
|
theme_color:'#FFFFFF',
|
||||||
background_color:'#000000',
|
background_color:'#000000',
|
||||||
categories:['productivity','utilities'],
|
categories:['productivity','utilities'],
|
||||||
icons:[
|
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' }]
|
||||||
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'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user