mirror of
https://github.com/revoltchat/revite.git
synced 2025-04-21 15:57:38 -05:00
Move UI into its own page.
This commit is contained in:
parent
58821476e6
commit
8bb6cd456b
15 changed files with 201 additions and 163 deletions
|
@ -1,7 +1,16 @@
|
|||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import preact from '@preact/preset-vite'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [preact()]
|
||||
plugins: [preact()],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
ui: resolve(__dirname, 'ui/index.html')
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue