chore: format

This commit is contained in:
Stavros
2025-11-09 13:16:14 +02:00
parent ffca433a43
commit db0d153610
10 changed files with 728 additions and 810 deletions

View File

@@ -7,28 +7,28 @@ const alias = {};
const { NODE_ENV } = process.env;
if (NODE_ENV === "production") {
// @ts-expect-error
alias["react-dom/server"] = "react-dom/server.node";
// @ts-expect-error
alias["react-dom/server"] = "react-dom/server.node";
}
export default defineConfig({
plugins: [tailwindcss(), reactRouter(), tsconfigPaths()],
resolve: {
alias,
},
build: {
outDir: "dist",
// sourcemap: true,
},
server: {
host: true,
port: 4097,
proxy: {
"/api": {
target: "http://localhost:4096",
changeOrigin: true,
},
},
allowedHosts: true,
},
plugins: [tailwindcss(), reactRouter(), tsconfigPaths()],
resolve: {
alias,
},
build: {
outDir: "dist",
// sourcemap: true,
},
server: {
host: true,
port: 4097,
proxy: {
"/api": {
target: "http://localhost:4096",
changeOrigin: true,
},
},
allowedHosts: true,
},
});