Skip to content

Commit

Permalink
Improve split of built files into chunks
Browse files Browse the repository at this point in the history
All chunks are now less than 500 kB.
  • Loading branch information
pgiraud authored and rjuju committed Jul 13, 2024
1 parent a2f1554 commit e5f49c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ export default defineConfig({
// Split external library from transpiled code.
d3: ["d3"],
lodash: ["lodash"],
vue: ["vue"],
vuetify: ["vuetify"],
vue: ["vue", "vue-router"],
vuetify: ["vuetify", "@mdi/js"],
luxon: ["luxon"],
highlight: ["highlight.js"],
moment: ["moment"],
"sql-formatter": ["sql-formatter"],
},
},
},
Expand Down

0 comments on commit e5f49c1

Please sign in to comment.