canvas/packages/admin/vite.config.ts

17 lines
285 B
TypeScript
Raw Normal View History

2024-03-02 18:18:25 -08:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
2024-03-02 18:06:44 -08:00
// https://vitejs.dev/config/
export default defineConfig({
2024-03-02 18:18:25 -08:00
root: "src",
envDir: "..",
build: {
outDir: "../dist",
},
plugins: [
react({
include: "**/*.{jsx,tsx}",
}),
],
});