mirror of
https://github.com/multipleof4/devsune.git
synced 2026-01-13 16:07:55 +00:00
Update vite.config.js
This commit is contained in:
@@ -4,14 +4,10 @@ import { createHtmlPlugin } from 'vite-plugin-html'
|
||||
|
||||
const pwa = VitePWA({
|
||||
strategies: 'injectManifest',
|
||||
srcDir: 'src',
|
||||
filename: 'sw.js',
|
||||
injectRegister: 'auto',
|
||||
registerType: 'autoUpdate',
|
||||
devOptions: { enabled: true },
|
||||
injectManifest: {
|
||||
globPatterns: ['**/*.{html,js,css,svg,ico,avif,png,jpg,jpeg,webp,woff2}']
|
||||
},
|
||||
manifest: {
|
||||
id: 'https://sune.planetrenox.com/',
|
||||
name: 'Sune',
|
||||
|
||||
Reference in New Issue
Block a user