Skip to content

fix: remove format sniffing module resolution from JS resolver - #22297

Merged
sapphi-red merged 3 commits into
vitejs:mainfrom
sapphi-red:refactor/remove-format-sniffing-module-resolution-from-js-resolver
Apr 22, 2026
Merged

sapphi-red merged 3 commits into
vitejs:mainfrom
sapphi-red:refactor/remove-format-sniffing-module-resolution-from-js-resolver

Conversation

@sapphi-red

Copy link
Copy Markdown
Member

This was not implemented on the native resolver: https://vite.dev/guide/migration#removed-module-resolution-using-format-sniffing
But was not removed from the JS resolver.

@ghost ghost added the p1-chore Doesn't change code behavior (priority) label Apr 22, 2026
@ghost
ghost marked this pull request as draft April 22, 2026 02:45
@ghost
ghost marked this pull request as ready for review April 22, 2026 03:59

ghost commented Apr 22, 2026

Copy link
Copy Markdown
Member

Small nit, maybe the title should be scoped as fix:

@ghost ghost changed the title refactor: remove format sniffing module resolution from JS resolver fix: remove format sniffing module resolution from JS resolver Apr 22, 2026
@ghost ghost added p2-edge-case Bug, but has workaround or limited in scope (priority) and removed p1-chore Doesn't change code behavior (priority) labels Apr 22, 2026
@ghost
ghost merged commit b8a21cc into vitejs:main Apr 22, 2026
@ghost
ghost deleted the refactor/remove-format-sniffing-module-resolution-from-js-resolver branch April 22, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-edge-case Bug, but has workaround or limited in scope (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo