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"
).
NOTE:
- miyagi automatically uses
NODE_ENV=production
to create the build, hence uses the assets you defined forproduction
(if you did).
Params
--folder
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.