slideshare/vite.config.ts
Michael Mainguy 6e6c09b5ba Add comprehensive theme routing and browsing system
- Add React Router with theme browser, theme detail, and layout detail pages
- Implement manifest-based theme discovery for better performance
- Add Welcome component as home page with feature overview
- Fix layout and styling issues with proper CSS centering
- Implement introspective theme browsing (dynamically discover colors/variables)
- Add layout preview system with iframe scaling
- Create comprehensive theme detail page with color palette display
- Fix TypeScript errors and build issues
- Remove hardcoded theme assumptions in favor of dynamic discovery

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 10:17:55 -05:00

18 lines
384 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { themeWatcherPlugin } from './src/plugins/themeWatcher'
// https://vite.dev/config/
export default defineConfig({
plugins: [
react(),
themeWatcherPlugin()
],
server: {
watch: {
// Watch public directory for theme changes
ignored: ['!**/public/themes/**']
}
}
})