Files
Coworker/apps/desktop/vite.config.ts
MrSphay 2ec18964b7
Some checks failed
Codex Template Compliance / compliance (push) Successful in 7s
Release Dry Run / release-dry-run (push) Failing after 44s
Build / build (push) Failing after 45s
Initial Coworker app scaffold
2026-06-19 01:07:16 +02:00

22 lines
476 B
TypeScript

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
}
});