mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
8521ff77fb
* feat: remove "unsupported file type" warning for CC * chore(test): remove unsupported file type unit * chore: remove unused imports * chore: changeset * chore: changeset edits * edit: add note on underscores to exclude content Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: front-load "removes the requirement" Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
16 lines
504 B
Markdown
16 lines
504 B
Markdown
---
|
|
"astro": minor
|
|
---
|
|
|
|
Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like `.astro` or `.css`, you can now remove underscores without seeing a warning in the terminal.
|
|
|
|
```diff
|
|
src/content/blog/
|
|
post.mdx
|
|
- _styles.css
|
|
- _Component.astro
|
|
+ styles.css
|
|
+ Component.astro
|
|
```
|
|
|
|
Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output.
|