Skip to content

Commit

Permalink
remove flags usage
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed May 10, 2024
1 parent eaaa3aa commit 9c57390
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/next/src/build/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1769,12 +1769,6 @@ export async function isPageStatic({
? {}
: componentsResult.pageConfig

if (config.unstable_includeFiles || config.unstable_excludeFiles) {
Log.warn(
`unstable_includeFiles/unstable_excludeFiles has been removed in favor of the option in next.config.js.\nSee more info here: https://nextjs.org/docs/advanced-features/output-file-tracing#caveats`
)
}

let isStatic = false
if (!hasStaticProps && !hasGetInitialProps && !hasServerProps) {
isStatic = true
Expand Down

0 comments on commit 9c57390

Please sign in to comment.