george43g / better-firebase-functions

This repo provides functionality for a better way of organising files, imports and function triggers in Firebase Cloud Functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

funcNameFromRelPath should not be hardcoded

atereshkov opened this issue · comments

funcNameFromRelPath should be configurable

thanks for the lib

I'll definitely revisit this when I have some spare time - I'm hoping the community can submit some pull requests and fix the CI configuration issues I'm having.

How would you like it to be configurable? Maybe allow people to choose between using a default export from each file VS multiple exports per file, and hence configure how the function is named?

version 4 will have this ability in the new and improved exportFunctions() function. This should be available within days.