Logo
Explore Help
Register Sign In
cameleer/design-system
1
0
Fork 0
You've already forked design-system
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
5cb51e65be64deefb5a56408308e2c6ecb69fb9b
design-system/vite.config.ts

18 lines
379 B
TypeScript
Raw Normal View History

feat: Cameleer3 design system — complete standalone implementation Wires up all 5 routes in App.tsx (/, /metrics, /routes/:id, /exchanges/:id, /agents). Fixes pre-existing build errors: vite.config.ts now uses vitest/config defineConfig so the test property is typed correctly; removes unused imports in Collapsible.tsx and _chart-utils.ts; removes unused parameter in metrics.ts generateTimeSeries. Build: tsc -b && vite build passes clean. Test suite: 72/72 pass. Bundle: 334kB JS (101kB gzip) + 54kB CSS (10kB gzip). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 10:22:23 +01:00
import { defineConfig } from 'vitest/config'
scaffold: Vite + React + TypeScript + Vitest project setup Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 09:03:33 +01:00
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
css: {
modules: {
localsConvention: 'camelCase',
},
},
test: {
globals: true,
environment: 'happy-dom',
setupFiles: ['./src/test-setup.ts'],
css: { modules: { classNameStrategy: 'non-scoped' } },
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 119ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API