How We Shaved 22KB Off Our Entry Bundle by Lazy-Loading a Toast Library
vue3-toastify was shipping in the entry chunk of every single page — including those that never show a toast. A dynamic import composable moved it to a separate chunk that loads on first trigger, cutting 22KB from entry.js and 9KB from entry.css.








