You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our final app bundle becomes huge after adding maplibre-gl. Our use case only includes the use of the SearchApi autocomplete feature, nothing around the UI and mapping. However, since maplibre-gl is a dependency, not adding it results in error and blocks javascript execution; even if we are not making use of the mapping.
We are using Webpack, so I created an alias on production build that will replace maplibre-gl with a mock module. But it feels hacky.
Can you make radar-sdk-js tree-shakeable, please?
The text was updated successfully, but these errors were encountered:
Hello all 👋🏼
Our final app bundle becomes huge after adding
maplibre-gl
. Our use case only includes the use of the SearchApi autocomplete feature, nothing around the UI and mapping. However, sincemaplibre-gl
is a dependency, not adding it results in error and blocks javascript execution; even if we are not making use of the mapping.We are using Webpack, so I created an alias on production build that will replace
maplibre-gl
with a mock module. But it feels hacky.Can you make radar-sdk-js tree-shakeable, please?
The text was updated successfully, but these errors were encountered: