Commit 50d658c
fix(firebase): Fix ESM import of firebase-functions/logger
Replace default import with namespace import to work correctly when loaded
as ESM via Node.js 20.19+ require(esm) compatibility layer. The logger
subpath only exports named exports, causing a SyntaxError with default import.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f289266 commit 50d658c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments