revert-manual-chunks

This commit is contained in:
Untone 2024-09-03 19:19:24 +03:00
parent 6bfaa3fb51
commit a4e5d8f332

View File

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