18 lines
385 B
JavaScript
18 lines
385 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
react: ["react", "react-dom", "react-router-dom"],
|
|
supabase: ["@supabase/supabase-js"],
|
|
motion: ["framer-motion"],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|