make a Vite plugin to only bundle used array methods
Opened this issue · 0 comments
oofdere commented
A blocker for adding a bunch of fluent methods like there is in the Rust APIs is that the bundle size increases with each addition. I think a good way of bypassing this could be to make a Vite plugin that'll generate a file with just the used methods, and that way the base file size can also go down since we don't have to include unwrap in all bundles.