-
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
[docs] add doc on "Life and Times of a Gatsby Build" #14937
Comments
I made a start on this, but didn't get to the main "what's actually happening" section. Posting here in case someone else gets to this before me. Life and Times of a Gatsby BuildBuilding with GatsbyGatsby is a framework for creating web sites and web apps. As part of creating your site you’ll provide Gatsby with the code, configuration and data it needs to output a speedy, optimised site. When working with Gatsby it has two modes. You can start gatsby in either mode by running gatsby developGatsby develop is optimised for rapid feedback and extra debugging information. Using gatsby buildYou’ve added the finishing touches to your site and everything looks great. What now? This is where the build step comes in. Run will package up your site’s config, data, and code then optimise the heck out of it, and finally What happens when you run
|
I happened to write a blog post covering this topic. It's a bit more anecdotal as I describes what's going on with codes, but I think some part of it can be recycled to a documentation page. If you're interested, you can find it here. Would love to hear your thoughts on it and hope that it helps writing this doc! |
Summary
Through feedback provided on gatsbyjs.org, it has become clear that the stub article on Life and Times of a Gatsby Build is an important one that needs filling out to explain Gatsby concepts: https://www.gatsbyjs.org/docs/life-and-times-of-a-gatsby-build/
This page is a stub in the Conceptual Guide section, and would be a great opportunity to clarify what happens at build time vs. runtime. I couldn't find a GitHub issue for it, so I created this one to capture it as something we need.
There was a related question about the doc on Client Data Fetching, which assumes a lot of knowledge about build time vs. runtime processes. A dedicated doc on this would be very helpful, and this seems like a good one.
The text was updated successfully, but these errors were encountered: