Skip to content

Commit 8b248fd

Browse files
committed
Fix git-inclusion of generated files (sitemap/rss/image hashes)
1 parent 912fbd3 commit 8b248fd

File tree

6 files changed

+5
-3152
lines changed

6 files changed

+5
-3152
lines changed

Diff for: .gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ yarn-error.log*
3636
next-env.d.ts
3737

3838
# Sitemap & RSS are generated at build time
39-
# public/sitemap-0.xml
40-
# public/rss.xml
39+
public/sitemap-0.xml
40+
public/rss.xml
41+
next-image-export-optimizer-hashes.json
4142
!public/images/
4243
.cache/
4344
*.log

Diff for: next-sitemap.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
module.exports = {
33
siteUrl: 'https://httptoolkit.com',
44
generateRobotsTxt: true,
5+
outDir: './out',
56
exclude: [
67
'/download/*', // Drop direct download pages
78
'/blog-thank-you/', // Drop post-blog subscribe thank you

Diff for: public/images/next-image-export-optimizer-hashes.json

-199
This file was deleted.

0 commit comments

Comments
 (0)