Skip to content

Commit

Permalink
Remove manual chunks sizes for now
Browse files Browse the repository at this point in the history
Just set the limit higher
  • Loading branch information
twk3 committed Dec 25, 2023
1 parent bf88f52 commit 7ccdd6f
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions packages/desktop-client/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default defineConfig(async ({ mode }) => {
assetsDir: 'static',
manifest: true,
assetsInlineLimit: 0,
chunkSizeWarningLimit: 1500,
rollupOptions: {
output: {
assetFileNames: assetInfo => {
Expand All @@ -123,24 +124,6 @@ export default defineConfig(async ({ mode }) => {
},
chunkFileNames: 'static/js/[name]-[hash].js',
entryFileNames: 'static/js/[name]-[hash].js',
manualChunks: {
react: [
'react',
'react-router-dom',
'react-redux',
'react-spring',
'react-dnd',
'react-dom',
'react-modal',
'react-dnd-html5-backend',
'@react-aria/listbox',
'@reach/listbox',
'downshift',
],
recharts: ['recharts'],
dates: ['date-fns', 'pikaday'],
glamor: ['glamor'],
},
},
},
},
Expand Down

0 comments on commit 7ccdd6f

Please sign in to comment.