fix: Fix PWA build

This commit is contained in:
Maicol Battistini 2023-07-11 12:44:54 +02:00
parent c5477f0767
commit b06ffb990d
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ export default defineConfig(async () => {
// srcDir: path.resolve(__dirname, 'resources/ts'),
// }),
VitePWA({
registerType: 'autoUpdate',
outDir: 'public',
buildBase: '/',
scope: '/',
// TODO: Check options
includeAssets: [
'resources/images/favicon/favicon.ico',