fix: Fix PWA build
This commit is contained in:
parent
c5477f0767
commit
b06ffb990d
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue