Javascript Build within a Jekyll Build

Can Netlify build a react application within, or before, a jekyll site build?

Yes you can! There’s an excellent article about it on medium. It comes with a boilerplate repo to get things up and running quickly.


Great, I will take a look at that post – thx!

Be aware that with this approach you have to use npm run build as a build command (instead of jekyll build) and dist as your site folder (instead of _site) in your Netlify build settings. Good luck!

Gotcha – so npm manages the jekyll build step, and I just specify that in the netlify build settings. Thx.