Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gatsby): move require out of hot function (#36253)
* fix(gatsby): move require out of hot function This require showed up in a performance profile as taking ~600ms during a large query as `resolveField` is called a lot. We can require it out of the function to avoid this. * not sure why it needs the .default here * Update node-model.js * Update node-model.js * Fix lint
- Loading branch information