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: {