Configuration should stay close to the route, build, or package surface it affects.
Declare route-facing behavior where the route can be audited.
Keep Vite and SSG settings explicit in project tasks.
Use package manifests for publish and dependency boundaries.