mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
output mantine as its own chunk because it is quite large
This commit is contained in:
@@ -47,4 +47,20 @@ export default defineConfig(() => ({
|
|||||||
globals: true,
|
globals: true,
|
||||||
setupFiles: "./src/setupTests.ts",
|
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",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user