@amotarao/next-routemap
Advanced tools
Comparing version
{ | ||
"name": "@amotarao/next-routemap", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -17,6 +17,6 @@ import { promises as fs } from "fs"; | ||
const pageExtensions: string[] = nextConfig.pageExtensions ?? [ | ||
"page.tsx", | ||
"page.ts", | ||
"page.jsx", | ||
"page.js", | ||
"tsx", | ||
"ts", | ||
"jsx", | ||
"js", | ||
]; | ||
@@ -96,3 +96,3 @@ | ||
export const pagesPath = { | ||
export const routeMap = { | ||
${pageObjs | ||
@@ -99,0 +99,0 @@ .map((page) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13199
-0.48%