mirror of
https://github.com/LukeHagar/polar.git
synced 2025-12-10 04:21:09 +00:00
17 lines
388 B
TypeScript
17 lines
388 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "path";
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
conditions: ["@convex-dev/component-source"],
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["@convex-dev/polar/react"],
|
|
},
|
|
});
|