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
Configure custom build commands allow you to run custom scripts and other commands that may be useful during the build process, such as Composer auth for any private packages, like Flux UI.