# recipes/client/vite.config.ts

One file of [`recipes/client`](/docs/recipes/client), at commit `9a5bb24`.

```ts
// The one plugin a page needs. `npx vite recipes/client` reads this, and so does `main.ts`.

import { defineConfig } from 'vite';

import { aweft } from '@aweftjs/build';

export default defineConfig({
	root: import.meta.dirname,
	plugins: [aweft()],
	build: { outDir: 'dist', emptyOutDir: true },
});
```
