revert-manual-chunks
This commit is contained in:
parent
6bfaa3fb51
commit
a4e5d8f332
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user