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
I experience that choices is not treeshakble with esbuild, even if i just use a bareminimum of the libary, still everything is still imported. I guess this is because choices uses classes internally, which are compared to bare functions not really good in optimizing unused functions away.
I wanted to ask if some part could be outsourced to functions from the main class.
The text was updated successfully, but these errors were encountered:
The search functionality can be tree-shaken out (this is how choices.search-basic.js/choices.search-prefix.js are built), anything finer grain is very difficult without major rework to support per-feature tree shaking
Uh oh!
There was an error while loading. Please reload this page.
I experience that choices is not treeshakble with esbuild, even if i just use a bareminimum of the libary, still everything is still imported. I guess this is because choices uses classes internally, which are compared to bare functions not really good in optimizing unused functions away.
I wanted to ask if some part could be outsourced to functions from the main class.
The text was updated successfully, but these errors were encountered: