import {
    defineConfig,
    minimal2023Preset,
} from '@vite-pwa/assets-generator/config'


export default defineConfig({
    headLinkOptions: {
        preset: '2023',
    },
    preset: {
        ...minimal2023Preset,
        transparent: {
            sizes: [48, 72, 96, 128, 144, 192, 256, 384, 512],
            favicons: [
                [16, 'favicon-16x16.png'],
                [32, 'favicon-32x32.png'],
                [48, 'favicon.ico'],
            ],
            padding: 0,
        },
        maskable: {
            sizes: [512],
            padding: 0,
        },
        apple: {
            sizes: [180],
            padding: 0,
        },
    },
    images: ['public/logo.png'],
});

