madeorsk.com/vite.config.ts

10 lines
213 B
TypeScript

import {defineConfig} from "vite";
import {resolve} from "path";
// https://vitejs.dev/config/
export default defineConfig(() => ({
build: {
outDir: resolve(__dirname, "public"),
emptyOutDir: true,
},
}));