---
url: "https://vueda.dev/v3/reference/api/js/vite.md"
title: "vite"
---

# vite

## Overview

Exports a Vite configuration helper that sets up aliases and de-duplication so that VUEDA, its
peer dependencies, and `@arrai-innovations/reactive-helpers` resolve to a single copy each, whether those
packages are installed from the registry or wired in with `pnpm link` / `file:` for local development.

## Methods

- [vuedaViteConfig](/v3/reference/api/js/vite/functions/vuedaViteConfig.md) - Returns a Vite config fragment for vueda, covering `define`, `resolve.alias`, `resolve.dedupe`, and (optionally) `optimizeDeps`, `server.fs.allow`, and action-view import transforms.

## Types

### [DependencyWiring](/v3/reference/api/js/vite/types/DependencyWiring.md)

`DependencyWiring = "installed" | "linked" | "absent"`

## Source

`client/lib/vite.js:1`
