export default defineNuxtConfig({
    css: [
        'minireset.css',
        '~/assets/styles/_fonts.scss',
        '~/assets/styles/_animations.scss'
    ],
    modules: [
        '@funken-studio/sitemap-nuxt-3'
    ],
    postcss: {
        plugins: {
            'autoprefixer': {}
        }
    },
    runtimeConfig: {
        mailjetApiPrivate: process.env.MJ_APIKEY_PRIVATE,
        mailjetApiPublic: process.env.MJ_APIKEY_PUBLIC
    },
    sitemap: {
        hostname: 'https://paulnicoue.com'
    },
    vite: {
        css: {
            preprocessorOptions: {
                scss: {
                    additionalData: '@use "@/assets/styles/main.scss" as *;' // Mandatory for global SASS variables and mixins import
                }
            }
        }
    }
})
