# @exile-watch/vite-config

<figure><img src="/files/phOqyIiKbklQTpQi6Q8A" alt="" width="200"><figcaption><p>exile.watch logo</p></figcaption></figure>

## About [`@exile-watch/vite-config`](https://github.com/exile-watch/splinters/tree/main/packages/vite-config)

This package contains shared Vite configuration, Vite dependency and Vite-related dependencies.

## About Vite

[Vite](https://vite.dev/) is a blazing fast frontend build tool powering the next generation of web applications that aims to provide a faster and leaner development experience for modern web projects.

## Usage

1. Install the package as a `devDependency`:

```bash
npm i -D @exile-watch/vite-config
```

***

2. Create a new configuration file at `{root}/vite.config.ts`:

```typescript
// {root}/vite.config.ts
import viteConfig from '@exile-watch/vite-config'

export default viteConfig()
```

***

3. Add `build` script to `package.json`

```jsonp
// {root}/package.json
{
  // ...
  "scripts": {
    // ...
    "build": "vite build"
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exile.watch/projects/splinters/exile-watch-vite-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
