From b991d033c19a6f92c270760f38216548b1283a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D1=82=D1=8C=D1=8F=D0=BD=D0=B0=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B5=D0=B2=D0=B0?= Date: Thu, 20 Feb 2025 20:31:59 +0400 Subject: [PATCH] add . --- frontend/vite.config.js | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index ef3427b..1461e86 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -20,14 +20,25 @@ export default defineConfig({ }, }, }, + // build: { + // rollupOptions: { + // output: { + // manualChunks(id) { + // if (id.includes('node_modules')) { + // return 'vendor'; + // } + // return null; + // }, + // }, + // }, + // }, build: { rollupOptions: { output: { - manualChunks(id) { - if (id.includes('node_modules')) { - return 'vendor'; - } - return null; + manualChunks: { + formik: ["formik"], + reactBootstrap: ["react-bootstrap"], + reactBootstrapIcons: ["react-bootstrap-icons"], }, }, },