nuxt.com icon indicating copy to clipboard operation
nuxt.com copied to clipboard

docs: firebase functions coexistense

Open vis97c opened this issue 1 year ago • 1 comments

Describe the feature

The way firebase deploy docs are paraphrased can mislead devs into thinking other functions cannot be deployed alongside nuxt.

According to firebase docs, multiple sources are supported.

// firebase.json
{
  "functions": [
    {
      "source": "functions",
      "codebase": "default",
      "ignore": [
        "node_modules",
        ".git",
        "firebase-debug.log",
        "firebase-debug.*.log"
      ],
      "predeploy": [
        "npm --prefix \"$RESOURCE_DIR\" run build"
      ]
    },
    {
      "source": ".output/server",
      "codebase": "nuxt"
    }
  ],
// ...more rules
}

Pls improve on that or let me know what steps to take. (not sure where in the codebase the deploy docs are managed)

E: this does also seems to affect nitro docs

Additional information

  • [X] Would you be willing to help implement this feature?
  • [ ] Could this feature be implemented as a module?

Final checks

vis97c avatar Feb 11 '24 14:02 vis97c

Happy to open a PR @vis97c ?

atinux avatar Mar 11 '24 22:03 atinux