Skip to content

perf: reuse resolved reactRefreshEntryPath#10

Merged
chenjiahan merged 2 commits intomainfrom
reuse_resolve_1108
Nov 8, 2024
Merged

perf: reuse resolved reactRefreshEntryPath#10
chenjiahan merged 2 commits intomainfrom
reuse_resolve_1108

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

The plugin does not need to call require.resolve('../../client/reactRefreshEntry') because it can reuse the reactRefreshEntryPath variable from index.ts.

@chenjiahan chenjiahan requested a review from 9aoy November 8, 2024 09:05
@chenjiahan chenjiahan merged commit 325f610 into main Nov 8, 2024
@chenjiahan chenjiahan deleted the reuse_resolve_1108 branch November 8, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants