exile.watch docs
  • Introduction
  • The Maven - exile.watch context
  • Projects
    • hideout
    • crucible
      • Contributing
    • writ
      • Contributing
    • splinters
      • Contributing
      • @exile-watch/vite-config
      • @exile-watch/biome-config
      • @exile-watch/typescript-config
      • @exile-watch/unit-testing-config
      • @exile-watch/lefthook-config
    • nucleus
      • Contributing (data)
        • Encounter token breakdown
      • Contributing (scripts)
        • Scripts definition
      • @exile-watch/encounter-data
      • @exile-watch/seo
    • malachai
      • Contributing
      • snap gyazo thumbnail
    • doryani
      • Contributing
      • Actions
        • Authenticate to GitHub Package Registry
        • Install npm dependencies
        • Code quality assurance
        • Deploy webapp
        • Publish package
        • Preview publish package
        • Preview deploy webapp
  • voidstone
    • Contributing
  • Development
    • Commit message guidelines
    • Prerequisites
    • Generating GitHub PAT
    • .npmrc file
  • Architecture
    • Dependencies
    • Tech stack
    • Adoption chart
    • GHA workflows web
  • Legal
    • License - FSL, Apache 2.0
    • Non-Affiliation Notice
    • Code of Conduct
    • Privacy Policy
Powered by GitBook
On this page
  • About @exile-watch/vite-config
  • About Vite
  • Usage

Was this helpful?

  1. Projects
  2. splinters

@exile-watch/vite-config

Shared Vite configuration for exile.watch projects

PreviousContributingNext@exile-watch/biome-config

Last updated 4 days ago

Was this helpful?

About

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

About Vite

Usage

  1. Install the package as a devDependency:

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

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

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

export default viteConfig()

  1. Add build script to package.json

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

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.

Vite
@exile-watch/vite-config
exile.watch logo