Skip to content

Commit 7f71bd6

Browse files
committed
postbuild: sitemap.xml도 static/에 복사 (llms.txt와 동일하게)
1 parent 36077d1 commit 7f71bd6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

landing/scripts/postbuild.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ for (const p of blogPosts) {
242242
sitemap += `</urlset>\n`;
243243

244244
writeFileSync(resolve(buildDir, 'sitemap.xml'), sitemap, 'utf-8');
245+
writeFileSync(resolve(__dirname, '..', 'static', 'sitemap.xml'), sitemap, 'utf-8');
245246
console.log(` -> sitemap.xml generated (${docUrls.length} docs + ${blogPosts.length} blog posts)`);
246247

247248
// RSS feed (Atom)

0 commit comments

Comments
 (0)