Skip to content

Commit

Permalink
♻️ rename config file
Browse files Browse the repository at this point in the history
  • Loading branch information
yokinist committed Jun 6, 2021
1 parent 10f01af commit 9f102c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 10 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const BLOG = require('./blog.config')


module.exports = {
siteUrl: BLOG.link,
generateRobotsTxt: true,
sitemapSize: 7000,
// ...other options
// https://github.com/iamvishnusankar/next-sitemap#configuration-options
}
6 changes: 0 additions & 6 deletions next-sitemap.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"postbuild": "next-sitemap"
"postbuild": "next-sitemap --config next-sitemap.config.js"
},
"dependencies": {
"feed": "^4.2.2",
Expand Down

0 comments on commit 9f102c8

Please sign in to comment.