Skip to content

Commit

Permalink
apply code review comments by @feugy
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed Sep 26, 2022
1 parent b3bbedb commit 09de605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/analysis/get-page-static-info.ts
Expand Up @@ -272,7 +272,7 @@ export async function getPageStaticInfo(params: {

const fileContent = (await tryToReadFile(pageFilePath, !isDev)) || ''
if (
/runtime|getStaticProps|getServerSideProps|matcher|unstable_allowDynamic|export (let|var|const) config/.test(
/runtime|getStaticProps|getServerSideProps|export const config/.test(
fileContent
)
) {
Expand Down

0 comments on commit 09de605

Please sign in to comment.