Document compressHTML: "jsx" config is only available since Astro 6.2.0#13920
Document compressHTML: "jsx" config is only available since Astro 6.2.0#13920LongYC wants to merge 1 commit into
Conversation
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
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
|
There was a problem hiding this comment.
Thanks for your contribution! Yes, I think adding the version can be helpful. But, this file is read-only... as stated at the beginning of the file:
# NOTE: This file is auto-generated from 'scripts/docgen.mjs'
# Do not make edits to it directly, they will be overwritten.
# Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/types/public/config.ts
To update the docs, you'll need to make a PR to withastro/astro to update the matching JSDoc in https://github.com/withastro/astro/blob/main/packages/astro/src/types/public/config.ts instead.
|
@ArmandPhilippot ops, my bad for failing to notice that, I ran into the error and thought I could do quick PR to update, let me close this and do a proper PR. |
Description (required)
Document on config reference page that
compressHTML: "jsx"is only available starting Astro 6.2.0.Without this reference, it looks like the option has always been available but users of older versions (e.g. 6.1.9) will see the following message that contradicts the documentation:
I tried to follow the writing style from i18n.routing which also introduced a new option, by starting the sentence similarly.
Related issues & labels (optional)