Fix SPA and migrate server to TS

This commit is contained in:
2025-10-02 20:30:54 +03:00
Unverified
parent e2d123058b
commit 6239fde1b0
6 changed files with 67 additions and 26 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ import { createHtmlPlugin } from "vite-plugin-html";
import autoprefixer from "autoprefixer";
import electron from "vite-plugin-electron/simple";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
const plugins: PluginOption[] = [
react(),
@@ -61,7 +60,7 @@ export default defineConfig({
},
allowedHosts: ["beta.fromchat.ru"]
},
appType: "mpa",
appType: "spa",
css: {
postcss: {
plugins: [autoprefixer()]