feat: Major update with validators, skills, dashboard, and docs reorganization
- Add validation framework (config, model, results, study validators)
- Add Claude Code skills (create-study, run-optimization, generate-report,
troubleshoot, analyze-model)
- Add Atomizer Dashboard (React frontend + FastAPI backend)
- Reorganize docs into structured directories (00-09)
- Add neural surrogate modules and training infrastructure
- Add multi-objective optimization support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:23:58 -05:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
|
|
|
|
host: '0.0.0.0', // Bind to all interfaces (IPv4 and IPv6)
|
|
|
|
|
port: 3003,
|
|
|
|
|
strictPort: false, // Allow fallback to next available port
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2025-12-05 12:56:34 -05:00
|
|
|
target: 'http://127.0.0.1:8000', // Use 127.0.0.1 instead of localhost
|
feat: Major update with validators, skills, dashboard, and docs reorganization
- Add validation framework (config, model, results, study validators)
- Add Claude Code skills (create-study, run-optimization, generate-report,
troubleshoot, analyze-model)
- Add Atomizer Dashboard (React frontend + FastAPI backend)
- Reorganize docs into structured directories (00-09)
- Add neural surrogate modules and training infrastructure
- Add multi-objective optimization support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:23:58 -05:00
|
|
|
changeOrigin: true,
|
|
|
|
|
secure: false,
|
|
|
|
|
ws: true,
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-12-04 07:41:54 -05:00
|
|
|
},
|
|
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
// Use the smaller basic Plotly distribution
|
|
|
|
|
'plotly.js/dist/plotly': 'plotly.js-basic-dist'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
build: {
|
|
|
|
|
rollupOptions: {
|
|
|
|
|
output: {
|
|
|
|
|
manualChunks: {
|
|
|
|
|
// Separate Plotly into its own chunk for better caching
|
|
|
|
|
plotly: ['plotly.js-basic-dist', 'react-plotly.js'],
|
|
|
|
|
// Separate React and core libs
|
|
|
|
|
vendor: ['react', 'react-dom', 'react-router-dom'],
|
|
|
|
|
// Recharts in its own chunk
|
|
|
|
|
recharts: ['recharts']
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
chunkSizeWarningLimit: 600
|
|
|
|
|
},
|
|
|
|
|
optimizeDeps: {
|
|
|
|
|
include: ['plotly.js-basic-dist']
|
feat: Major update with validators, skills, dashboard, and docs reorganization
- Add validation framework (config, model, results, study validators)
- Add Claude Code skills (create-study, run-optimization, generate-report,
troubleshoot, analyze-model)
- Add Atomizer Dashboard (React frontend + FastAPI backend)
- Reorganize docs into structured directories (00-09)
- Add neural surrogate modules and training infrastructure
- Add multi-objective optimization support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:23:58 -05:00
|
|
|
}
|
|
|
|
|
})
|