Skip to content

Commit

Permalink
upgrade next sitemap (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Jan 27, 2024
1 parent 32de514 commit f8327b1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -10,7 +10,7 @@ yarn-error.log
TODO
/website/.next
/website/out
/website/public/sitemap.xml
/website/public/sitemap*.xml
/website/public/robots.txt
/gh-pages
/npm
Expand Down
89 changes: 45 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -108,7 +108,7 @@
"marked": "2.1.2",
"microtime": "3.0.0",
"next": "^14.1.0",
"next-sitemap": "1.6.124",
"next-sitemap": "4.2.3",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"react": "^18.2.0",
Expand Down
1 change: 1 addition & 0 deletions website/next-sitemap.js → website/next-sitemap.config.js
@@ -1,5 +1,6 @@
const { getVersions } = require('./src/static/getVersions');

/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: 'https://immutable-js.com',
generateRobotsTxt: true,
Expand Down

0 comments on commit f8327b1

Please sign in to comment.