Change8

@sveltejs/adapter-node@6.0.0-next.2

Breaking Changes
📦 sveltekitView on GitHub →
2 breaking1 features🔧 3 symbols

Summary

This release introduces a major configuration change by replacing `kit.prerender.origin` with the new `kit.paths.origin` option and removing the corresponding environment variable for `adapter-node`.

⚠️ Breaking Changes

  • The configuration option `kit.prerender.origin` has been removed. Users should migrate to using the new `kit.paths.origin` configuration option.
  • The `ORIGIN` environment variable used by the `adapter-node` has been removed. Users should migrate to using the new `kit.paths.origin` configuration option.

Migration Steps

  1. Replace usage of the removed configuration option `kit.prerender.origin` with the new `kit.paths.origin` in your SvelteKit configuration.
  2. If using `adapter-node`, remove reliance on the `ORIGIN` environment variable and configure the origin via `kit.paths.origin` instead.

✨ New Features

  • Introduced the new configuration option `kit.paths.origin` for setting the origin.

Affected Symbols