Skip to content

Commit

Permalink
fix: illegal filename of route meta chunks on windows (#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnyballk authored Jun 11, 2024
1 parent 3bea981 commit 12358c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function componentToChunkName(
const cwd = winPath(cwdPath);

return typeof component === 'string'
? component
? winPath(component)
.replace(
new RegExp(
`^(${
Expand Down

0 comments on commit 12358c7

Please sign in to comment.