import { defineConfig } from 'vite'
import { resolve } from 'path'
import solid from 'vite-plugin-solid'

export default defineConfig({
  build: {
    rollupOptions: {
      input: {
        main: resolve(__dirname, 'index.html'),
        hacked: resolve(__dirname, 'hacked/index.html'),
        review: resolve(__dirname, 'review/index.html')
      }
    }
  },
  plugins: [solid()],
})