-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
I ran into a similar issue to #763 earlier today. While digging into (and with some help of @benmccann) I fixed it by adding prerender: { enabled: false }
to the svelte.config.js.
This because in
enabled: expect_boolean(true), |
Instead of necro'ing the previous issue (which as it described there is solved, so no point in reopening it) I made this issue in case there can be some discussion about whether this is the correct default. I am not entirely clear on what the benefit of prerendering is over not doing it, so I suppose that would be part of this decision.
Regardless of this, the default values for the config should be (better) documented somewhere, especially in this case where the documentation on prerendering makes it look as if this is something you have to explicitely turn on.