Custom build command
It can be necessary to run a script before the build command.
Example:
- With angular: A script to create the environment.ts files need to be run before the
ng build
. - With Prisma: A script to generate the prisma files should be run before the build the build itself.
Suggestion:
As for render.com, get in the settings Build Command options and Start Command
9
votes
Check out our docs to learn how to override build and start commands in apphosting.yaml: https://firebase.google.com/docs/app-hosting/configure#override-scripts
-
Hi - thanks for this suggestion! You can now override your build and start commands in apphosting.yaml: https://firebase.google.com/docs/app-hosting/configure#override-scripts
Let us know if this works for your use case. Thank you!
-
V commented
This will also could allow us to define required npm auth on private packages before install