Add build.assetsPrefix to configuration reference#13834
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thank you, LGTM! (even if this is still a draft) We can merge this when withastro/astro#16653 is merged.
|
Thank you for the approval! |
|
This is not a big deal for this one as this is a small fix! But for your future docs contributions: it's better if you undraft the PR when it's ready. We have labels to be sure docs are not merged before the release. A PR in draft means this is not yet ready for review so we usually don't check them. This could block a release: if the associated docs PRs do not have an approval, we may delay merging the And feel free to merge your PRs once they are approved, you now have the right to do so! 😉 |
|
Thanks for merging, and for the tips! |
Description (required)
Both the deprecation comments in Astro's source code and the "Deprecated: import.meta.env.ASSETS_PREFIX" section on the "Upgrade to Astro v6" page recommend importing
build.assetsPrefixfromastro:config/serveras a replacement forimport.meta.env.ASSETS_PREFIX.However,
build.assetsPrefixwas missing from the "Imports from astro:config/server" reference.This PR adds
build.assetsPrefixto the "Imports from astro:config/server" list.Related issues & labels (optional)
withastro/astro#16604
withastro/astro#16605