diff --git a/commafeed-client/vite.config.ts b/commafeed-client/vite.config.ts index 997308ea..a2820b2d 100644 --- a/commafeed-client/vite.config.ts +++ b/commafeed-client/vite.config.ts @@ -47,4 +47,20 @@ export default defineConfig(() => ({ globals: true, setupFiles: "./src/setupTests.ts", }, + build: { + chunkSizeWarningLimit: 4000, + rolldownOptions: { + output: { + codeSplitting: { + groups: [ + // output mantine as its own chunk because it is quite large + { + name: "mantine", + test: "@mantine", + }, + ], + }, + }, + }, + }, }))