Content-Length: 264215 | pFad | https://github.com/vitejs/vite/issues/18394

825 refactor(resolve): remove `tryEsmOnly` flag by sapphi-red · Pull Request #18394 · vitejs/vite · GitHub
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 tryEsmOnly flag #18394

Merged

Conversation

sapphi-red
Copy link
Member

Description

This seems to be added by #5693.
At that time, isRequire was always set to true,
https://github.com/aleclarson/vite/blob/e3e6ed193f9cdf175071edb2f8e6d9fe35e8c9d5/packages/vite/src/node/ssr/ssrModuleLoader.ts#L112
but now we don't set that so this should be no longer needed.

@sapphi-red sapphi-red added the p1-chore Doesn't change code behavior (priority) label Oct 18, 2024
Copy link

stackblitz bot commented Oct 18, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-dev
Copy link
Member

/ecosystem-ci run

@vite-ecosystem-ci
Copy link

@patak-dev patak-dev merged commit 7cebe38 into vitejs:main Oct 18, 2024
14 checks passed
@sapphi-red sapphi-red deleted the refactor/resolve-remove-try-esm-only branch October 18, 2024 12:11
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/vitejs/vite/issues/18394

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy