Move UI into its own page.

This commit is contained in:
Paul 2021-06-18 15:35:35 +01:00
parent 58821476e6
commit 8bb6cd456b
15 changed files with 201 additions and 163 deletions

View file

@ -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')
}
}
}
})