yarbsemaj / sveltekit-adapter-lambda

An adapter to build a SvelteKit app into a lambda ready for deployment with lambda proxy via the Serverless Framework or CDK.
https://www.npmjs.com/package/@yarbsemaj/adapter-lambda
MIT License
77 stars 16 forks source link

Error: writeStatic has been removed. #16

Closed S13F4NX closed 2 years ago

S13F4NX commented 2 years ago

Hi @yarbsemaj,

it seems that since vite 3 the build process is throwing the following error:

> Using adapter-serverless
error during build:
Error: writeStatic has been removed. Please ensure you are using the latest version of adapter-serverless

Thx Stefan

yarbsemaj commented 2 years ago

Hi @S13F4NX, Thank you for your interest in my project!

I've published a new build (0.10.0) to add support for the latest version of SvelteKit (1.0.0-next.380). I've tested it with my demo project, but could you let me know if this resolves your issue.

Thanks James

S13F4NX commented 2 years ago

Hi @yarbsemaj ,

Many thanks for fixing this issue und also for setting up this project. 👍 Works very well.

Stefan