Files
Coworker/apps/desktop/vite.config.ts

22 lines
476 B
TypeScript
Raw Normal View History

2026-06-19 01:07:16 +02:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
root: fileURLToPath(new URL(".", import.meta.url)),
plugins: [react()],
resolve: {
alias: {
"@coworker/core": fileURLToPath(new URL("../../packages/core/src", import.meta.url))
}
},
build: {
outDir: "dist",
emptyOutDir: true
},
server: {
port: 5173,
strictPort: true
}
});