diff --git a/packages/next-sitemap-x/src/utils/path.ts b/packages/next-sitemap-x/src/utils/path.ts index 3c00f8ad..f9099713 100644 --- a/packages/next-sitemap-x/src/utils/path.ts +++ b/packages/next-sitemap-x/src/utils/path.ts @@ -57,7 +57,7 @@ export const getConfigFilePath = async () => { const args = minimist(process.argv.slice(2)) // Config file path - const configPath = getPath(args.config || 'next-sitemap-x.config.js') + const configPath = getPath(args.config || 'next-sitemap.config.js') // Check file stat return fs