revert-manual-chunks
This commit is contained in:
parent
6bfaa3fb51
commit
a4e5d8f332
|
@ -40,6 +40,16 @@ export default defineConfig({
|
||||||
sourcemap: true
|
sourcemap: true
|
||||||
},
|
},
|
||||||
vite: {
|
vite: {
|
||||||
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
manualChunks: {
|
||||||
|
'icons': ['./src/components/_shared/Icon/Icon.tsx'],
|
||||||
|
'localize': ['./src/context/localize.tsx']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
envPrefix: 'PUBLIC_',
|
envPrefix: 'PUBLIC_',
|
||||||
plugins: [!isVercel && mkcert(), nodePolyfills(polyfillOptions), sassDts()],
|
plugins: [!isVercel && mkcert(), nodePolyfills(polyfillOptions), sassDts()],
|
||||||
css: {
|
css: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user