Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Add jsx-runtime to aliases#171

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rschristian merged 1 commit intomainfromfix/jsx-runtime-alias
Oct 20, 2025
Merged

Conversation

@rschristian
Copy link
Member

Seeing this at work, Vite won't chase open-ended aliases (likereact ->preact/compat, which can becomepreact/compat/client,preact/compat/server,preact/compat/jsx-runtime, etc) when optimizing ahead of time, choosing to instead defer that to detected usage during runtime (which is completely reasonable, IMO). Cacheless starts therefore see Vite refresh the page upon first load when it discovers & optimizes "react/jsx-runtime" which is a bit slower.

Can make the argument that all/compat/* entries should be listed here accordingly, though I'm not sure any of the other entries are likely to be used.

cc@maybebot, in a few weeks we'll get to delete a single line of config

@rschristianrschristian merged commit5ee464e intomainOct 20, 2025
1 check passed
@rschristianrschristian deleted the fix/jsx-runtime-alias branchOctober 26, 2025 05:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@marvinhagemeistermarvinhagemeistermarvinhagemeister approved these changes

@JoviDeCroockJoviDeCroockJoviDeCroock approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@rschristian@marvinhagemeister@JoviDeCroock

[8]ページ先頭

©2009-2025 Movatter.jp