File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -321,12 +321,13 @@ class ConcatenatedModule extends Module {
321321 }
322322
323323 _createIdentifier ( ) {
324- const orderedConcatenationListIdentifiers = this . _orderedConcatenationList . map ( info => {
325- switch ( info . type ) {
326- case "concatenated" :
327- return info . module . identifier ( ) ;
324+ let orderedConcatenationListIdentifiers = "" ;
325+ for ( let i = 0 ; i < this . _orderedConcatenationList . length ; i ++ ) {
326+ if ( this . _orderedConcatenationList [ i ] . type === "concatenated" ) {
327+ orderedConcatenationListIdentifiers += this . _orderedConcatenationList [ i ] . module . identifier ( ) ;
328+ orderedConcatenationListIdentifiers += " " ;
328329 }
329- } ) . filter ( Boolean ) . join ( " " ) ;
330+ }
330331 const hash = createHash ( "md5" ) ;
331332 hash . update ( orderedConcatenationListIdentifiers ) ;
332333 return this . rootModule . identifier ( ) + " " + hash . digest ( "hex" ) ;
You can’t perform that action at this time.
0 commit comments