Skip to content

Commit

Permalink
Update for latest sveltekit version 1.0.0-next.348
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bray committed Jun 4, 2022
1 parent 2c8e6f8 commit 5822327
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,16 @@ Your app can then be accessed via the CloudFront distribution created as a part

## Static Assets and precompiled pages
To server static assets and precompiled pages this adapter makes use of S3. In order to route traffic the correct destination a Lambda@edge fuction is used to perfrom a origin rewrite to redirect traffic to the S3 Bucket.

## Help! I'm getting an error while building or serving my app.
As SvelteKit is still in early development, there are often breaking changes made to the adapter API and other associated functions. If this is the case, please raise an issue on [Github](https://github.com/yarbsemaj/sveltekit-adapter-lambda/issues), and I will be happy to issue a fix.

## Versions
| Adapter Version| Sveltekit Version |
| ---------------| ----------------- |
| 0.9.x | 1.0.0-next.348 |
| 0.6.x - 0.8.x | 1.0.0-next.301 |
| 0.5.x | 1.0.0-next.286 |
| 0.3.x - 0.4.x | 1.0.0-next.286 |
| 0.2.x | 1.0.0-next.239 |
| 0.1.x | 1.0.0-next.169 |
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yarbsemaj/adapter-lambda",
"version": "0.8.0",
"version": "0.9.0",
"license": "MIT",
"description": "An adapter for [SvelteKit](https://kit.svelte.dev/) for AWS Lambda via Lambda Proxy and API Gateway. [Serverless](https://www.serverless.com/) deployment.",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/shims.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { installFetch } from '@sveltejs/kit/install-fetch';
installFetch();
import { installPolyfills } from '@sveltejs/kit/node/polyfills';
installPolyfills();

0 comments on commit 5822327

Please sign in to comment.