Skip to content

ogygia warning

jumpstart_run_order

jumpstart: every bundled dependency runs at server start: ‹reason›

Without jumpstart(), a dependency that only some pages import runs when the first of them loads. Bundled, it runs then too, but only when Rolldown's strictExecutionOrder builds the server, which keeps each module's run time. This build could not use it, for the reason the line gives, so every bundled dependency runs when the server starts, and when Kit's build reads the routes. A module that needs your hooks to run first (a message formatted with a locale they set), or that opens a connection, then runs too early.

On a Rolldown before 1.3.3 (which never finishes a SvelteKit 2 server build with strictExecutionOrder): update Rolldown to 1.3.3 or later, which Vite 8.4 or later installs with a fresh lockfile. For a module that awaits at its top level under an import cycle (jumpstart_await_cycle): break the cycle, or move the await into a function. Until then, a package that must not run at start goes in jumpstart({ external }).

Every error and warning