Files
shkim4 d56d587fd2 feat(orgchart): integrate chart-only viewport and scoped guard fixes
Add initial fit and direct wheel zoom with preserved default presentation. Integrate five scoped GuardFix findings and AI generation preselection policy. Exclude Cell experiments and retain five historical guard failures.
2026-10-13 18:41:14 +09:00

19 lines
706 B
TypeScript

import path from 'node:path';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
// Chart Only consumer preview: Vanilla and React use the same public Core.
const root = path.resolve(import.meta.dirname);
export default defineConfig({
root,
base: './',
publicDir: path.resolve(root, '../../public'),
plugins: [react(), tailwindcss()],
server: { host: '127.0.0.1', port: 6041 },
build: {
outDir: 'dist', emptyOutDir: true,
rolldownOptions: { input: { vanilla: path.resolve(root, 'vanilla.html'), react: path.resolve(root, 'react.html'), 'react-hm-dialog': path.resolve(root, 'react-hm-dialog.html') } },
},
});