-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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): Move static queries to page data dir #26242
Conversation
@wardpeet The only problematic edge case I can think of is if someone creates a page with a path of I mean, it won't fail. It'll just result in |
Gatsby Cloud Build Reportclient-only-paths 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 17s PerformanceLighthouse report
|
Gatsby Cloud Build Reportusing-styled-components 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 21s PerformanceLighthouse report
|
Gatsby Cloud Build Reportgatsby-master 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 1m PerformanceLighthouse report
|
Gatsby Cloud Build Reportusing-reach-skip-nav 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 26s PerformanceLighthouse report
|
we could change the directory name to something more nonsensical to further avoid chances of classes e.g. |
@KyleAMathews Could do that, yes. @pieh Thoughts? |
Maybe |
I mean the clash wouldn't cause any issue given that there's the |
Gatsby Cloud Build Reportgatsby 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 38m |
a9e8938
to
3cd6e94
Compare
3cd6e94
to
106f063
Compare
Gatsby Cloud Build Reportgatsby 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 19m PerformanceLighthouse report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Thanks @sidharthachatterjee
Published in |
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Static query file names are currently a fn of query text a(and not result). We should move them to the current
page-data
directory (which we recommend not caching)Fixes #26135