Use a shell script that runs before your build to extend the functionality of your sites. Run tools like Gulp and Webpack before your build.
To run a prebuild script:
_cloudcannon-prebuild.shfile at the root of your file structure
The prebuild script runs in a Node.js environment, if you need to install any npm packages.
Prebuild commands allow you to incorporate your favourite tools for building and pre-processing into CloudCannon. Some ideas for using this feature include: