diff --git a/vite.config.js b/vite.config.js index b1c7ed1..a3c4272 100644 --- a/vite.config.js +++ b/vite.config.js @@ -10,7 +10,25 @@ export default defineConfig({ // If you are deploying to https://.github.io/, set base to '/'. // If you are deploying to https://.github.io//, for example your repository is at https://github.com//, then set base to '//'. base: '/gitprofile/', - plugins: [react(), VitePWA({ registerType: 'autoUpdate' })], + plugins: [ + react(), + VitePWA({ + registerType: 'autoUpdate', + includeAssets: ['logo.png'], + manifest: { + name: 'Portfolio', + short_name: 'Portfolio', + description: 'Personal Portfolio', + icons: [ + { + src: 'logo.png', + sizes: '64x64 32x32 24x24 16x16 192x192 512x512', + type: 'image/png', + }, + ], + }, + }), + ], css: { postcss: { plugins: [tailwind(tailwindConfig), autoprefixer],