Skip to content

Commit 9d8d645

Browse files
committed
fix(bundler-webpack): fix module identifier matching
1 parent 4fa5c4c commit 9d8d645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bundler-webpack/src/build/ssr/createClientPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const createClientPlugin = (
7575

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

8080
// get chunk files index
8181
const files = [...chunk.files.map(fileToIndex)]

0 commit comments

Comments
 (0)