Files
buzz/packages/ui/vite.config.ts
Arjun Mahanti 31b53e1afd feat(design-system): add portable open-source component library
Signed-off-by: Arjun Mahanti <arjun@squareup.com>
Co-authored-by: Codex <noreply@openai.com>
2026-09-09 08:24:52 -07:00

22 lines
422 B
TypeScript

import { defineConfig } from "vite";
export default defineConfig({
build: {
lib: {
entry: "src/index.ts",
formats: ["es"],
fileName: "index",
cssFileName: "ui",
},
rollupOptions: {
external: [
/^react($|\/)/,
/^react-dom($|\/)/,
/^@base-ui\//,
/^lucide-react/,
/^@daypicker\//,
/^react-resizable-panels/,
],
},
},
});