> For the complete documentation index, see [llms.txt](https://textav.gitbook.io/firebase-react-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://textav.gitbook.io/firebase-react-notes/cloud-functions/cloud-function-separate-in-multiple-files.md).

# Separate Cloud Function in multiple files

[Splitting index.ts, & exporting multiple Cloud Functions](https://youtu.be/CLjMGTV8vKo)

[How to Split Cloud Functions into Multiple Javascript Files in Firebase](https://bigcodenerd.org/split-cloud-functions-firebase/)

<https://stackoverflow.com/questions/43486278/how-do-i-structure-cloud-functions-for-firebase-to-deploy-multiple-functions-fro> <br>

{% hint style="danger" %}
haven't tried this yet
{% endhint %}
