Unverified Commit fa8ab993 authored by Markus Maerzhase's avatar Markus Maerzhase Committed by GitHub

Fix with-firebase-hosting running locally (#21971)

parent 74e0c6d6
......@@ -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,
},
......
......@@ -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"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment