I am trying to create a project structure similar to the following:
--firebase-admin-project
--firebase.json
--functions
--anonymous-login
--node_modules
--index.js
--package.json
--auth-login
--node_modules
--index.js
--package.json
The intention is to do "firebase deploy --only functions" in either the anonymous-login or auth-login folders but the deployment fails.
Currently, "firebase init functions" creates new index.js and package.json files in the functions folder, which is not what I want.
Also, we want to avoid using require to pull all functions into one index.js file.