Open chanmathew opened 1 week ago
Yeah, as far as I know that issue you mentioned is the blocker and there's nothing we can do here to make tree shaking work. If you do discover some way in the future please let me know; I would like to take advantage of treeshaking if it becomes possible.
Hi @dimfeld - I was reviewing my app for some potential optimizations and noticed that a lot of the components exported by Svelte Maplibre are importing the entire maplibre-gl lib, is it possible to tree shake them or is that blocked by this issue here? https://github.com/maplibre/maplibre-gl-js/issues/977
Please see below for bundle analysis: