@amotarao/next-routemap
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "@amotarao/next-routemap", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -16,3 +16,8 @@ import { promises as fs } from "fs"; | ||
const nextConfig = (await import(`${basePath}/next.config.js`)).default; | ||
const pageExtensions: string[] = nextConfig.pageExtensions ?? []; | ||
const pageExtensions: string[] = nextConfig.pageExtensions ?? [ | ||
"page.tsx", | ||
"page.ts", | ||
"page.jsx", | ||
"page.js", | ||
]; | ||
@@ -19,0 +24,0 @@ const files = await listFiles(path.resolve(basePath, "src", "app")); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13262
198