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

fix(gatsby-plugin-preact): fix fast-refresh #29831

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Conversation

wardpeet
Copy link
Contributor

Description

Fix fast-refresh for gatsby-plugin-preact.

The runtime module isn't being loaded when using preact so gatsbyEvents is not set. This also disables our error modals 😬 that's another bug to fix but at least this fixes updates

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 28, 2021
@wardpeet wardpeet added topic: preact* and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 28, 2021
@vladar vladar merged commit 81a3776 into master Mar 1, 2021
@vladar vladar deleted the fix/preact-fast-refresh branch March 1, 2021 10:38
vladar pushed a commit that referenced this pull request Mar 1, 2021
vladar pushed a commit that referenced this pull request Mar 1, 2021
(cherry picked from commit 81a3776)

Co-authored-by: Ward Peeters <ward@coding-tech.com>
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.

2 participants