On this page
Configuring Builds
Bifrost handles configuring your apps at build time. Things like the App ID and other essential NativePHP environment variables are configured for you.
We also run various NativePHP and Laravel commands during each build process to optimize your apps for production
release, including npm run build.
This includes running composer install --no-dev, so you should make sure that your app doesn't depend on any dev
dependencies at runtime.
Environment Variables
If you need to add any custom environment variables, this is the place to do it. Simply list keys and values just as
you would in your .env file and they will be appended at build time.
Custom Build Commands

Custom build commands let you run arbitrary commands that may be useful during your build process, such as Composer auth for any private packages, like Flux UI.
They are kind of like your deploy scripts on Laravel Forge or Laravel Cloud.
These commands are executed early in the build pipeline, so you can use them to set things up as needed before the build runs.
They must be one command per line.
You won't need to use this for commands like composer install or npm run build, as we take care of running these
commands for you as part of the default build process.