Skip to content

Commit

Permalink
minor text tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 8, 2021
1 parent 55ac5ff commit 0821d3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/docs/80-adapter-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Within the `adapt` method, there are a number of things that an adapter should d
- Clear out the build directory
- Output code that:
- Calls `init`
- Converts from the patform's request to a [SvelteKit request](#hooks-handle), call `render`, convert from a [SvelteKit response](#hooks-handle) to the platform's
- Globally shims `fetch` to work on the target platform. SvelteKit provides a `@sveltejs/kit/install-fetch` helper to use `node-fetch`
- Bundle the output to avoid needing to install dependencies on the target platform, etc. if desired
- Call `prerender`
- Converts from the patform's request to a [SvelteKit request](#hooks-handle), calls `render`, and converts from a [SvelteKit response](#hooks-handle) to the platform's
- Globally shims `fetch` to work on the target platform. SvelteKit provides a `@sveltejs/kit/install-fetch` helper for platforms that can use `node-fetch`
- Bundle the output to avoid needing to install dependencies on the target platform, if desired
- Call `utils.prerender`
- Put the user's static files and the generated JS/CSS in the correct location for the target platform

> The adapter API may change before 1.0.

0 comments on commit 0821d3e

Please sign in to comment.