Skip to content

Commit

Permalink
build: update build configs to use Node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Sep 18, 2023
1 parent 225604a commit 57e8add
Show file tree
Hide file tree
Showing 3 changed files with 3,738 additions and 3,753 deletions.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
]
},
"functions": {
"runtime": "nodejs14",
"runtime": "nodejs16",
"source": ".",
"predeploy": [
"npm --prefix \"$PROJECT_DIR\" install",
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"private": true,
"main": "firebaseFunctions.js",
"type": "commonjs",
"engines": {
"node": ">=16"
},
"scripts": {
"dev": "next",
"build": "next build",
Expand Down
Loading

0 comments on commit 57e8add

Please sign in to comment.