SvelteKit
I am the author of the Svelte adapter for Firebase.
I am glad to see work on this type of integration with Firebase deploy.
I was investigating how to integrate the "custom" framework into the adapter, but not sure if it is wasted effort if there is to be an official support for SvelteKit.
Can you shed light on intentions around official support for SvelteKit if any?
Integrating custom isn't too bad, at least for basic SPA. Sorry for the lack of documentation—still doing some work here. Basically package.json needs to fulfill the following contract:
- an exhaustive build step
- a directories.serve field which points to the compiled CDN assets
-
optionally, to be treated as SSR, the package should be able to be packed and your main entry should export either:
a.
appwhich is a function that returns an express.js app b.handlea express-style render handle
That said, we'd be open to officially support SvelteKit, we welcome any help. Perhaps we could collaborate on it?
Thanks for the information. I will take a crack at the custom integration and then perhaps look into PRing some stuff here for a proof of concept of an "official" integration
Feel free to ping my email with any questions [email protected] & I'd be happy to give you an overview of adding a framework and where we're planning on taking our built-in integrations in the coming quarters.
Closing, see #32