Configurations and Options
In my opinion, there are few things more frustrating than working diligently on a project for weeks, only for a bug to manifest itself upon the project launch in the production environment because of a seemingly obscure configuration option. That is why this chapter will make efforts to teach you about the various options available to you before you dig in. I know you’re ready to learn about SvelteKit already. I promise that I’m just as excited to get into “actually building stuff” as you are, but I assure you that there is value in learning these concepts early on. If you’re hoping to rapidly develop a high-performance web application, then I believe it is in your best interest to learn these concepts before you start on your specific app.
To begin this chapter, we’ll start by taking a look at how you can manage your project configuration with options available in your svelte.config.js
file. We’ll then...