@exile-watch/vite-config
Shared Vite configuration for exile.watch projects

About @exile-watch/vite-config
@exile-watch/vite-config
This package contains shared Vite configuration, Vite dependency and Vite-related dependencies.
About Vite
Vite 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
Install the package as a
devDependency
:
npm i -D @exile-watch/vite-config
Create a new configuration file at
{root}/vite.config.ts
:
// {root}/vite.config.ts
import viteConfig from '@exile-watch/vite-config'
export default viteConfig()
Add
build
script topackage.json
// {root}/package.json
{
// ...
"scripts": {
// ...
"build": "vite build"
}
}
Last updated
Was this helpful?