Skip to content

Commit

Permalink
fix: rename from mjs to js next-sitemap file
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed Nov 20, 2022
1 parent 9cc28dd commit 7d450ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
5 changes: 5 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: 'https://example.com',
generateRobotsTxt: true,
};
16 changes: 0 additions & 16 deletions next-sitemap.config.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"e2e": "start-server-and-test dev http://localhost:3000 cypress",
"e2e:headless": "start-server-and-test dev http://localhost:3000 cypress:headless",
"prepare": "husky install",
"postbuild": "next-sitemap --config next-sitemap.config.mjs"
"postbuild": "next-sitemap"
},
"dependencies": {
"next": "^13.0.3",
Expand Down

0 comments on commit 7d450ff

Please sign in to comment.