Choices is not treeshakeble
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 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
maybe u could use a plugin system to keep the base class small. And extend every new feature via a Plugin or an Subclass.