pref: update vite.config.ts

This commit is contained in:
thehrz 2023-07-29 19:34:23 +08:00
parent 5a41b5eb30
commit 204c834901
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -132,6 +132,9 @@ export default defineConfig({
ssgOptions: { ssgOptions: {
script: 'async', script: 'async',
formatting: 'minify', formatting: 'minify',
crittersOptions: {
reduceInlineStyles: false,
},
onFinished() { onFinished() {
generateSitemap() generateSitemap()
}, },