Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(resolve): remove allowLinkedExternal parameter from tryNodeResolve #18670

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

sapphi-red
Copy link
Member

Description

allowLinkedExternal was only used for createIsConfiguredAsExternal so I moved that logic to there and remove it from tryNodeResolve.

Also removed some | undefined to make the types more simple.

Copy link
Member

@patak-dev patak-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great to see how the codebase is getting in better shape all around, awesome @sapphi-red!

@patak-dev patak-dev merged commit b74d363 into vitejs:main Nov 14, 2024
16 checks passed
@sapphi-red sapphi-red deleted the refactor/externalize-logic2 branch November 14, 2024 10:29
sapphi-red added a commit to rolldown/vite that referenced this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants