Skip to content

Instantly share code, notes, and snippets.

View butadpj's full-sized avatar
🎯
Focusing

Paul John Butad butadpj

🎯
Focusing
View GitHub Profile

Vite Dual Build Setup: Library + Site

This document explains the architecture and configuration for bundling both a component library and a static site (SPA) in a single Vite project.


🎯 Overview

This project uses two separate Vite configurations to produce two distinct build outputs: