Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 11, 2020
1 parent 02301e2 commit fd25b48
Show file tree
Hide file tree
Showing 2 changed files with 3,545 additions and 1,684 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/get-react-hot-loader-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import semver from "semver"

// Fast refresh is supported as of React 16.9.
// This package will do some sniffing to see if the current version of
// React installed is greater than 16.0.
// React installed is greater than 17.0.
export function getReactHotLoaderStrategy(): string {
// If the user has defined this, we don't want to do any package sniffing
if (process.env.GATSBY_HOT_LOADER) return process.env.GATSBY_HOT_LOADER
Expand Down
Loading

0 comments on commit fd25b48

Please sign in to comment.