Closed simondotm closed 10 months ago
Great stuff and great work!
We really like this project at our company and just started to use it.
Do you have any idea when this will be released?
@Gurey thanks for the kind feedback. Hopefully in next week or so, I'm just finishing up some migration tooling.
Add support for function environment vars. Solution:
environment
folder.env
,.env.local
and.secret.local
files in this dirproject.json
to copy them from parent firebase appenvironment
folder when functions are builtsync
generator to auto-rename the glob assets input dir rule if parent firebase app is renamedgetconfig
target to place.runtimeconfig.json
in the firebase appenvironment
dirfirebase.json
to haveignore: [ "*.local" ]
rule to prevent local files being deployedOutcome is that functions get the common environment vars copied from the parent firebase app to their
dist
folder, which allows:.env*
files to be deployed with function code*.local
and.runtimeconfig.json
files to be accessible to firebase emulator when serving locallyDocumentation updates also in this PR.