v2.exhq.dev/vite.config.ts

17 lines
388 B
TypeScript
Raw Permalink Normal View History

2024-06-22 23:41:44 +02:00
import { defineConfig } from 'vite'
2024-07-08 02:58:25 +02:00
import { resolve } from 'path'
2024-06-22 23:41:44 +02:00
import solid from 'vite-plugin-solid'
export default defineConfig({
2024-07-08 02:58:25 +02:00
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
hacked: resolve(__dirname, 'hacked/index.html'),
review: resolve(__dirname, 'review/index.html')
2024-07-08 02:58:25 +02:00
}
}
},
2024-06-22 23:41:44 +02:00
plugins: [solid()],
})