File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ glob patterns to only include certain files (`*.func.js`).
109
109
You can now also control how the function trigger export is "found" from each module file. For example, instead of using
110
110
a default export, you can opt to use a named export called ` export const functionTrigger = functions... ` .
111
111
112
- #### Warnings
112
+ ### Warnings
113
113
114
114
Try to avoid collisions, where two modules are exported to the same path.
115
115
@@ -123,6 +123,12 @@ stripped away (provided they both have a default export)
123
123
If you need both files, then you can optionally change their names to use camelCase or use a dash ` - ` (which are also
124
124
automatically converted to camelCase) leaving only the dot in .js.
125
125
126
+ #### Node 8
127
+
128
+ If you are using Firebase Functions in Node v8, then the master branch will not work with default settings. The
129
+ funcNameFromRelPath method uses a dependency called ` camelCase ` which crashes in v8. There is a specific branch for Node
130
+ v8 called
` node8 ` that can be installed via
` npm install [email protected] :gramstr/better-firebase-functions.git#node8 `
131
+
126
132
## Contribute
127
133
128
134
Please contribute to this project by submitting a pull request. Use Commitizen to generate correct commit messages.
You can’t perform that action at this time.
0 commit comments