The Coline design system: accessible React components for Coline Apps, themed live by the host workspace, and for Coline Sites in light and dark. Tailwind v4 stylesheet included. MIT.
| 5 |
| format: ["esm"], |
| 6 | // tsup's declaration build (TypeScript 6 API) always sets the deprecated baseUrl. |
| 7 | dts: { compilerOptions: { ignoreDeprecations: "6.0" } }, |
| 8 | sourcemap: true, |
| 9 | target: "es2022", |
| 10 | // dist also holds styles.css from build:css — don't wipe it. |
| 11 | clean: false, |
| 12 | // Client-only component library: every module is client code. |
| 13 | banner: { js: '"use client";' }, |
| 14 | external: [ |
| 15 | "react", |
| 16 | "react-dom", |
| 17 | "react/jsx-runtime", |
| 18 | "@colineapp/app-runtime", |
| 19 | "@colineapp/sdk", |
| 20 | "@tabler/icons-react", |
| 21 | "class-variance-authority", |
| 22 | "clsx", |
| 23 | "framer-motion", |
| 24 | "radix-ui", |
| 25 | "super-hover", |
| 26 | "tailwind-merge", |
| 27 | ], |
| 28 | }) |
| 29 |