UNPKG

firebase-frameworks

Version:

Experimental addon to the Firebase CLI to add web framework support

7 lines (6 loc) 209 B
import { pathToFileURL } from "url"; const nuxt = import(`${pathToFileURL(process.cwd())}/index.mjs`); export const handle = async (req, res) => { const { handler } = await nuxt; handler(req, res); };