You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy react app build with vite and express.js server for SSR. I've used next code template from vite.
I've followed all mentioned steps described in Serve Dynamic Content and it's deploys static content but not cloud function (express server).
server.js
import express from 'express';
export function app() {
// Create http server
const app = express();
return app;
}
georgelviv
changed the title
Serve Dynamic Content with Express not deploys any cloud function
Serve Dynamic Content with Express not deploys cloud function
Mar 14, 2024
[REQUIRED] Environment info
firebase-tools: 13.5.0
Platform: macOS (M1)
[REQUIRED] Test case
I want to deploy react app build with vite and express.js server for SSR. I've used next code template from vite.
I've followed all mentioned steps described in Serve Dynamic Content and it's deploys static content but not cloud function (express server).
server.js
firebase.json
package.json
[REQUIRED] Steps to reproduce
$ firebase experiments:enable webframeworks
$ firebase init hosting
package.json
$ firebase deploy
[REQUIRED] Expected behavior
Should deploy
server.js
as cloud function[REQUIRED] Actual behavior
Deploys only static files
The text was updated successfully, but these errors were encountered: