How to create a post build script with GatsbyJS
![Oscar de la Hera Gomez](https://www.delasign.com/CDN/headshots/profile.webp)
![A flower that represents GatsbyJS with the text "Post Build Script" beneath it.](https://www.delasign.com/CDN/images/How-to-create-a-post-build-script-with-GatsbyJS.webp)
A step by step tutorial on writing a custom Post Build script with GatsbyJS.
Step One: Setup the project
![GatsbyJS SEO](https://www.delasign.com/CDN/images/gatsby.jpeg)
Create a GatsbyJS project that includes a gatsby-node.js script.
To download our Open Source Typescript & GatsbyJS starter project, please use the code or link below.
git clone git@github.com:delasign/gatsbyjs-typescript-starter.git
Step Two: Add the Post Build Script
![Place the sample build script provided below at the bottom of your gatsby-node.js](https://www.delasign.com/CDN/images/Script.webp)
In the gatsby-node.js file add the post build script at the bottom of the file.
We have provided a sample below.
Any Questions?
We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.