Here i deploy the the default Sapper template, with Rollup and webpack to Firebase Cloud functions.
Try it by yourself, install the Firebase Client on your Computer, change the Project Id in the .firebaserc File , an deploy it in the Cloud
npx degit "sveltecasts/006-deploy-sapper-to-firebase-cloud-functions" my-app
cd my-app/functions
npm install
npm run deployTo learn more about Sapper consult sapper.svelte.dev for getting started.
I made a Youtube video where i deploy the Sapper template to Firebase, check it out here: https://youtu.be/fxfFMn4VMpQ