diff --git a/nsm/scripts/generate-routes.js b/nsm/scripts/generate-routes.js index 25f731c..bf877e9 100644 --- a/nsm/scripts/generate-routes.js +++ b/nsm/scripts/generate-routes.js @@ -36,13 +36,11 @@ async function generateNsmPagesManifest(rootDir, outputDir) { .replace(parsedPagePath.ext, "") .replace("index", "") - const filePathWithoutExtension = path.join( + const filePathWithoutExtension = path.posix.join( parsedPagePath.dir, filenameWithoutExtension, ) - console.log({filePathWithoutExtension, relativePagePath}) - manifest[`/${filePathWithoutExtension}`] = `pages/${relativePagePath}` }