diff --git a/app.config.ts b/app.config.ts index 77c79bcc..e34b708b 100644 --- a/app.config.ts +++ b/app.config.ts @@ -35,6 +35,16 @@ export default defineConfig({ }, devOverlay: 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: {