|
@@ -51,7 +51,7 @@ export default defineConfig({
|
|
|
srcDir: 'src',
|
|
srcDir: 'src',
|
|
|
filename: 'sw.ts',
|
|
filename: 'sw.ts',
|
|
|
registerType: 'autoUpdate',
|
|
registerType: 'autoUpdate',
|
|
|
- includeAssets: ['logo.svg', 'apple-touch-icon.png', 'icon-192.png', 'icon-512.png'],
|
|
|
|
|
|
|
+ includeAssets: ['logo.svg', 'apple-touch-icon.png', 'icon-192.png', 'icon-512.png', 'icon-maskable-512.png'],
|
|
|
manifest: {
|
|
manifest: {
|
|
|
name: 'NetPulse',
|
|
name: 'NetPulse',
|
|
|
short_name: 'NetPulse',
|
|
short_name: 'NetPulse',
|
|
@@ -64,6 +64,7 @@ export default defineConfig({
|
|
|
icons: [
|
|
icons: [
|
|
|
{ src: 'icon-192.png', sizes: '192x192', type: 'image/png', purpose: 'maskable any' },
|
|
{ src: 'icon-192.png', sizes: '192x192', type: 'image/png', purpose: 'maskable any' },
|
|
|
{ src: 'icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'maskable any' },
|
|
{ src: 'icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'maskable any' },
|
|
|
|
|
+ { src: 'icon-maskable-512.png', sizes: '512x512', type: 'image/png', purpose: 'maskable' },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
injectManifest: {
|
|
injectManifest: {
|