From a4e5d8f332c2f8914cd22ed5c2381f17ac2a039b Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 3 Sep 2024 19:19:24 +0300 Subject: [PATCH] revert-manual-chunks --- app.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app.config.ts b/app.config.ts index f8a88c67..9d08d8b6 100644 --- a/app.config.ts +++ b/app.config.ts @@ -40,6 +40,16 @@ export default defineConfig({ sourcemap: true }, vite: { + build: { + rollupOptions: { + output: { + manualChunks: { + 'icons': ['./src/components/_shared/Icon/Icon.tsx'], + 'localize': ['./src/context/localize.tsx'] + } + } + } + }, envPrefix: 'PUBLIC_', plugins: [!isVercel && mkcert(), nodePolyfills(polyfillOptions), sassDts()], css: {