mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +00:00
Config: Register htmlInject plugin
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import htmlInject from 'vite-plugin-html-inject'
|
||||
|
||||
export default defineConfig({
|
||||
build:{ minify:false },
|
||||
plugins:[
|
||||
htmlInject(),
|
||||
VitePWA({
|
||||
registerType:'autoUpdate',
|
||||
manifest:{
|
||||
@@ -23,4 +25,3 @@ export default defineConfig({
|
||||
})
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user