Enhance Vite configuration with custom input for rollup, update ConnectScreen to validate IP input before connection, and modify DeviceContext to support dynamic IP handling in LuxsinAPI. Adjust VUPage to use BASE_URL for image previews.

This commit is contained in:
yangy
2026-04-21 15:29:29 +08:00
parent cf970a6a7f
commit 060258ea2d
6 changed files with 38 additions and 7 deletions
+3
View File
@@ -179,6 +179,9 @@ export default defineConfig({
},
},
rollupOptions: {
input: {
i: path.resolve(import.meta.dirname, "client", "i.html"),
},
output: {
manualChunks(id) {
if (!id.includes("node_modules")) return;