Skip to content

Commit

Permalink
package: Add ESM compatability
Browse files Browse the repository at this point in the history
Update node version and include 'type' field as advised here: firebase/firebase-tools#2994
  • Loading branch information
isoaxe committed Jan 1, 2022
1 parent d6c4b07 commit 19cf741
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
22 changes: 1 addition & 21 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion functions/package.json
Expand Up @@ -10,9 +10,10 @@
"logs": "firebase functions:log"
},
"engines": {
"node": "12"
"node": "14"
},
"main": "index.js",
"type": "module",
"dependencies": {
"body-parser": "^1.19.1",
"cors": "^2.8.5",
Expand Down

0 comments on commit 19cf741

Please sign in to comment.