mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 16:53:36 -05:00
16 lines
356 B
TypeScript
16 lines
356 B
TypeScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vite'
|
|
import preact from '@preact/preset-vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [preact()],
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
ui: resolve(__dirname, 'ui/index.html')
|
|
}
|
|
}
|
|
}
|
|
})
|