export default defineNuxtConfig({
    compatibilityDate: '2024-12-20',
    css: [
        'minireset.css/minireset.min.css',
        'aos/dist/aos.css',
        '~/assets/styles/_fonts.scss',
        '~/assets/styles/_animations.scss',
    ],
    modules: ['@nuxtjs/sitemap'],
    postcss: {
        plugins: {
            'autoprefixer': {},
        },
    },
    runtimeConfig: {
        mailjetApiPrivate: process.env.MJ_APIKEY_PRIVATE,
        mailjetApiPublic: process.env.MJ_APIKEY_PUBLIC,
    },
    site: {
        url: 'https://paulnicoue.com',
        name: 'Paul Nicoué',
    },
    vite: {
        css: {
            preprocessorOptions: {
                scss: {
                    api: 'modern',
                    additionalData: '@use "@/assets/styles/main.scss" as *;', // Mandatory for global SASS variables and mixins import
                },
            },
        },
    },
})
