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
|