mirror of
https://github.com/block/buzz.git
synced 2026-11-01 23:11:58 +00:00
Signed-off-by: Arjun Mahanti <arjun@squareup.com> Co-authored-by: Codex <noreply@openai.com>
22 lines
422 B
TypeScript
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/,
|
|
],
|
|
},
|
|
},
|
|
});
|