File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/next/src/build/webpack/plugins Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -94,17 +94,11 @@ export class NextJsRequireCacheHotReloader implements WebpackPluginInstance {
9494 // we need to make sure to clear all server entries from cache
9595 // since they can have a stale webpack-runtime cache
9696 // which needs to always be in-sync
97- let hasAppEntry = false
9897 const entries = [ ...compilation . entries . keys ( ) ] . filter ( ( entry ) => {
9998 const isAppPath = entry . toString ( ) . startsWith ( 'app/' )
100- if ( isAppPath ) hasAppEntry = true
10199 return entry . toString ( ) . startsWith ( 'pages/' ) || isAppPath
102100 } )
103101
104- if ( hasAppEntry ) {
105- deleteAppClientCache ( )
106- }
107-
108102 for ( const page of entries ) {
109103 const outputPath = path . join (
110104 compilation . outputOptions . path ! ,
You can’t perform that action at this time.
0 commit comments