Skip to content

Conversation

@ematipico
Copy link
Member

Changes

This PR removes the usage getRunnableDevEnvironment. It also applies the applyEnvironment function to some plugins of ours.

I did try to refactor ModuleLoader too, and break it down into two bits: the part related to environments, and the part related to the dev server; however, it has more repercussions than expected, so I believe this refactor should be made in another PR.

Testing

Checked that examples and cloudlfare still work as expected.

Docs

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

⚠️ No Changeset found

Latest commit: 959bd1f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Oct 31, 2025
@ematipico ematipico merged commit 21d819d into feat/environment-api Oct 31, 2025
7 of 17 checks passed
@ematipico ematipico deleted the env-api/get-runnable-dev-env branch October 31, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants