Skip to content

Commit

Permalink
Fix TS error because of !!
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Aug 30, 2023
1 parent 2da340f commit efffa56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ export default async function getBaseWebpackConfig(
rewrites.afterFiles.length > 0 ||
rewrites.fallback.length > 0

const hasAppDir = Boolean(appDir)
const hasAppDir = !!appDir
const hasServerComponents = hasAppDir
const disableOptimizedLoading = true
const enableTypedRoutes = !!config.experimental.typedRoutes && hasAppDir
Expand Down

0 comments on commit efffa56

Please sign in to comment.