canvas/packages/client/vite.config.js

17 lines
278 B
JavaScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
root: "src",
envDir: "..",
build: {
outDir: "../dist",
emptyOutDir: true,
},
plugins: [
react({
include: "**/*.{jsx,tsx}",
}),
],
});