This commit is contained in:
seb
2026-08-08 16:58:48 +02:00
commit 253d0f95ee
27 changed files with 4083 additions and 0 deletions

18
vite.config.js Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { componentDocsPlugin } from './vite-plugin-component-docs.js';
// Library dev server — renders the mock pages under /dev so components can be
// inspected in isolation, and doubles as a Vite config for consumers that want
// to preview this package standalone.
export default defineConfig({
plugins: [react(), componentDocsPlugin()],
server: {
port: 5199,
},
build: {
// This build is only used for the standalone dev/preview harness.
// Consumers (dashfront) import source via the package `exports` map.
outDir: 'dist',
},
});