mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
665a2c2225
* fix: always generate types on init * fix: skip type generation when no content dir found * fix: avoid stripping `.ts` for existsSync check * chore: changeset * fix: run type gen when content/ dir added in dev
8 lines
250 B
Markdown
8 lines
250 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Better handle content type generation failures:
|
|
- Generate types when content directory is empty
|
|
- Log helpful error when running `astro sync` without a content directory
|
|
- Avoid swallowing `config.ts` syntax errors from Vite
|