Skip to content

Commit

Permalink
fix module id on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 16, 2022
1 parent d9cd3da commit c46a439
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -155,7 +155,8 @@ export class FlightManifestPlugin {
mod.resourceResolveData?.path || resource
)
if (!ssrNamedModuleId.startsWith('.'))
ssrNamedModuleId = `./${ssrNamedModuleId}`
// TODO use getModuleId instead
ssrNamedModuleId = `./${ssrNamedModuleId.replace(/\\/g, '/')}`

if (isCSSModule) {
if (!manifest[resource]) {
Expand Down

0 comments on commit c46a439

Please sign in to comment.