mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-02 13:33:06 +00:00
Apply manual splitting to reduce the bundle size
This commit is contained in:
parent
a588c3a8cf
commit
fecc7a55e3
@ -12,6 +12,13 @@ export default defineConfig({
|
||||
build: {
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
echarts: ['echarts'],
|
||||
"dotted-map": ["dotted-map"],
|
||||
"@sentry/react": ["@sentry/react"],
|
||||
}
|
||||
},
|
||||
onwarn(warning, defaultHandler) {
|
||||
if (warning.code === "SOURCEMAP_ERROR") {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user