docs: how to use new ESM support in Cloud Functions
jthegedus opened this issue · comments
James Hegedus commented
Cloud Functions has recently added support for ESM. It is enabled in functions/package.json
and therefore applies to all functions.
This adapter converts SvelteKit server to CJS by default but you can configure this output with the esbuild options. We should document this, write tests for ESM and also have an example in the docs for ESM.
James Hegedus commented
closed in #137