diff --git a/examples/with-firebase-hosting/firebaseFunctions.js b/examples/with-firebase-hosting/firebaseFunctions.js index 9241139d16f4..3d8c8a5a8e19 100644 --- a/examples/with-firebase-hosting/firebaseFunctions.js +++ b/examples/with-firebase-hosting/firebaseFunctions.js @@ -2,11 +2,10 @@ const { join } = require('path') const { https } = require('firebase-functions') const { default: next } = require('next') -const isDev = process.env.NODE_ENV !== 'production' const nextjsDistDir = join('src', require('./src/next.config.js').distDir) const nextjsServer = next({ - dev: isDev, + dev: false, conf: { distDir: nextjsDistDir, }, diff --git a/examples/with-firebase-hosting/package.json b/examples/with-firebase-hosting/package.json index 7a70f855076c..abd9f6d73c43 100644 --- a/examples/with-firebase-hosting/package.json +++ b/examples/with-firebase-hosting/package.json @@ -13,15 +13,15 @@ "logs": "firebase functions:log" }, "dependencies": { - "firebase-admin": "^8.9.0", - "firebase-functions": "^3.3.0", - "next": "^9.3.4", - "react": "^16.13.1", - "react-dom": "^16.13.1" + "firebase-admin": "^9.4.2", + "firebase-functions": "^3.13.1", + "next": "latest", + "react": "^17.0.1", + "react-dom": "^17.0.1" }, "devDependencies": { - "firebase-functions-test": "^0.1.6", - "firebase-tools": "^8.6.0" + "firebase-functions-test": "^0.2.3", + "firebase-tools": "^9.3.0" }, "license": "MIT" }