composer install
To zip the current version and remove all unnecessary files, run the following script:
composer run-script zip
To create a current build, run the following script:
composer run-script build
This will run the following steps:
npm i
npm run build
composer run-script zip
A dist.zip
will be saved afterwards in the kirby directory and can be distributed and placed in all kits. This file is ignored by default and should never be added to the repository.