Skip to content

Commit

Permalink
chore: vendor chunks todo
Browse files Browse the repository at this point in the history
  • Loading branch information
LeslieOA committed Sep 21, 2024
1 parent 1d906fd commit 16065eb
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 @@ -30,6 +30,9 @@ export default defineConfig({
manualChunks: (id) => {
if (id.includes("node_modules")) {
return "vendor";
// TODO - Consider splitting out vendor chunks
// const packageName = id.split("node_modules/")[1].split("/")[0];
// return `vendor_${packageName}`;
}
},
},
Expand Down

0 comments on commit 16065eb

Please sign in to comment.