Skip to content

Commit

Permalink
fix(bundler-webpack): fix module identifier matching
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 10, 2022
1 parent 4fa5c4c commit 9d8d645
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,7 +75,7 @@ export const createClientPlugin = (

// remove appended hash of module identifier
// which is the request string of the module
const request = m.identifier.replace(/\s\w+$/, '')
const request = m.identifier.replace(/\|\w+$/, '')

// get chunk files index
const files = [...chunk.files.map(fileToIndex)]
Expand Down

0 comments on commit 9d8d645

Please sign in to comment.