FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feature: add Bun bundler support with inline HMR by bondehagen · Pull Request #82 · solidjs/solid-refresh · GitHub

feature: add Bun bundler support with inline HMR - #82

Open
bondehagen wants to merge 1 commit into
solidjs:mainfrom
bondehagen:main
Open

feature: add Bun bundler support with inline HMR#82
bondehagen wants to merge 1 commit into
solidjs:mainfrom
bondehagen:main

Conversation

Copy link
Copy Markdown

Closes #81

bondehagen marked this pull request as ready for review December 25, 2025 21:56
const _REGISTRY = _$$registry();
const Example = _$$context(_REGISTRY, "Example", createContext());
if (import.meta.hot) {
import.meta.hot.data["solid-refresh"] = import.meta.hot.data["solid-refresh"] || _REGISTRY;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Question: even though bun uses import.meta.hot, is the behavior different from vite? as I see it, this is a bit closer to parcel.

Copy link
Copy Markdown
Member

Hi, thanks for contributing. As long as this is tested locally (I don't have or haven't used Bun), then I will be fine on this being added (also when the question above is answered)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Bun's HMR

2 participants


Back | FazBrowse Home | New Git URL