Skip to content

Commit

Permalink
revert page cache deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jun 22, 2022
1 parent aaf293b commit 45cc8de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class NextJsRequireCacheHotReloader implements WebpackPluginInstance {
entries.forEach((page) => {
const outputPath = path.join(
compilation.outputOptions.path!,
getClientEntryName(page) + '.js'
page + '.js'
)
deleteCache(outputPath)
})
Expand Down

0 comments on commit 45cc8de

Please sign in to comment.