Skip to content

Creating a build

miyagi build

This will create a static build in the folder that is defined in build.folder in your settings (default: "build").




Setting the build folder can also be done via CLI:

miyagi build --folder <folder>

This would overwrite the build.folder value defined in your settings.


miyagi can create an output.json file, which contains the paths to the standalone HTML files of your components (including variants). You can e.g. use this file to run visual regression tests against those paths. By default, this is turned off. You can enable it via

miyagi build --outputFile true

This would overwrite the build.outputFile value defined in your settings.