@wordpress/create-blocks on a production site

I am new to using wordpress/create-blocks to create blocks on my site. Works locally perfectly, however I cannot find any information anywhere on the best way to get the blocks working on a production site?

I am using Cloudways, and I cannot find a way to run the build scripts on prod.

How are people doing this? Are they committing the build & node_modules dir's up or running a script to build the blocks on prod?

Any help would be massively appreciated!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer