Summary
Having covered how the SvelteKit build process works, we then observed how we can preview our builds locally. We also looked at how page options can affect our builds. We took what we learned about the build process and saw how we can tailor our application to various platforms by selecting the right adapter. The application we’ve built so far is best suited to Node.js environments but we’ve also seen how simple it is to deploy to Cloudflare Pages and platforms such as Netlify or Vercel. By using the correct adapter and development strategies, we can even turn our application into a static website. Now that you’ve seen how to prepare your application for different production environments, you can go forth and release your SvelteKit applications into the wild.
In the next chapter, we’ll learn how we can manipulate requests across our entire application through the use of hooks. We’ll also address how we can utilize these hooks to assist...