george43g / better-firebase-functions

This repo provides functionality for a better way of organising files, imports and function triggers in Firebase Cloud Functions
Mozilla Public License 2.0
179 stars 15 forks source link

funcNameFromRelPath should not be hardcoded #2

Closed atereshkov closed 4 years ago

atereshkov commented 4 years ago

funcNameFromRelPath should be configurable

thanks for the lib

george43g commented 4 years ago

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?

george43g commented 4 years ago

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