Skip to content

Commit

Permalink
cleanup unnecessary map in dev server (#73745)
Browse files Browse the repository at this point in the history
This isn't in use anymore since we moved these errors to a swc
transform.
  • Loading branch information
ztanner authored Dec 13, 2024
1 parent c4b2df2 commit e45fe1d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ async function startWatcher(opts: SetupOpts) {
const conflictingAppPagePaths = new Set<string>()
const appPageFilePaths = new Map<string, string>()
const pagesPageFilePaths = new Map<string, string>()
const pagesWithUnsupportedSegments = new Map<string, string[]>()

let envChange = false
let tsconfigChange = false
Expand All @@ -294,7 +293,6 @@ async function startWatcher(opts: SetupOpts) {
appFiles.clear()
pageFiles.clear()
devPageFiles.clear()
pagesWithUnsupportedSegments.clear()

const sortedKnownFiles: string[] = [...knownFiles.keys()].sort(
sortByPageExts(nextConfig.pageExtensions)
Expand Down

0 comments on commit e45fe1d

Please sign in to comment.