Skip to content

Commit

Permalink
revert mod req
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 16, 2022
1 parent ec05919 commit 742dc66
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -247,9 +247,7 @@ export class FlightClientEntryPlugin {

// Check if request is for css file.
if ((!inClientComponentBoundary && isClientComponent) || isCSS) {
clientComponentImports.push(
isCSS ? modRequest : require.resolve(modRequest)
)
clientComponentImports.push(modRequest)
return
}

Expand Down

0 comments on commit 742dc66

Please sign in to comment.