mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
include login page in vite build
This commit is contained in:
parent
7094560819
commit
8310063501
@ -1,5 +1,5 @@
|
||||
/// <reference types="vitest" />
|
||||
import path from "path";
|
||||
import path, { resolve } from "path";
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import monacoEditorPlugin from "vite-plugin-monaco-editor";
|
||||
@ -35,6 +35,14 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, "index.html"),
|
||||
login: resolve(__dirname, "login.html"),
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
monacoEditorPlugin.default({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user