import { defineConfig } from 'vite';

export default defineConfig({
  base: './',
  build: {
    outDir: 'dist',
    assetsDir: 'assets',
    rollupOptions: {
      input: {
        main: 'index.html',
        viewer: 'viewer.html',
      },
    },
  },
  server: {
    host: true,
    port: 3000,
    watch: {
      ignored: ['**/dist/**'],
    },
  },
});
