From 20780f27b14dddff42ed64c1e5508cbad5878afe Mon Sep 17 00:00:00 2001 From: Gabriel Cerdio Date: Wed, 6 Nov 2024 23:40:36 -0600 Subject: [PATCH] V12 --- vite.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 8b0f57b..d15cfcd 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,7 +1,17 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' -// https://vite.dev/config/ export default defineConfig({ plugins: [react()], + build: { + chunkSizeWarningLimit: 1000, + rollupOptions: { + output: { + manualChunks: { + 'three': ['three'], + 'three-stdlib': ['three-stdlib'], + } + } + } + } })