Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit dec1c4c

Browse files
author
Je
committed
fix: fix shouldUpdateMainModule
1 parent d95905b commit dec1c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export class Project {
525525
return true
526526
}
527527
default: {
528-
if (path.startsWith('/page/')) {
528+
if (moduleID.startsWith('/pages/')) {
529529
return true
530530
}
531531
return false

0 commit comments

Comments
 (0)