chore: convert submodules to standard directories for true monorepo structure

This commit is contained in:
2026-05-13 14:54:23 -07:00
parent 4339da259c
commit abf9bf89c2
761 changed files with 133928 additions and 2 deletions

26
vibn-frontend/index.js Normal file
View File

@@ -0,0 +1,26 @@
const { onRequest } = require('firebase-functions/v2/https');
const next = require('next');
const app = next({
dev: false,
conf: { distDir: '.next' },
});
const handle = app.getRequestHandler();
// Prepare the app on module load
const prepared = app.prepare();
exports.nextjsFunc = onRequest(
{
region: 'us-central1',
memory: '2GiB',
timeoutSeconds: 300,
maxInstances: 10,
minInstances: 0,
},
async (req, res) => {
await prepared;
return handle(req, res);
}
);