WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Apply schema defaults after refinements #14941

@florian-lefebvre

Description

@florian-lefebvre

Currently, Astro config defaults are defined in https://github.com/withastro/astro/blob/c8ac8e5eed7fa8db7111878ada787243cedc09b7/packages/astro/src/core/config/schemas/base.ts. The problem this way is that they apply too early, before integrations. We must find a way to apply defaults after astro:config:setup ran for all integrations. We also need to see how that impacts types.

Metadata

Metadata

Labels

requires breaking changeFixing this bug or adding this feature would require breaking changes. For PRs, use "semver: major"

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions