Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

750 B
Raw Blame
import { resolve } from 'node:path'
import { mergeConfig } from 'vite'
import webConfig from '../vite.web.config'

// Dev-only component fixture explorer; never part of a production build input.
export default mergeConfig(webConfig, {
  cacheDir: resolve('.cache/vite/fixtures'),
  base: '/',
  server: {
    host: '127.0.0.1',
    warmup: {
      clientFiles: ['./src/component-fixtures/component-fixture-explorer.tsx']
    }
  },
  // Pre-crawl fixtures to prevent lazy dependency re-optimization from loading two React copies.
  optimizeDeps: {
    entries: ['fixtures.html', 'src/**/*.fixture.tsx']
  },
  build: {
    outDir: resolve('.cache/fixtures/build'),
    rollupOptions: {
      input: resolve('src/renderer/fixtures.html')
    }
  }
})