mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +00:00
Update vite.config.js
This commit is contained in:
@@ -24,8 +24,10 @@ const pwa = VitePWA({
|
||||
})
|
||||
|
||||
const html = createHtmlPlugin({
|
||||
minify: false,
|
||||
inject: {
|
||||
tags: [
|
||||
{ tag: 'meta', attrs: { charset: 'utf-8' }, injectTo: 'head' },
|
||||
{ tag: 'title', children: 'Sune', injectTo: 'head' },
|
||||
{ tag: 'link', attrs: { rel: 'icon', type: 'image/avif', href: 'https://sune.planetrenox.com/✺.avif' }, injectTo: 'head' },
|
||||
{ tag: 'script', attrs: { src: 'https://cdn.jsdelivr.net/npm/tiny-ripple@0.2.0' }, injectTo: 'head' },
|
||||
@@ -34,4 +36,4 @@ const html = createHtmlPlugin({
|
||||
}
|
||||
})
|
||||
|
||||
export default defineConfig({ build: { outDir: 'docs' }, plugins: [pwa, html] })
|
||||
export default defineConfig({ build: { outDir: 'docs', minify: false }, plugins: [pwa, html] })
|
||||
|
||||
Reference in New Issue
Block a user