File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,28 +276,6 @@ class Compilation extends Tapable {
276276 const cacheName = ( cacheGroup || "m" ) + identifier ;
277277 if ( this . cache && this . cache [ cacheName ] ) {
278278 const cacheModule = this . cache [ cacheName ] ;
279-
280- let rebuild = true ;
281- if ( this . fileTimestamps && this . contextTimestamps ) {
282- rebuild = cacheModule . needRebuild (
283- this . fileTimestamps ,
284- this . contextTimestamps
285- ) ;
286- }
287-
288- if ( ! rebuild ) {
289- cacheModule . disconnect ( ) ;
290- this . _modules . set ( identifier , cacheModule ) ;
291- this . modules . push ( cacheModule ) ;
292- for ( const err of cacheModule . errors ) this . errors . push ( err ) ;
293- for ( const err of cacheModule . warnings ) this . warnings . push ( err ) ;
294- return {
295- module : cacheModule ,
296- issuer : true ,
297- build : false ,
298- dependencies : true
299- } ;
300- }
301279 cacheModule . unbuild ( ) ;
302280 module = cacheModule ;
303281 }
You can’t perform that action at this time.
0 commit comments