Describe the Bug
Firebase 11.19.0 (dec/2022): running firebase init with functions setup generates the following snippet:
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": ["node_modules", ".git", "firebase-debug.log", "firebase-debug.*.log"]
}
],
...
which is an array. The adapter expects an object.
Steps to Reproduce
- run
firebase init and make sure you selected to setup firebase functions
- run
npm run build
- The following error will throw:
Error: Required "functions.source" field is missing from Firebase Configuration file.
Expected Behaviour
The adapter should accept this default configuration. Probably this will be the default to now on.
svelte-adapter-firebase version
0.14.4
sveltejs/kit version
1.0.1
Describe the Bug
Firebase 11.19.0 (dec/2022): running
firebase initwith functions setup generates the following snippet:which is an array. The adapter expects an object.
Steps to Reproduce
firebase initand make sure you selected to setup firebase functionsnpm run buildError: Required "functions.source" field is missing from Firebase Configuration file.Expected Behaviour
The adapter should accept this default configuration. Probably this will be the default to now on.
svelte-adapter-firebase version
0.14.4
sveltejs/kit version
1.0.1