diff --git a/next-sitemap.config.js b/next-sitemap.config.js new file mode 100644 index 0000000..6a6027a --- /dev/null +++ b/next-sitemap.config.js @@ -0,0 +1,8 @@ +/** @type {import('next-sitemap').IConfig} */ +export default { + siteUrl: 'https://notenextra.trance-0.com', + changefreq: 'weekly', + priority: '0.5', + generateIndexSitemap: false, + exclude: ['/icon.svg'] + } \ No newline at end of file diff --git a/package.json b/package.json index bf20f2e..afd24de 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "dev": "next --turbopack", - "build": "cross-env VERCEL_FORCE_NO_BUILD_CACHE=1 NODE_OPTIONS='--max-old-space-size=16384' next build && npm run postbuild", + "build": "cross-env VERCEL_FORCE_NO_BUILD_CACHE=1 NODE_OPTIONS='--max-old-space-size=16384' next build", "build:test": "cross-env ANALYZE=true NODE_OPTIONS='--inspect --max-old-space-size=4096' next build", "build:analyze": "cross-env ANALYZE=true NODE_OPTIONS='--max-old-space-size=16384' next build", "postbuild": "next-sitemap && pagefind --site .next/server/app --output-path public/_pagefind && cp -r ./public/_pagefind ./out",