Skip to content

refactor(resolve): remove tryEsmOnly flag#18394

Merged
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:refactor/resolve-remove-try-esm-only
Oct 18, 2024
Merged

refactor(resolve): remove tryEsmOnly flag#18394
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:refactor/resolve-remove-try-esm-only

Conversation

@sapphi-red
Copy link
Copy Markdown
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
@bolt-new-by-stackblitz
Copy link
Copy Markdown

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

@patak-cat
Copy link
Copy Markdown
Member

/ecosystem-ci run

@vite-ecosystem-ci
Copy link
Copy Markdown

@patak-cat patak-cat merged commit 7cebe38 into vitejs:main Oct 18, 2024
@sapphi-red sapphi-red deleted the refactor/resolve-remove-try-esm-only branch October 18, 2024 12:11
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
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