Unverified Commit 0f2c8f5e authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Exclude _app.js since it’s not a normal page (#4201)

parent 23716d44
......@@ -29,7 +29,8 @@ export default async function (dir, options, configuration) {
const defaultPathMap = {}
for (const page of pages) {
if (page === '/_document') {
// _document and _app are not real pages.
if (page === '/_document' || page === '/_app') {
continue
}
defaultPathMap[page] = { page }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment