Commit graph

2 commits

Author SHA1 Message Date
Chris Swithinbank
1d43a3a6aa
Add .astro/ to .gitignore in example projects (#5841)
* Delete committed types in with-content example

* Add `.astro/` to `.gitignore` in example projects
2023-01-12 11:26:13 -05:00
Nate Moore
36223f663e
Add getViteConfig helper (#4154)
* feat: add astro/compat entrypoint for vitest

* chore: add with-vitest example

* chore: add vitest as optional peer dependency

* chore: update lockfile

* refactor: remove astro/compat, use astro/config

* feat: allow arbitrary modes for `create-vite`

* feat: pass vite mode and command when using `getViteConfig`

* chore: remove vitest from peer deps

* chore: add changeset

* chore: update lockfile

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-05 14:41:01 -05:00