Skip to content

Commit

Permalink
WIP. app. separate recharts into own chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzz committed Jan 5, 2024
1 parent 3fe44ce commit cba22fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ function manualChunks(id: string) { //https://rollupjs.org/configuration-options
if (id.includes("@radix-ui")) {
return "radix-ui";
}
if (id.includes("recharts")) {
return "recharts";
}
// if (id.includes("node_modules")) {
// return "vendor";
// }
Expand Down

0 comments on commit cba22fd

Please sign in to comment.