Sitemap not getting updated


This what I get when I build it locally, however I don’t see sitemap.xml or public folder in my dist folder.
I have next-sitemap.config.js if it is relevant.

/** @type {import('next-sitemap').IConfig} */
module.exports = {
    siteUrl: process.env.SITE_URL || 'https://liveplay.in',
    generateRobotsTxt: true,
}

Should I use sitemap.ts and genrate the sitemap, or should I have a sitemap.xml which has all the relevant things ?

On vercel it shows sitemap-0.xml as well, I have sitemap.xml which points to sitemap-0.xml and it has all the xml data. But when build is run loclly I dont see nything of that sorts.