-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Deploy only one function from a multiple functions app #160
Comments
ah, good scenario, thanks @pikilon . I might have to think about how best to handle this in plugin. The good news is that you can do this with the Firebase CLI. Each nx-firebase function app is effectively a codebase, so the magic spell you need to deploy just one function from a codebase collection is:
where |
An alternative solution is to generate another I havent yet decided in my own workflow if it makes sense to have one This approach does have the benefit that Plus since one app, one function, then Downside is a lot more boiler plate and code fragments in the workspace since there are more app projects around. But I tend to have very little code in my firebase function |
UPDATE: Actually the plugin can in fact do this already, even if you have multiple exports in your
As above, where |
Thank you very much, I will use it. |
Current behavior
app
firebase deploy --only functions:function-name
Expected behavior
The text was updated successfully, but these errors were encountered: